mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
fix mediaplayer script error
This commit is contained in:
parent
f688d34285
commit
74111fe9ac
@ -1595,7 +1595,6 @@
|
||||
|
||||
state.PlayState.PlayMethod = self.streamInfo.playMethod;
|
||||
|
||||
state.PlayState.LiveStreamId = mediaSource.LiveStreamId;
|
||||
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
|
||||
}
|
||||
}
|
||||
@ -1603,6 +1602,7 @@
|
||||
if (mediaSource) {
|
||||
|
||||
state.PlayState.MediaSourceId = mediaSource.Id;
|
||||
state.PlayState.LiveStreamId = mediaSource.LiveStreamId;
|
||||
|
||||
state.NowPlayingItem = {
|
||||
RunTimeTicks: mediaSource.RunTimeTicks
|
||||
|
Loading…
Reference in New Issue
Block a user