From af35a4310472f71ac76b991c7653cbf06654b936 Mon Sep 17 00:00:00 2001 From: Jonathan Marshall Date: Thu, 10 Jan 2013 16:47:42 +1300 Subject: [PATCH] don't use the parent folder for art if the item is a folder item and has no slash at end --- xbmc/FileItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index 2b69129..99e3d87 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -2789,7 +2789,7 @@ CStdString CFileItem::GetLocalArt(const std::string &artFile, bool useFolder) co useFolder = true; strFile = GetLocalMetadataPath(); } - else if (useFolder) + else if (useFolder && !(m_bIsFolder && !IsFileFolder())) strFile = URIUtils::GetDirectory(strFile); if (strFile.empty()) // empty filepath -> nothing to find -- 2.7.4