aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorksooo <3226626+ksooo@users.noreply.github.com>2024-07-11 16:09:03 +0200
committerksooo <3226626+ksooo@users.noreply.github.com>2024-07-13 21:50:55 +0200
commit4a7bd2edc82147c39b54321f1adc401292221c5a (patch)
treea5fb005de9053ff266217bb9ae95bd5362550cbc
parent7e5bb325bda3f121709578cf61f6fdfcd665260b (diff)
[video] Do not show video info dialog if item has an empty video info tag.
-rw-r--r--xbmc/video/windows/GUIWindowVideoBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/video/windows/GUIWindowVideoBase.cpp b/xbmc/video/windows/GUIWindowVideoBase.cpp
index a66e869b77..e8ba199e19 100644
--- a/xbmc/video/windows/GUIWindowVideoBase.cpp
+++ b/xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -412,7 +412,7 @@ bool CGUIWindowVideoBase::ShowInfo(const CFileItemPtr& item2, const ScraperPtr&
}
m_database.Close();
}
- else if(item->HasVideoInfoTag())
+ else if (item->HasVideoInfoTag() && !item->GetVideoInfoTag()->IsEmpty())
{
bHasInfo = true;
movieDetails = *item->GetVideoInfoTag();