Default expressions/double episodes (2 Viewers)

Vergo

Portal Pro
August 30, 2005
162
59
Brugge
Home Country
Belgium Belgium
Could someone post a list with the default expressions?? I'm interested in the ones that can handle double episodes...

Greetz & Thx :)
 

Sh4nn0w

MP Donator
  • Premium Supporter
  • September 14, 2006
    321
    23
    Home Country
    United Kingdom United Kingdom
    Just look in the configuration interface under Import Settings > Parsing Expressions
     

    Sh4nn0w

    MP Donator
  • Premium Supporter
  • September 14, 2006
    321
    23
    Home Country
    United Kingdom United Kingdom
    Here ya go:

    Code:
    Type: Simple
    <series> - <season>x<episode> - <title>.<ext>
    
    Type: Simple
    \<series>\Season <season>\Episode <episode> - <title>.<ext>
    
    Type: Regexp
    (?<series>[^\\\[]*) - \[(?<season>[0-9]{1,2})x(?<episode>[0-9\W]+)\](( |)(-( |)|))(?<title>[^$]*?)\.(?<ext>[^.]*)
    
    Type: Regexp
    (?<series>[^\\$]*) - season (?<season>[0-9]{1,2}) - (?<title>[^$]*?)\.(?<ext>[^.]*)
    
    Type: Regexp
    ^(?<series>[^\\$]+)\\[^\\$]*?(?:s(?<season>[0-1]?\d)e(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d)|(?:\d\d|(?<!\d)\d)x?(?<episode2>\d{2}(?!\d)))|)[ -.]*(?<title>[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$
    
    Type: Regexp
    ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d)|(?:\d\d|(?<!\d)\d)x?(?<episode2>\d{2}(?!\d)))|)[ -.]*(?<title>[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$
     

    Vergo

    Portal Pro
    August 30, 2005
    162
    59
    Brugge
    Home Country
    Belgium Belgium
    Code:
    Type: Regexp 
    ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d)|(?:\d\d|(?<!\d)\d)x?(?<episode2>\d{2}(?!\d)))|)[ -.]*(?<title>[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$

    This is the one I need apparently.. It just needs a little tweaking, can anyone help?

    Filename example: The.Office.US.S03E10-11.HDTV.XviD.avi
    parsing test does everything correct except for the Episode Title (HDTV XviD)
    So if any can adjust this one for me, i have no knowledge whatsoever about regex..

    Thx in advance!


    Edit/ i don't need episode titles, it should just have HDTV.XVID coded into that regex
    Thx :)
     

    Scoobsheister

    Portal Pro
    June 21, 2006
    60
    0
    how could i change the below regexp to work for possible double eps in the format:

    name - seasonxepisode1&episode2 - title1 & title2

    thanks


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

    basically where should i insert the & in the above piece of code
     

    keith2045

    Portal Pro
    February 16, 2006
    264
    2
    Missouri
    Home Country
    United States of America United States of America
    I cant get mine to work. I tried using both of these

    Type: Regexp (?<series>[^\\\[]*) - \[(?<season>[0-9]{1,2})x(?<episode>[0-9\W]+)\](( |)(-( |)|))(?<title>[^$]*?)\.(?<ext>[^.]*)

    Type: Regexp (?<series>[^\\$]*) - season (?<season>[0-9]{1,2}) - (?<title>[^$]*?)\.(?<ext>[^.]*)

    I have it named 05x01-02. It sees the episode when i do a test, but i scroll over to episode number it's orange (like it doesnt understand it). Any suggestions?
     

    spuck

    Community Skin Designer
    April 6, 2007
    397
    59
    Home Country
    Sweden Sweden
    I use this one:

    ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d)|(?:\d\d|(?<!\d)\d)x?(?<episode2>\d{2}(?!\d)))|)[ -.]*(?<title>[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$

    Works for all my episodes (Only using "Series - 1x01(-02) - title.ext" format)
    I enabled only this default regexp. So uncheck the other ones.
     

    Users who are viewing this thread

    Similar threads

    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
    Replies
    2
    Views
    614
    • Sticky
    intentionally left blank
    intentionally left blank
    Skin Properties MediaPortal 1 This thread is intended for all active/ongoing Skin Designers to find out about the available skin...
    Replies
    31
    Views
    3K
    When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on "Filtering: On startup filter by: Unwatched Movies" in "Moving Pictures Configuration". Don't know how I did that. (n)
    When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on...
    About a 2 months ago I was having problems with filtering for unwatched movies. I couldn't find the filter for it. So I tried...
    Replies
    3
    Views
    745
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    1K
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the plugin has. It might be 32-bit, or it might be "any cpu". The plugin is not listed by the "MP Extensions" tool, so I don't know whether it has been tested with the most-recent MP releases. -- from...
    TV Server plugins are listed on this page, and "EPG Cleaner" can be downloaded from this page. Note: I don't know what bitness the...
    I'm looking for a better recording scheduler. Many recording titles (at least in the UK) change between episodes, sometimes being...
    Replies
    4
    Views
    2K
    Top Bottom