diff options
-rw-r--r-- | xbmc/guilib/guiinfo/VideoGUIInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/guilib/guiinfo/VideoGUIInfo.cpp b/xbmc/guilib/guiinfo/VideoGUIInfo.cpp index 29e387fd57..3c2e32a279 100644 --- a/xbmc/guilib/guiinfo/VideoGUIInfo.cpp +++ b/xbmc/guilib/guiinfo/VideoGUIInfo.cpp @@ -533,6 +533,9 @@ bool CVideoGUIInfo::GetLabel(std::string& value, const CFileItem *item, int cont // special casing for "show videos with multiple versions as folders", where the label // should be the video version, not the movie title. + if (!item->HasVideoVersions()) + break; + CGUIWindow* videoNav{ CServiceBroker::GetGUI()->GetWindowManager().GetWindow(WINDOW_VIDEO_NAV)}; if (videoNav && videoNav->GetProperty("VideoVersionsFolderView").asBoolean() && |