(2012-09-07 04:50)mightybalthazar Wrote: Another Anime tip and a question of my own....
I have found that by adding the simple regexp "<regexp>[/\._ \-]()([0-9]+)(-[0-9]+)?</regexp>" from the wiki for absolute numbering of single season TV shows that my anime scrapes correctly 99% of the time. However, where this fix ultimately fails is with episodes that count into the triple digits.
For example, the following file will be found as expected (I use AniDB.net to scrape):
Even version files are found with not hiccups:
|-----[EC]Durarara - 01v3(1280x720 h264)[9FA1A46E].mkv
However, when episodes surpass 99, the scraper assumes the first digit is the season; thus, "[Taka]_Naruto_Shippuuden_135_[480p][9073B8C2].ogm" returns as "1x35. Naruto Shippuuden"
Is there anyway to get to the XBMC defaults so that I can disable foo.101.* as naming convention? I never name any of my episodes this way (really, does anyone?), and I think it would easily solve my issue, and work for other anime watchers as well.
Thanks in advance for any help with this matter!
(2012-09-08 21:58)mightybalthazar Wrote:
(2012-09-07 09:09)Haudrauf Wrote: Hi,
have you tried to rename the triple-digit-episodes like
Will the episode be scraped correctly?
Yes, that does work, but it is not desirable. I like to keep my episode naming conventions consistent, and since absolute numbering is the standard for anime, that's what I'd like to stick with.
I'd rather not have:
Nor do I want to rename 99 episode to mach the "S1E01" formatting. Ideally, there would be a way to remove "foo.101.*" formatting from the defaults. That way all my TV shows can follow S1E01 and my Anime can follow absolute numbering and I will not have to go through the laborious task of renaming all my files.
Huzzah! I think I have this working.
What I did was copy the default XBMC settings, removed the f00.101 line and added the single season matching line. Omitting any append/prepend actions, this overwrites the defaults and looks to be working fairly well on both my TV (S01E01) and anime (1, 2, 3, etc).
I found one hiccup with anime named using "EP" as an episode prefix, but this isn't common among sub groups, so I am just going to rename.
This does not pick up multiple-part episodes (S01E12-13, S06E06E07, or 135-136). It will only grab the first episode in the set (using TVDB, AniDB), but I am not sure this is a settings problem as much as a database problem. It's not that big a deal to me, so I probably won't look into it any further.
<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>[\._ \-]p(?:ar)?t[._ -]()([ivxlcdm]+)([\._ \-][^\\/]*)</regexp> <!-- Pt.I, Part XIV -->
<regexp>[/\._ \-]()([0-9]+)(-[0-9]+)?</regexp> <!-- Single Season Matching -->
Hope this is of some help to others. I will run it through some more tests, but it looks to be working like I hoped.