and so this thread continues, unabated. But this time, I've read the FAQs, this entire thread, and many, many other pages.
I've installed xbmc on my PC running XP with all defaults.
My tv shows are in the format m:\tv\showname\season 01\01 - blah.avi
I have created a file called advancedsettings.xml in c:\Program Files\XBMC\userdata
The contents of that file are:
<advancedsettings>
<tvshowmatching>
<regexp>Season ([0-9]+)[\\/]([0-9]+) - [^\\/]*</regexp>
</tvshowmatching>
</advancedsettings>
I have deleted the MyVideos34 file and restarted xbmc and cleared the Video library and re-run the scan. I've done this so many times over the past week that I'm numb.
I have checked the syntax of the advancedsettings.xml file over 50 times.
I have checked that the file is in the location I specified above. The case is exactly as I have indicated. The contents are a cut and paste.
I have changed the regex to many different varieties, and checked each one using the website
http://www.regexchecker.com. They always work.
And yet....
The xbmc log clearly shows that it is not even trying to use my regex. It appears to be ignoring my advancedsettings.xml file completely.
There are many, many MANY suggestions in this thread on the content of advancedsettings.xml, but almost none confirm where EXACTLY it's supposed to be. It >is< supposed to be in c:\program files\xbmc\userdata, right?
Is there anywhere within xbmc that you can tell it otherwise, or tell it to use/not use advancedsettings? Is there some debug mode that you can set to have it indicate that it is using advancedsettings.xml?
Here, as proof, is a small extract of my log:
11:40:26 T:788 M:441769984 DEBUG: running expression \[[Ss]([0-9]+)\]_\[[Ee]([0-9]+)\]?([^\\/]*)$ on label m:\tv\30 rock\season 01\1 - pilot.avi
11:40:26 T:788 M:441769984 DEBUG: running expression [\\/\._ \[-]([0-9]+)x([0-9]+)([^\\/]*)$ on label m:\tv\30 rock\season 01\1 - pilot.avi
11:40:26 T:788 M:441769984 DEBUG: running expression [Ss]([0-9]+)[\.-]?[Ee]([0-9]+)([^\\/]*)$ on label m:\tv\30 rock\season 01\1 - pilot.avi
11:40:26 T:788 M:441769984 DEBUG: running expression [\._ -]([0-9]+)([0-9][0-9])([\._ -][^\\/]*)$ on label m:\tv\30 rock\season 01\1 - pilot.avi
11:40:26 T:788 M:441769984 DEBUG: could not enumerate file M:\TV\30 Rock\Season 01\1 - Pilot.avi
I have gone, and shall remain,
temporarily insane.