Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refresh the correct video viewed in the video info dialog (fixes #13676)

  • Loading branch information...
commit fafeeb81f650bf3cc750d2e39c9697c80c9cc115 1 parent 744415c
@Montellese Montellese authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 xbmc/video/windows/GUIWindowVideoBase.cpp
View
8 xbmc/video/windows/GUIWindowVideoBase.cpp
@@ -456,6 +456,14 @@ bool CGUIWindowVideoBase::ShowIMDB(CFileItem *item, const ScraperPtr &info2)
needsRefresh = pDlgInfo->NeedRefresh();
if (!needsRefresh)
return pDlgInfo->HasUpdatedThumb();
+ // check if the item in the video info dialog has changed and if so, get the new item
+ else if (pDlgInfo->GetCurrentListItem() != NULL)
+ {
+ item = pDlgInfo->GetCurrentListItem().get();
+
+ if (item->IsVideoDb() && item->HasVideoInfoTag())
+ item->SetPath(item->GetVideoInfoTag()->GetPath());
+ }
}
// quietly return if Internet lookups are disabled
Please sign in to comment.
Something went wrong with that request. Please try again.