Skip to content
This repository
Browse code

Merge pull request #2585 from ulion/avoid_detect_folderjpg_under_add_…

…item

avoid detect folder.jpg under 'add' item.
  • Loading branch information...
commit c1413adf66191451ae791cc9e2b2336bed7ffc0e 2 parents fca4db2 + 01480bb
jmarshallnz authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  xbmc/pictures/PictureThumbLoader.cpp
3  xbmc/pictures/PictureThumbLoader.cpp
@@ -132,7 +132,8 @@ void CPictureThumbLoader::ProcessFoldersAndArchives(CFileItem *pItem)
132 132
       return;
133 133
     }
134 134
   }
135  
-  if ((pItem->m_bIsFolder || pItem->IsCBR() || pItem->IsCBZ()) && !pItem->m_bIsShareOrDrive && !pItem->IsParentFolder())
  135
+  if ((pItem->m_bIsFolder || pItem->IsCBR() || pItem->IsCBZ()) && !pItem->m_bIsShareOrDrive
  136
+      && !pItem->IsParentFolder() && !pItem->GetPath().Equals("add"))
136 137
   {
137 138
     // first check for a folder.jpg
138 139
     CStdString thumb = "folder.jpg";

0 notes on commit c1413ad

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