aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Kaijser <martijn@xbmc.org>2016-01-05 05:56:06 +0100
committerMartijn Kaijser <martijn@xbmc.org>2016-01-05 05:56:06 +0100
commit0308c3857f4acf6b406fc34d4ad7b8d28032a43d (patch)
tree62b9aca618039592734ee1829923f08d4c2dc7ad
parentdb73fcfa2c9d96be08597ee06392089f98f1fd80 (diff)
parent7b0a52c6f65aeb9d0ac96e8e7d207feb775d086a (diff)
Merge pull request #8717 from DaveTBlake/Jarvis_JSONCache_PlaylistFix
Fix cached folders JSON playlist play item failure
-rw-r--r--xbmc/filesystem/File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/filesystem/File.cpp b/xbmc/filesystem/File.cpp
index 06796065c2..006562b176 100644
--- a/xbmc/filesystem/File.cpp
+++ b/xbmc/filesystem/File.cpp
@@ -226,7 +226,7 @@ bool CFile::Open(const CURL& file, const unsigned int flags)
url2.SetOptions("");
if (url2.IsProtocol("zip"))
url2.SetOptions("");
- if (!g_directoryCache.FileExists(url2.Get(), bPathInCache) )
+ if (!g_directoryCache.FileExists(url2.GetFileName(), bPathInCache) )
{
if (bPathInCache)
return false;