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
aed423d042
commit
79aaecc11f
@ -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