1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Check variable

This commit is contained in:
Dmitry Lyzo 2020-10-29 21:45:28 +03:00
parent 7774a4aa00
commit d969fc2cdb

View file

@ -2939,7 +2939,7 @@ class PlaybackManager {
state.NextMediaType = nextMediaType;
if (isServerItem(streamInfo.item)) {
if (streamInfo && isServerItem(streamInfo.item)) {
if (player.supportsProgress === false && state.PlayState && !state.PlayState.PositionTicks) {
state.PlayState.PositionTicks = streamInfo.item.RunTimeTicks;
}