Skip to content
This repository
Browse code

fixed: Don't check user thumbs for (smart) playlist protocols

  • Loading branch information...
commit 8f829fe174d3183213a98cc43e1a0db3ca6645e3 1 parent 4bf192d
authored December 25, 2012

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  xbmc/FileItem.cpp
4  xbmc/FileItem.cpp
@@ -2622,6 +2622,8 @@ bool CFileItemList::AlwaysCache() const
2622 2622
 CStdString CFileItem::GetUserMusicThumb(bool alwaysCheckRemote /* = false */, bool fallbackToFolder /* = false */) const
2623 2623
 {
2624 2624
   if (m_strPath.IsEmpty()
  2625
+   || m_strPath.Left(19).Equals("newsmartplaylist://")
  2626
+   || m_strPath.Left(14).Equals("newplaylist://")
2625 2627
    || m_bIsShareOrDrive
2626 2628
    || IsInternetStream()
2627 2629
    || URIUtils::IsUPnP(m_strPath)
@@ -2713,6 +2715,8 @@ CStdString CFileItem::FindLocalArt(const std::string &artFile, bool useFolder) c
2713 2715
 {
2714 2716
   // ignore a bunch that are meaningless
2715 2717
   if (m_strPath.empty()
  2718
+   || m_strPath.Left(19).Equals("newsmartplaylist://")
  2719
+   || m_strPath.Left(14).Equals("newplaylist://")
2716 2720
    || m_bIsShareOrDrive
2717 2721
    || IsInternetStream()
2718 2722
    || URIUtils::IsUPnP(m_strPath)

0 notes on commit 8f829fe

Please sign in to comment.
Something went wrong with that request. Please try again.