-
Notifications
You must be signed in to change notification settings - Fork 886
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stephan Raue <stephan@openelec.tv>
- Loading branch information
Showing
2 changed files
with
1,904 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
packages/mediacenter/xbmc/patches/12.2.0/xbmc-990.26.01-PR2890.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 86a63c5040e307dcb633a5934ab1b3f9114009f5 Mon Sep 17 00:00:00 2001 | ||
From: arnova <arnova@void.org> | ||
Date: Sun, 23 Jun 2013 23:16:55 +0200 | ||
Subject: [PATCH] changed: Make more obvious we're passing a CFileItem | ||
|
||
--- | ||
xbmc/music/infoscanner/MusicInfoScanner.cpp | 6 ++++-- | ||
1 file changed, 4 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/xbmc/music/infoscanner/MusicInfoScanner.cpp b/xbmc/music/infoscanner/MusicInfoScanner.cpp | ||
index 84a155c..f93d613 100644 | ||
--- a/xbmc/music/infoscanner/MusicInfoScanner.cpp | ||
+++ b/xbmc/music/infoscanner/MusicInfoScanner.cpp | ||
@@ -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); | ||
} | ||
} | ||
|
||
-- | ||
1.8.1.6 | ||
|
Oops, something went wrong.