mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix mediaplayer script error
This commit is contained in:
parent
aed423d042
commit
79aaecc11f
1 changed files with 1 additions and 1 deletions
|
@ -1595,7 +1595,6 @@
|
||||||
|
|
||||||
state.PlayState.PlayMethod = self.streamInfo.playMethod;
|
state.PlayState.PlayMethod = self.streamInfo.playMethod;
|
||||||
|
|
||||||
state.PlayState.LiveStreamId = mediaSource.LiveStreamId;
|
|
||||||
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
|
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1603,6 +1602,7 @@
|
||||||
if (mediaSource) {
|
if (mediaSource) {
|
||||||
|
|
||||||
state.PlayState.MediaSourceId = mediaSource.Id;
|
state.PlayState.MediaSourceId = mediaSource.Id;
|
||||||
|
state.PlayState.LiveStreamId = mediaSource.LiveStreamId;
|
||||||
|
|
||||||
state.NowPlayingItem = {
|
state.NowPlayingItem = {
|
||||||
RunTimeTicks: mediaSource.RunTimeTicks
|
RunTimeTicks: mediaSource.RunTimeTicks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue