2011-02-17, 05:42
I just thought to share my tip to getting 446 out of 451 series to lookup correct, 3 didn't work right (stuff like Hagane no Renkinjutsushi vs Hagane no Renkinjutsushi (2009)), and 2 that didn't lookup and would crash xmbc any time I did lookup it (I have a workaround however).
1. My folder setup is thus...
/Anime
/series 1
/series 2
etc
I am using the Main Title as given by Anidb, so Hagane no Renkinjutsushi vs FullMetal Alchemist and so on. I have almost NO lookup misses, and I can deal with fixing 5 series out of 451.
2. Episodes using Absolute numbering (which is how anime likes it)
I use the Anidb client to rename all files to the default in AOM.
like so...
Hagane no Renkinjutsushi - 02 - Body of the Sanctioned [Keep-ANBU](32446438)[AniDB].avi
and the key part... adding regex to advancedsettings.xml (which goes in your userdata directory (c:\users\userid\appdata\roaming\xmbc\userdata on my Windows 7 box)
<advancedsettings>
<tvshowmatching action="prepend">
<regexp>(?:[\ _-]{2,3})(\d{1,3})</regexp>
</tvshowmatching>
</advancedsettings>
It's actually a really simple regex that so far works flawlessly. Basically I match any combination of a space a _ or a - from 2 to 3 of them(which I don't capture as part of the regex, but is used for matching), followed by between 1 and 3 digits. End result is I will match between 1 and 3 digits as long as they follow the anidb default naming convention.
Note: This doesn't work for specials, but I gather that's an XMBC thing so for specials I rename them to the default XBMC way of S00Exx as specials belong in Season 00
Now I don't have any "normal" TV shows (I mainly want XMBC for Movies & Anime), so I haven't tested it with normal stuff...
I have also experienced the dreaded (and sometimes frequent) XBMC crash on lookup, which I have a workaround that has worked 100% for me, but I've not had the time to test it more then a few times. I'll post after I add the next batch of series and try looking them up.
1. My folder setup is thus...
/Anime
/series 1
/series 2
etc
I am using the Main Title as given by Anidb, so Hagane no Renkinjutsushi vs FullMetal Alchemist and so on. I have almost NO lookup misses, and I can deal with fixing 5 series out of 451.
2. Episodes using Absolute numbering (which is how anime likes it)
I use the Anidb client to rename all files to the default in AOM.
like so...
Hagane no Renkinjutsushi - 02 - Body of the Sanctioned [Keep-ANBU](32446438)[AniDB].avi
and the key part... adding regex to advancedsettings.xml (which goes in your userdata directory (c:\users\userid\appdata\roaming\xmbc\userdata on my Windows 7 box)
<advancedsettings>
<tvshowmatching action="prepend">
<regexp>(?:[\ _-]{2,3})(\d{1,3})</regexp>
</tvshowmatching>
</advancedsettings>
It's actually a really simple regex that so far works flawlessly. Basically I match any combination of a space a _ or a - from 2 to 3 of them(which I don't capture as part of the regex, but is used for matching), followed by between 1 and 3 digits. End result is I will match between 1 and 3 digits as long as they follow the anidb default naming convention.
Note: This doesn't work for specials, but I gather that's an XMBC thing so for specials I rename them to the default XBMC way of S00Exx as specials belong in Season 00
Now I don't have any "normal" TV shows (I mainly want XMBC for Movies & Anime), so I haven't tested it with normal stuff...
I have also experienced the dreaded (and sometimes frequent) XBMC crash on lookup, which I have a workaround that has worked 100% for me, but I've not had the time to test it more then a few times. I'll post after I add the next batch of series and try looking them up.