Expressions/Rules requests (1 Viewer)

rowie4life

Portal Member
August 16, 2009
7
0
England
Home Country
United Kingdom United Kingdom
Anyone know how to add wrestling? I got my folders/files set up like this:

TNA\2009\01. January\mm.dd.yy Impact.avi

Thanx.
 

phoz

New Member
August 21, 2009
1
0
Can someone help me with below?

Thank you!

South Park \ Season 02 \ 201 - Terrance & Phillip in Not Without My Anus.avi
South Park \ Season 02 \ 202 - Cartman's Mom is Still a Dirty Slut.avi
 

clobber

Portal Pro
January 12, 2008
190
4
Using the default rules, The.Daily.Show.S14E99.avi works fine.

How do I get The.Daily.Show.S14E100.avi to parse? It currently breaks out to the show name of "The.Daily.Show S14E" with season 1 and episode 00. I assume this is because of the three digit episode number.

When you run the parsing test from within MP configuration, how do you tell which rule was matched?

thanks

The default parsers cant deal with anything greater than 99 (ie. its breaks once it hits 3 digits) as you have already realised.
My solution to the problem was this:
Code:
^(?<series>SERIESNAME)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d\d(?!\d))|E(?<episode2>\d\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$

Change "SERIESNAME" in the above expression to the name of the series you need to parse.
Also make sure the parse string is at the top of your list otherwise it will be overridden by the default one.
If theres more than one you can add more my adding | after each show like this.

The Daily Show|Random other show|another random show

Anyway, the code below should fix the problem for you.

Code:
^(?<series>The Daily Show)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d\d(?!\d))|E(?<episode2>\d\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$


Venares,

I could not get this parsing expression to work, even at the top of the list. Does not match file name like:

The.Daily.Show.S14E114.avi

I did modify "The Daily Show" to "The.Daily.Show" but not sure if "." is a special character in the regex?
 

lujo

Portal Pro
April 19, 2008
53
1
Can someone help me with:

\\HOMESERVER\Movies\Series\NAME\NAME Season 1\NAME Season 1 Disc 1\VIDEO_TS
\\HOMESERVER\Movies\Series\NAME\NAME Season 1\NAME Season 1 Disc 2\VIDEO_TS

In folder VIDEO_TS:

VIDEO_TS.IFO
VTS_01_0.IFO
VTS_02_0.IFO
VTS_03_0.IFO

some .BUP and .VOB files.


I assume that
VTS_01_0 = episode 1
VTS_02_0 = episode 2
VTS_03_0 = episode 3
 

Kilack

Portal Member
August 10, 2009
31
0
help! :)

Hi guys,

I have moved from xbmc and had my tv episodes all nicely sorted out along with my movies.
Found this neat plugin but it isn't recognising some of my episodes...

any chance someone can help me with these.. (wish there was a way to copy the filenames out from the this plugin that it can't parse (feature request :)

The War At Home\Season 1\S01E01 - Pilot.avi
Star Trek\Season 1\episode 9\startrek_s01e9.avi
Bangkok Hilton\Season 1\Bangkok.Hilton.s01e6.DVDRIP.XVID.avi

i thought the sxxexx was a kind of universal format?

cheers
 

Kilack

Portal Member
August 10, 2009
31
0
4 digit seasons

I have some tv series that use 4 digit seasons
This plugin doesn't seem to like that.
thetdb.com also stores them as 4 digit season codes..
series like bbc documentaries etc use the year as the season.
or the natural world series etc also uses the year as the season..

for example
natural world\season 2009\episode name - s2009e06.avi

Can someone please add support for this or fire me an expression that will take care of these, cheers
 

Clownboat

New Member
August 29, 2009
3
0
Home Country
United States of America United States of America
Hey guys,

I'm trying to get my anime to parse. I have S:\Anime as my import path and I use the following naming convention:

S:\Anime\<series>\<series> - <episode> - <title>.<ext>
For example: S:\Anime\Black Lagoon\Black Lagoon - 02 - Mangrove Heaven.mkv

I'm wondering: Is there any way to force the season number to "1" for files in the Anime folder? Anime doesn't really use season numbers and I'd rather not rename all my files.

I'm willing to change the "Anime" directory to "Anime1" if that's the only way to get the 1 parsed as the season number. Either way, a regex for something like this would be appreciated. :)
 

RivaSA

Portal Member
June 24, 2009
35
3
Home Country
South Africa South Africa
4 digit Codes

I have some tv series that use 4 digit seasons
This plugin doesn't seem to like that.
thetdb.com also stores them as 4 digit season codes..
series like bbc documentaries etc use the year as the season.
or the natural world series etc also uses the year as the season..

for example
natural world\season 2009\episode name - s2009e06.avi

Can someone please add support for this or fire me an expression that will take care of these, cheers

Hi any news on this, I have read most of the posts on this and tried a few but nothing seems to work for me?

I am ideally looking for
\\<series name>\<series name> s1234e12 - someinfo.avi
or
\\<series name>\<series name> s1234e12.avi

This is for Formula 1 which is currentley listed as
\\F1\F1 s2008e01 - Austarlian Grand Prix.flv

All others series are listed in the same fasion but only 2 series digits

Thanks
 

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Hi any news on this, I have read most of the posts on this and tried a few but nothing seems to work for me?

    I am ideally looking for
    \\<series name>\<series name> s1234e12 - someinfo.avi
    or
    \\<series name>\<series name> s1234e12.avi

    This is for Formula 1 which is currentley listed as
    \\F1\F1 s2008e01 - Austarlian Grand Prix.flv

    All others series are listed in the same fasion but only 2 series digits

    Try creating a Simple expression:
    Code:
    <series> s<season>e<episode> - <title>.<ext>
     

    Users who are viewing this thread

    Top Bottom