fix missing season art if no scraper season art was available - thanks to humpe for...
authorJonathan Marshall <jmarshall@never.you.mind>
Thu, 8 Nov 2012 22:09:05 +0000 (11:09 +1300)
committerJonathan Marshall <jmarshall@never.you.mind>
Thu, 8 Nov 2012 22:09:05 +0000 (11:09 +1300)
xbmc/video/VideoInfoScanner.cpp

index f5d9e89..ee5fe96 100644 (file)
@@ -1675,7 +1675,7 @@ namespace VIDEO
     CFileItemList items;
     CDirectory::GetDirectory(show.m_strPath, items, ".png|.jpg|.tbn", DIR_FLAG_NO_FILE_DIRS | DIR_FLAG_NO_FILE_INFO);
     CRegExp reg;
-    if (items.Size() && reg.RegComp("season-([0-9]+)(-[a-z]+)?\\.(tbn|jpg|png)"))
+    if (items.Size() && reg.RegComp("season([0-9]+)(-[a-z]+)?\\.(tbn|jpg|png)"))
     {
       for (int i = 0; i < items.Size(); i++)
       {