projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
f962e40
6ae893d
)
Merge pull request #938 from taxigps/rar_sub
author
taxigps
<taxigps@sina.com>
Sun, 6 May 2012 12:09:32 +0000
(
05:09
-0700)
committer
taxigps
<taxigps@sina.com>
Sun, 6 May 2012 12:09:32 +0000
(
05:09
-0700)
fixed support for subtitles in rar and zip file
1
2
xbmc/Util.cpp
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
xbmc/Util.cpp
index
3f016f0
,
5566991
..
8303d7e
---
1
/
xbmc/Util.cpp
---
2
/
xbmc/Util.cpp
+++ b/
xbmc/Util.cpp
@@@
-2394,7
-2386,17
+2395,16
@@@
void CUtil::ScanForExternalSubtitles(co
}
}
}
+ else
+ {
+ // is this a rar or zip-file
+ if (URIUtils::IsRAR(strItem) || URIUtils::IsZIP(strItem))
+ {
+ // check strMovieFileNameNoExt in zip-file
+ ScanArchiveForSubtitles( items[j]->GetPath(), strMovieFileNameNoExt, vecSubtitles );
+ }
+ }
}
- g_directoryCache.ClearDirectory(strLookInPaths[step]);
}
}