Expressions/Rules requests (2 Viewers)

marvenius

Portal Pro
September 3, 2008
523
47
Belgium
Home Country
Netherlands Netherlands
An example:
Pinky.And.The.Brain.S03E49-51.DVDRip.XviD
Double eps should work fine with:
Pinky.And.The.Brain.S03E49E51.Title49.Title51.DVDRip.XviD
But combining episode 49 and 50 would be more likely. :p
TVSeries can handle double episodes, but not more then that.
Hope this helps.
 

wars

Portal Member
July 16, 2009
6
0
Home Country
Belgium Belgium
An example:
Pinky.And.The.Brain.S03E49-51.DVDRip.XviD
Double eps should work fine with:
Pinky.And.The.Brain.S03E49E51.Title49.Title51.DVDRip.XviD
But combining episode 49 and 50 would be more likely. :p
TVSeries can handle double episodes, but not more then that.
Hope this helps.

Hmmzz

so it's not possible to list the 3 episodes in TVSeries?
 

venares

Portal Member
November 7, 2007
23
3
Home Country
United Kingdom United Kingdom
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>[^.]*)$
 

stadros83

Portal Pro
February 16, 2009
92
0
Paris
Home Country
France France
I want to make a "simple" expression because I have some errors !

My datas are like that :

My Series 1\Saison 1\ms1.S01E01.avi
My Series 1\Saison 1\ms1.S01E02.avi
etc.etc.

The only expression that is working is the first one but the name of the series is "ms1" and not My Series 1 ... why ???

For example :

Black Lagoon\Saison 1\BL.S01E01.avi

MP-TV always took "BL" and NOT "Black Lagoon".

I tried this expression : <series>\*\*.S<season>E<episode>.<ext>

I can't understand how this thing is working :mad: !!
 

price123

MP Donator
  • Premium Supporter
  • May 19, 2007
    123
    2
    46
    Home Country
    Germany Germany
    Hello

    can i set <season> variables without parsing?
    example:
    "d:\anime\aeon flux\01 - blablub.avi" (japanese animation series have no seasons)
    my actuall simple exp. is:
    "<series>\<episode> - <title>.<ext>"

    maybe like so?: "<series>\<episode> - <title>.<ext> set<season>=1"

    thank marc
     

    milnet01

    New Member
    August 15, 2009
    1
    0
    Home Country
    South Africa South Africa
    Hi guys

    Here's a tricky one. I would like a parsing string for a two part episode that looks as follows:

    Heroes 101 Pilot (1 & 2).avi

    Now I am thinking it can be done with regex but have no clue how to right the code. I would assume you would have to list the series, season and episode number which currently works beautifully. Read the title as part of the episode but ignore it (as it will get the title from the online DB anyway) and use what it inside of the brackets to figure out if it is a two part episode. Can that be done?

    Thanks guys.
     

    grimripper

    New Member
    August 16, 2009
    1
    0
    Home Country
    Poland Poland
    Hi,

    I've red the whole thread and I still can figure out how to pars my files correctly.

    All of my files are in such structure:

    Show_Name\Season_#\Show.Name.Season.#.Episode.#.Episode.Title.ext

    for eg. :

    3rd_Rock_From_The_Sun\Season_1\3rd.Rock.From.The.Sun.Season.1.Episode.08.Body.&.Soul.&.Dick.avi

    could any of you code wizards could help me with that?

    Any help will be appreciated.
     

    Kucheek

    Portal Member
    December 18, 2008
    22
    8
    Prague
    Home Country
    Czech Republic Czech Republic
    Hi, I used to burn series (and I still do) on optical discs in the way that the series name went into the volume label (joliet) and in the root folder there were episodes in this structure: <season>x<episode> <title>.<ext>

    Is it possible to use a volume label of an optical disc (joliet) to get a series name from it? If I do a local parsing test, I see that it gets filled into VolumeLabel column, so I suppose theoretically it could be done as the plugin does read the value.
     

    Users who are viewing this thread

    Top Bottom