2012-08-15, 23:02
Hey All,
So I've left my XBMC set up for awhile. I have a custom regexp:
Season[\._ ][0]*([0-9]+)[\\/][ep[0]*([0-9]+)[^\\/]*
Which looks for:
Show\Season 01\[ep01] - Name Of Episode.avi
My only issue is multipart episodes. These are named in two conventions:
[ep01-02] - Episode 01 Name + Episode 02 Name
or
[ep01a] - Ep Name (p1)
[ep01b] - Ep Name (p2)
I had a look here:
http://wiki.xbmc.org/index.php?title=Add...s/TV_shows
and is says:
Quote:Note that when using a custom RegExp to match a custom file naming convention, add (.*) to the end of the RegExp so that the 3rd RegExp capture is found for the second episode.
So I have added .* to the end of my "Season[\._ ][0]*([0-9]+)[\\/][ep[0]*([0-9]+)[^\\/]*" leaving me with:
Quote: Season[\._ ][0]*([0-9]+)[\\/][ep[0]*([0-9]+)[^\\/]*.*
This still works for the single episode files however nothing changes on the multipart episodes.
I must confess I did bring this up about a year ago (almost to the day =S): http://forum.xbmc.org/showthread.php?tid=107867.
Sorry about that but it's been a year and I still haven't got round to making sense of it.
Perhaps if someone could break down the RegExp as I just made an educated guess at what it should be and it worked (well for the single episode files).
Do I need to change the naming format for my mulitpart episodes, as currently I'm assuming I can get away with leaving them as "[ep01-02] The Begriming + The Second Comming.avi".
Thanks in advance,
Knotty.