mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Merge branch 'dev' of https://github.com/MediaBrowser/MediaBrowser into dev
This commit is contained in:
commit
3137aa3ed4
@ -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) {
|
||||
|
@ -1398,6 +1398,7 @@
|
||||
'Transcode';
|
||||
|
||||
state.PlayState.LiveStreamId = getParameterByName('LiveStreamId', currentSrc);
|
||||
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -455,7 +455,10 @@
|
||||
self.isLoggedIntoConnect = function () {
|
||||
|
||||
// Make sure it returns true or false
|
||||
return (self.connectToken() && self.connectUserId()) == true;
|
||||
if (!self.connectToken() || !self.connectUserId()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
self.logout = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user