diff --git a/components/tvshows/TVShowDetails.bs b/components/tvshows/TVShowDetails.bs index 241845905..f7bd9ad3c 100644 --- a/components/tvshows/TVShowDetails.bs +++ b/components/tvshows/TVShowDetails.bs @@ -181,8 +181,10 @@ end function sub onShuffleEpisodeDataLoaded() m.getShuffleEpisodesTask.unobserveField("data") - m.global.queueManager.callFunc("set", m.getShuffleEpisodesTask.data.items) - m.global.queueManager.callFunc("playQueue") + if isValid(m.getShuffleEpisodesTask.data) + m.global.queueManager.callFunc("set", m.getShuffleEpisodesTask.data.items) + m.global.queueManager.callFunc("playQueue") + end if end sub function onKeyEvent(key as string, press as boolean) as boolean