Skip to content

Commit

Permalink
Merge pull request #3697 from Montellese/getmatchingsource_skin_path
Browse files Browse the repository at this point in the history
allow access to special://skin through the webserver's VFS handler
  • Loading branch information
Montellese committed Nov 25, 2013
2 parents 639aa66 + d7ea186 commit cdc6f5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/Util.cpp
Expand Up @@ -1154,6 +1154,9 @@ int CUtil::GetMatchingSource(const CStdString& strPath1, VECSOURCES& VECSOURCES,
// Check for special protocols
CURL checkURL(strPath);

if (StringUtils::StartsWith(strPath, "special://skin/"))
return 1;

// stack://
if (checkURL.GetProtocol() == "stack")
strPath.erase(0, 8); // remove the stack protocol
Expand Down

0 comments on commit cdc6f5c

Please sign in to comment.