Permalink
Browse files

[thumbs] don't fallback to using folder.jpg for songs - it'll be done…

… during scan after reading tags if required.
  • Loading branch information...
1 parent 27e3814 commit 840fa977b9fea9869ed9ff19abe6b5b9ca4e9024 Jonathan Marshall committed Jun 8, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −14 xbmc/FileItem.cpp
View
@@ -2551,20 +2551,6 @@ CStdString CFileItem::GetUserMusicThumb(bool alwaysCheckRemote /* = false */) co
}
}
}
- // this adds support for files which inherit a folder.jpg icon which has not been cached yet.
- // this occurs when queueing a top-level folder which has not been traversed yet.
- else if (!IsRemote() || alwaysCheckRemote || g_guiSettings.GetBool("musicfiles.findremotethumbs"))
- {
- CStdString strFolder, strFile;
- URIUtils::Split(m_strPath, strFolder, strFile);
- if (!m_strPath.Equals(strFolder)) // any more parents to inherit from?
- {
- CFileItem folderItem(strFolder, true);
- folderItem.SetMusicThumb(alwaysCheckRemote);
- if (folderItem.HasThumbnail())
- return folderItem.GetThumbnailImage();
- }
- }
// No thumb found
return "";
}

0 comments on commit 840fa97

Please sign in to comment.