mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 02:18:16 -07:00
Fix undefined now playing item
This commit is contained in:
parent
8fcc4f340c
commit
873d8597a4
@ -628,7 +628,7 @@ function onPlaybackStart(e, state) {
|
||||
console.debug('nowplaying event: ' + e.type);
|
||||
const player = this;
|
||||
|
||||
isAudio = state.NowPlayingItem.Type === 'Audio';
|
||||
isAudio = state.NowPlayingItem?.Type === 'Audio';
|
||||
|
||||
onStateChanged.call(player, e, state);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user