mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add missing PlaySessionId
This commit is contained in:
parent
a0ff8fc2a5
commit
b0fe9cc124
2 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,10 @@
|
||||||
stopInfo.LiveStreamId = state.PlayState.LiveStreamId;
|
stopInfo.LiveStreamId = state.PlayState.LiveStreamId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (state.PlayState.PlaySessionId) {
|
||||||
|
stopInfo.PlaySessionId = state.PlayState.PlaySessionId;
|
||||||
|
}
|
||||||
|
|
||||||
ApiClient.reportPlaybackStopped(stopInfo);
|
ApiClient.reportPlaybackStopped(stopInfo);
|
||||||
|
|
||||||
}).on('positionchange.mediacontroller', function (e, state) {
|
}).on('positionchange.mediacontroller', function (e, state) {
|
||||||
|
|
|
@ -1398,6 +1398,7 @@
|
||||||
'Transcode';
|
'Transcode';
|
||||||
|
|
||||||
state.PlayState.LiveStreamId = getParameterByName('LiveStreamId', currentSrc);
|
state.PlayState.LiveStreamId = getParameterByName('LiveStreamId', currentSrc);
|
||||||
|
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue