2010-08-14, 20:00
I include my own personal advancedsettings.xml that has worked for me really well so far. Since I have both anime and series, I needed regexps that would work for both:
Code:
<tvshowmatching>
<!-- Match anime episodes that end with a CRC value -->
<!-- The "v" is for episodes like 101v2 -->
<!-- This will match most of anime episodes -->
<regexp>[\._ \-]([0-9]{2,3})[v\._ \-\[\(].*[\[\(][0-9A-F]{8}[\)\]][/\._ \-\[\(]</regexp>
<!-- Match anime episodes that have screen resolution in the filename -->
<!-- This is to avoid bad enumerating season x episode -->
<regexp>[\._ \-]([0-9]{2,3})[v/\._ \-\[\(].*[\[\(].*[0-9]{3,4}x[0-9]{3,4}.*[\)\]][/\._ \-\[]</regexp>
<!-- Old styles anime episodes -->
<regexp>Episode[\._ \-]([0-9]{2,3})[v\._ \-\[\(]</regexp>
<regexp>Ep[\._ \-]*([0-9]{2,3})[v\._ \-\[\(]</regexp>
<regexp>[/\\]([0-9]{2,3})[v\._ \-\[\(]</regexp>
<!-- These are the default regexp for XBMC --->
<regexp>\[[Ss]([0-9]+)\]_\[[Ee]([0-9]+)([^\\/]*)</regexp> <!-- foo_[s01]_[e01] -->
<regexp>[\._ \-]([0-9]+)x([0-9]+)([^\\/]*)</regexp> <!-- foo.1x09 -->
<regexp>[\._ \-][Ss]([0-9]+)[\.\-]?[Ee]([0-9]+)([^\\/]*)</regexp> <!-- foo s01e01, foo.s01.e01, foo.s01-e01 -->
<regexp>[\._ \-]([0-9]+)([0-9][0-9])([\._ \-][^\\/]*)</regexp> <!-- foo.103 -->
<regexp>[\._ \-]p(?:ar)?t[._ -]()([ivxlcdm]+)([\._ \-][^\\/]*)</regexp> <!-- Pt.I, Part XIV -->
<!-- If nothing else is matched, then it's a normal anime episode -->
<regexp>[\._ \-]()([0-9]{2,3})([\&\-][0-9]{2,3})?[v\._ \-\[\(]</regexp>
</tvshowmatching>