Regexp and multi-part episodes
#1
Ive edited my advancedsettings to be like this. This works very good for my stucture. I got some help from this forum with it.

<tvshowmatching action="prepend">
<regexp>[\._ \-]?(?Confused|season)[ \.\,\-\_]?([0-9]+)[ \.\,\-\_]?(?:ep|episode)[
\.\,\-\_]?([0-9]{1,3})[ \.\,\-\_]+([^\\\/]*)$</regexp>
<regexp>[\\\/].*s[ \.\,\-\_]?([0-9]+).*[\\\/].*(?:e|ep|part)[ \.\,\-\_]?([0-
9]{1,3})[ \.\,\-\_]+[^\\\/]+$</regexp>
</tvshowmatching>

I "always" use the stucture \TV-show\S1\Lost.S05E01.iNTERNAL.720p.HDTV.x264-CTU\lost.s05e01.internal.720p.hdtv.x264-ctu.mkv

and sometimes \TV-show\S1\lost.s05e01.internal.720p.hdtv.x264-ctu.mkv

I now got the last episode of LOST, and its an double, named like this.
Lost.S05E16E17.720p.HDTV.X264-DIMENSION.mkv

Calling to http://wiki.xbmc.org/?title=TV_Shows_(Video_Library) that naming is OK. Theres no need for S5E16-E17?

What can be wrong? Is my settings TOO much?

This is my xbmc.log for doing the scrape.
http://pastebin.com/f6bcbe0ad

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#2
Get rid of those custom regexps.

If that's your naming scheme, you don't need them.

It can't match multiple episodes, as the "episode" part of the match was 17, instead of 16 (like the default regexps will pick up).

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:Get rid of those custom regexps.

If that's your naming scheme, you don't need them.

It can't match multiple episodes, as the "episode" part of the match was 17, instead of 16 (like the default regexps will pick up).

Cheers,
Jonathan

I now put # infront of my tvshowmatching, and did a search for new content for Lost. Didnt found e16.

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#4
# isn't a valid xml comment char
Reply
#5
spiff Wrote:# isn't a valid xml comment char

Soo, I have to remove the the lines?

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#6
You can surround the sections with <!-- and --> but it might just be easier to rename the file for the moment to see if it makes a difference.
Reply
#7
Maxim Wrote:You can surround the sections with <!-- and --> but it might just be easier to rename the file for the moment to see if it makes a difference.

I removed them, and that worked. but I guess I did the custom regexp for a reason. I think it was cause some filename got no ep1 in the filename, and instead of add to each file, I put them in a S1 folder.

/Söder
Vero 4K with unRAID server and mysql (mariadb)
Reply
#8
Then change the regexp so it only catches those (or don't prepend them).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Regexp and multi-part episodes0