Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ensure we set art on upcoming playlist items. Fixes #13167

  • Loading branch information...
commit cabcd974bf8641b34b7b606d72fab240dcd23d87 1 parent 0792a07
Jonathan Marshall authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 xbmc/GUIInfoManager.cpp
View
5 xbmc/GUIInfoManager.cpp
@@ -3360,8 +3360,9 @@ const CStdString CGUIInfoManager::GetMusicPlaylistInfo(const GUIInfo& info)
// try to set a thumbnail
if (!playlistItem->HasArt("thumb"))
{
- CMusicThumbLoader::FillThumb(*playlistItem);
- // still no thumb? then just the set the default cover TODO: remove me?
+ CMusicThumbLoader loader;
+ loader.LoadItem(playlistItem.get());
+ // still no thumb? then just the set the default cover
if (!playlistItem->HasArt("thumb"))
playlistItem->SetArt("thumb", "DefaultAlbumCover.png");
}
Please sign in to comment.
Something went wrong with that request. Please try again.