fixed: ticket #10524 - URL Encoded RAR paths in logs
authorbobo1on1 <bobo1on1@svn>
Fri, 22 Oct 2010 14:45:53 +0000 (14:45 +0000)
committerbobo1on1 <bobo1on1@svn>
Fri, 22 Oct 2010 14:45:53 +0000 (14:45 +0000)
(cherry picked from commit 8f543fad5d22be2eaa64e02aa0b57735db36cd9b)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma@34943 568bbfeb-2a22-0410-94d2-cc84cf5bfa90

xbmc/VideoInfoScanner.cpp

index 8cf6920..6f0e5a5 100644 (file)
@@ -767,8 +767,11 @@ namespace VIDEO
       }
 
       if (!bMatched)
-        CLog::Log(LOGDEBUG, "VideoInfoScanner: Could not enumerate file %s", items[i]->m_strPath.c_str());
-
+      {
+        CStdString decode(items[i]->m_strPath);
+        CUtil::URLDecode(decode);
+        CLog::Log(LOGDEBUG, "VideoInfoScanner: Could not enumerate file %s", decode.c_str());
+      }
     }
   }