2012-04-02, 00:48
(2012-03-08, 13:04)xexe Wrote:j3tang Wrote:I've taken this bit from version 2.4
Code:<regexp>(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-f]{8}[])}]</regexp>
for my anime and have found that it does a great job, except for one thing, which is the reason for my posting. It is not able to pick up multi-part episodes. Is there something that can be added to the above regex that will pick up episodes like the below?
[Taka]_Naruto_Shippuuden_197-198_[480p][85ACEA2B].avi
Any help is much appreciated
I would need a much bigger sample set to work on this. Grep out the failed to enumerate lines and pastebin them then PM me.
I'm still very new to this and so I'm not quite sure what to paste over to pastebin from the xbmc.log.
I found, for example, the line where it detects one of these problem files (and the log does not have any "failed to enumerate" lines:
Quote:18:25:38 T:2956587008 DEBUG: VideoInfoScanner: Found episode match /volumes/airport/videos/anime/naruto shippuuden/[taka]_naruto_shippuuden_154-155_[480p][ee0d2138].mp4 (s1e155) [(?i)()(?:[\. _-]|ep)(\d{1,3})[\. _-v].*[[({][\da-f]{8}[])}]]
and what happens is that it picks up the back end of the two part file. The file in the example is seen within XBMC as episode 155, without anything about 154.
Is this what you mean by larger sample size?
The files that are not working are all the same format:
[Taka]_Naruto_Shippuuden_135-136_[480p][9073B8C2]
[Taka]_Naruto_Shippuuden_152-153_[480p][89E717B0]
[Taka]_Naruto_Shippuuden_154-155_[480p][EE0D2138]
[Taka]_Naruto_Shippuuden_197-198_[480p][85ACEA2B]
[Taka]_Naruto_Shippuuden_221-222_[480p][25C1E805]
[Taka]_Naruto_Shippuuden_248-249_[480p][14CD5F0F]
Files properly being detected are formatted this way:
[Taka]_Naruto_Shippuuden_131_[480p][62262B68]