Skip to content
This repository
Browse code

Merge pull request #1987 from arnova/no_thumbs_for_playlists

fixed: Don't check user thumbs for (smart) playlist protocols
  • Loading branch information...
commit 89a81ea7944d8a7724e87f8e1850ccbf5a506800 2 parents 150611f + 8f829fe
davilla 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
@@ -2633,6 +2633,8 @@ bool CFileItemList::AlwaysCache() const
2633 2633
 CStdString CFileItem::GetUserMusicThumb(bool alwaysCheckRemote /* = false */, bool fallbackToFolder /* = false */) const
2634 2634
 {
2635 2635
   if (m_strPath.IsEmpty()
  2636
+   || m_strPath.Left(19).Equals("newsmartplaylist://")
  2637
+   || m_strPath.Left(14).Equals("newplaylist://")
2636 2638
    || m_bIsShareOrDrive
2637 2639
    || IsInternetStream()
2638 2640
    || URIUtils::IsUPnP(m_strPath)
@@ -2724,6 +2726,8 @@ CStdString CFileItem::FindLocalArt(const std::string &artFile, bool useFolder) c
2724 2726
 {
2725 2727
   // ignore a bunch that are meaningless
2726 2728
   if (m_strPath.empty()
  2729
+   || m_strPath.Left(19).Equals("newsmartplaylist://")
  2730
+   || m_strPath.Left(14).Equals("newplaylist://")
2727 2731
    || m_bIsShareOrDrive
2728 2732
    || IsInternetStream()
2729 2733
    || URIUtils::IsUPnP(m_strPath)

0 notes on commit 89a81ea

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