Hi,
I'm trying to add a custom regex to help scan tv shows. I have done the following:
1) created
at userdata/advancedsettings.xml
2) Confirmed it loads using the debug log...
3) Verified the regex works via http://derekslager.com/blog/posts/2007/0...ester.ashx . The test filename
is matched by the regex
After all this, the rescan of the folder structure does not pickup the files in this format. Any suggestions? Is there something "special" about the regex syntax of XBMC? What else can I test or try?
cheers,
P
I'm trying to add a custom regex to help scan tv shows. I have done the following:
1) created
Code:
<advancedsettings>
<tvshowmatching append="no">
<regexp>([0-9]+)\.([0-9]+)[^\\/]*</regexp>
</tvshowmatching>
</advancedsettings>
at userdata/advancedsettings.xml
2) Confirmed it loads using the debug log...
Code:
0:16:04 T:5320 M:4294967295 NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
20:16:04 T:5320 M:4294967295 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<tvshowmatching append="no">
<regexp>([0-9]+)\.([0-9]+)[^\\/]*</regexp>
</tvshowmatching>
</advancedsettings>
20:16:04 T:5320 M:4294967295 NOTICE: Getting hardware information now...
3) Verified the regex works via http://derekslager.com/blog/posts/2007/0...ester.ashx . The test filename
Code:
Leverage 1.02 the episode name.mp4
is matched by the regex
After all this, the rescan of the folder structure does not pickup the files in this format. Any suggestions? Is there something "special" about the regex syntax of XBMC? What else can I test or try?
cheers,
P