changed: Make more obvious we're passing a CFileItem
authorarnova <arnova@void.org>
Sun, 23 Jun 2013 21:16:55 +0000 (23:16 +0200)
committerarnova <arnova@void.org>
Tue, 25 Jun 2013 17:45:52 +0000 (19:45 +0200)
xbmc/music/infoscanner/MusicInfoScanner.cpp

index 84a155c..f93d613 100644 (file)
@@ -1009,8 +1009,10 @@ void CMusicInfoScanner::FindArtForAlbums(VECALBUMS &albums, const CStdString &pa
     }
   }
   if (albums.size() == 1 && !albumArt.empty())
-  { // assign to folder thumb as well
-    CMusicThumbLoader::SetCachedImage(path, "thumb", albumArt);
+  {
+    // assign to folder thumb as well
+    CFileItem albumItem(path, true);
+    CMusicThumbLoader::SetCachedImage(albumItem, "thumb", albumArt);
   }
 }