diff options
author | Karlson2k <k2k@narod.ru> | 2014-02-28 12:23:23 +0400 |
---|---|---|
committer | Karlson2k <k2k@narod.ru> | 2014-02-28 12:23:23 +0400 |
commit | b5a78794bc748c88802049f0c6db6bd7391a2b08 (patch) | |
tree | 603837ef5eb3b4d714e7c57e85a64fa1e9b2b524 | |
parent | 69e513935a6fd738590e52f8b56424220ac281ee (diff) |
URIUtils::IsRemote: fix endless loop with stacked special path
-rw-r--r-- | xbmc/utils/URIUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/utils/URIUtils.cpp b/xbmc/utils/URIUtils.cpp index 31743f159f..ea4ff97371 100644 --- a/xbmc/utils/URIUtils.cpp +++ b/xbmc/utils/URIUtils.cpp @@ -480,12 +480,12 @@ bool URIUtils::IsRemote(const CStdString& strFile) if (IsCDDA(strFile) || IsISO9660(strFile)) return false; + if (IsStack(strFile)) + return IsRemote(CStackDirectory::GetFirstStackedFile(strFile)); + if (IsSpecial(strFile)) return IsRemote(CSpecialProtocol::TranslatePath(strFile)); - if(IsStack(strFile)) - return IsRemote(CStackDirectory::GetFirstStackedFile(strFile)); - if(IsMultiPath(strFile)) { // virtual paths need to be checked separately vector<CStdString> paths; |