diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index 4d7d77a45e..52d69b31c6 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -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); }