Skip to content

Commit

Permalink
Merge pull request #7914 from mkortstiege/container-set-artwork
Browse files Browse the repository at this point in the history
[video] add missing container.art for movie sets
  • Loading branch information
mkortstiege committed Sep 1, 2015
2 parents 70ba829 + 491d2c8 commit 6519f4a
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 6519f4a

Please sign in to comment.