XBMC scans zips and rars for subtitles
~Coxy
Junior Member Posts: 6 Joined: Jul 2012 Reputation: 0 |
2012-08-04 07:32
Post: #1
Is it possibly to turn off this behaviour? It makes starting to play any video in my dump folder exceedingly slow, as it downloads every archive therein and scans them for subs.
|
| find quote |
~Coxy
Junior Member Posts: 6 Joined: Jul 2012 Reputation: 0 |
2012-08-06 05:07
Post: #2
I found the problem in the source:
Util.cpp, line ~2361 Code: CDirectory::GetDirectory(strLookInPaths[step], items,".utf|.utf8|.utf-8|.sub|.srt|.smi|.rt|.txt|.ssa|.text|.ssa|.aqt|.jss|.ass|.idx|.ifo|.rar|.zip",false);Would be nice for this setting to be configurable like it is for video formats! Rather than a hardcoded string as it stands today. Now to try to build a fixed version
(This post was last modified: 2012-08-06 05:08 by ~Coxy.)
|
| find quote |
~Coxy
Junior Member Posts: 6 Joined: Jul 2012 Reputation: 0 |
2012-08-06 06:57
Post: #3
Hex-editing the exe turned out to be a lot easier and more maintainable then building XBMC from source.
"HxD" is a good free Win32 hex editor. Just find the string ".utf|.utf8|.utf-8|.sub|.srt|.smi|.rt|.txt|.ssa|.text|.ssa|.aqt|.jss|.ass|.idx|.ifo|.rar|.zip" in XBMC.exe. Instead of deleting the rar and zip from the end I changed the string so the length of the binary would not be affected. So it was .ifo|.rar|.zip I changed it to .ifo|.rrr|.zzz |
| find quote |

Search
Help