Skip to content

Commit

Permalink
[video] fix missing container.art for movie sets
Browse files Browse the repository at this point in the history
  • Loading branch information
mkortstiege committed Aug 28, 2015
1 parent bfd7bd4 commit 491d2c8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions xbmc/video/windows/GUIWindowVideoNav.cpp
Expand Up @@ -421,7 +421,20 @@ bool CGUIWindowVideoNav::GetDirectory(const std::string &strDirectory, CFileItem
}
else if (node == NODE_TYPE_TITLE_MOVIES ||
node == NODE_TYPE_RECENTLY_ADDED_MOVIES)
{
if (params.GetSetId() > 0)
{
CGUIListItem::ArtMap setArt;
if (m_database.GetArtForItem(params.GetSetId(), MediaTypeVideoCollection, setArt))
{
items.AppendArt(setArt, MediaTypeVideoCollection);
items.SetArtFallback("fanart", "set.fanart");
if (items.HasArt("set.poster"))
items.SetArtFallback("thumb", "set.poster");
}
}
items.SetContent("movies");
}
else if (node == NODE_TYPE_TITLE_TVSHOWS)
items.SetContent("tvshows");
else if (node == NODE_TYPE_TITLE_MUSICVIDEOS ||
Expand Down

0 comments on commit 491d2c8

Please sign in to comment.