Skip to content
This repository
Browse code

ensure optical media files check for older-style art (folder.jpg|movi…

…e.tbn). fixes #13553
  • Loading branch information...
commit 584f079444a28bc097f24527cb129558723efe20 1 parent 731419a
authored November 18, 2012

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

  1. 2  xbmc/video/VideoThumbLoader.cpp
2  xbmc/video/VideoThumbLoader.cpp
@@ -382,7 +382,7 @@ std::string CVideoThumbLoader::GetLocalArt(const CFileItem &item, const std::str
382 382
   if (art.empty() && (type.empty() || type == "thumb"))
383 383
   { // backward compatibility
384 384
     art = item.FindLocalArt("", false);
385  
-    if (art.empty() && (checkFolder || (item.m_bIsFolder && !item.IsFileFolder())))
  385
+    if (art.empty() && (checkFolder || (item.m_bIsFolder && !item.IsFileFolder()) || item.IsOpticalMediaFile()))
386 386
     { // try movie.tbn
387 387
       art = item.FindLocalArt("movie.tbn", true);
388 388
       if (art.empty()) // try folder.jpg

0 notes on commit 584f079

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