mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Check variable
This commit is contained in:
parent
7774a4aa00
commit
d969fc2cdb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue