1
0
Fork 0
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:
Luke Pulverenti 2015-04-01 17:55:50 -04:00
parent a0ff8fc2a5
commit b0fe9cc124
2 changed files with 5 additions and 0 deletions

View file

@ -63,6 +63,10 @@
stopInfo.LiveStreamId = state.PlayState.LiveStreamId;
}
if (state.PlayState.PlaySessionId) {
stopInfo.PlaySessionId = state.PlayState.PlaySessionId;
}
ApiClient.reportPlaybackStopped(stopInfo);
}).on('positionchange.mediacontroller', function (e, state) {

View file

@ -1398,6 +1398,7 @@
'Transcode';
state.PlayState.LiveStreamId = getParameterByName('LiveStreamId', currentSrc);
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
}
}