diff --git a/components/tvshows/TVListDetails.brs b/components/tvshows/TVListDetails.brs index a3d64638..3b29b3bf 100644 --- a/components/tvshows/TVListDetails.brs +++ b/components/tvshows/TVListDetails.brs @@ -96,7 +96,7 @@ sub itemContentChanged() m.videoCodec.visible = false if isValid(itemData.MediaSources) for i = 0 to itemData.MediaSources.Count() - 1 - if item.selectedVideoStreamId = itemData.MediaSources[i].id + if item.selectedVideoStreamId = itemData.MediaSources[i].id and isValid(itemData.MediaSources[i].MediaStreams[0]) m.videoCodec.text = tr("Video") + ": " + itemData.MediaSources[i].MediaStreams[0].DisplayTitle SetupAudioDisplay(itemData.MediaSources[i].MediaStreams, item.selectedAudioStreamIndex) exit for