mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 11:58:20 -07:00
Check variable
This commit is contained in:
parent
7774a4aa00
commit
d969fc2cdb
@ -2939,7 +2939,7 @@ class PlaybackManager {
|
|||||||
|
|
||||||
state.NextMediaType = nextMediaType;
|
state.NextMediaType = nextMediaType;
|
||||||
|
|
||||||
if (isServerItem(streamInfo.item)) {
|
if (streamInfo && isServerItem(streamInfo.item)) {
|
||||||
if (player.supportsProgress === false && state.PlayState && !state.PlayState.PositionTicks) {
|
if (player.supportsProgress === false && state.PlayState && !state.PlayState.PositionTicks) {
|
||||||
state.PlayState.PositionTicks = streamInfo.item.RunTimeTicks;
|
state.PlayState.PositionTicks = streamInfo.item.RunTimeTicks;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user