diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-01-05 05:56:06 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2016-01-05 05:56:06 +0100 |
commit | 0308c3857f4acf6b406fc34d4ad7b8d28032a43d (patch) | |
tree | 62b9aca618039592734ee1829923f08d4c2dc7ad | |
parent | db73fcfa2c9d96be08597ee06392089f98f1fd80 (diff) | |
parent | 7b0a52c6f65aeb9d0ac96e8e7d207feb775d086a (diff) |
Merge pull request #8717 from DaveTBlake/Jarvis_JSONCache_PlaylistFix
Fix cached folders JSON playlist play item failure
-rw-r--r-- | xbmc/filesystem/File.cpp | 2 |
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; |