Expressions/Rules requests | Page 26

Discussion in 'My TVSeries' started by Inker, April 12, 2007.

  1. Sparrismanne

    Sparrismanne Portal Member

    Joined:
    February 18, 2008
    Messages:
    47
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    90210

    Hi,

    My files is named as folow 90210.s01e14.720p.hdtv.x264-ctu.mkv



    Anyone have a good sulotion for that??
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Zinu

    Zinu Portal Pro

    Joined:
    February 28, 2008
    Messages:
    650
    Likes Received:
    23
    Ratings:
    +23 / 0
    Home Country:
    Netherlands Netherlands
    it should read that normally?

    Come on, anyone? looks like only people with questions are reading this thread and they don't even try helping people...
     
  4. Sparrismanne

    Sparrismanne Portal Member

    Joined:
    February 18, 2008
    Messages:
    47
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    Nope it don´t. It becomes 9 season 2
     
  5. gusangora

    gusangora Portal Pro

    Joined:
    January 14, 2006
    Messages:
    74
    Likes Received:
    4
    Gender:
    Male
    Location:
    Melbourne, Australia
    Ratings:
    +4 / 0
    Home Country:
    Australia Australia
    Show System Specs
    Replace: 90210 with: Beverly<space>Hills

    Try these string replacements:
    replace: <space>seizoen<space> with: .S0 (ess zero, not ess ooh)
    and replace: <space>Episode<space> with: E
     
  6. Sparrismanne

    Sparrismanne Portal Member

    Joined:
    February 18, 2008
    Messages:
    47
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    I´m renaming them to 90210 - 01.01.mkv now but i want it to work wothout renamning.
     
  7. gusangora

    gusangora Portal Pro

    Joined:
    January 14, 2006
    Messages:
    74
    Likes Received:
    4
    Gender:
    Male
    Location:
    Melbourne, Australia
    Ratings:
    +4 / 0
    Home Country:
    Australia Australia
    Show System Specs
    The "String Replacements" in MP-TV Series Configuration => Import Settings will not rename your files, it will only perform the rename for searching purposes. You can leave all your files in your original naming convention and use the String Replacement I suggested, and they should be parsed correctly (no renaming required).
     
  8. Sparrismanne

    Sparrismanne Portal Member

    Joined:
    February 18, 2008
    Messages:
    47
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    Okej i wil try it when i get home!
     
  9. bash1979

    bash1979 Portal Member

    Joined:
    August 22, 2008
    Messages:
    11
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Canada Canada
    I'm not sure I'm doing this right, but this SEEMS to work for the new naming convention the Daily Show avi files seem to have (i.e. The.Daily.Show.2009.01.19.DSR.XviD-0TV.[VTV].avi):

    (?<series>[^\\\[]*)\\[a-z \.]*[0-9]{4}(\.|-)(?<season>[0-9]{2})(\.|-)(?<episode>[0-9]{2})(\.|-)*\.(?<ext>[^.]*)

    Basically, just tried to take into account the 4 digit year that may occur first in the filename. Other than that, should work similarly to the other regex (i hope!)
     
  10. vasudaprime

    vasudaprime New Member

    Joined:
    January 30, 2009
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Hi all,

    My folder structure is as follows:

    Clannad\Season 01 - Original story\1x01 - To the slope where the sakura petals fall.mkv
    Clannad\Season 01 - Original story\1x02 - The first step.mkv
    ...
    Clannad\Season 02 - After story\2x01 - Farewell to the end of summer.mkv
    Clannad\Season 02 - After story\2x02 - Searching for false love.mkv


    Basically I've split the episodes into separate season folders, and I included the season names in the folder names. I thought regex like this would work:

    ^(<series>)\\(.*?)\\(<season>)x(<episode>) - (<title>)\.(<ext>)$


    but it doesn't seem to. Could someone please tell me where I'm going wrong? Thanks :).

    ----[edit]----

    Okay, it turns out I should've just tried editing one of the Regex statements already there :p . In case anyone else needs this, here's what I used:

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

    I just added: \\(.*?[^\\$]) into one of the default statements.
     
  11. Sphero

    Sphero Portal Pro

    Joined:
    June 4, 2008
    Messages:
    82
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Hi everybody,

    I just installed the new version of MP 1.0.0.0 and I am experiencing some problems with parsing series.

    When I load the default reg ex most of my series are parsed fine like Alias S01E01.avi
    Now I want to add Formula 1 - 2008x06 - Monaco.avi. Standard this is parsed at Formule 1 20 | 08 | 06 | monaco. But it sould be parsed as Formule 1 | 2008 | 06 | monaco.

    If I add the regex (?<series>[\w]+)\s*(?<season>\d{4})x(?<episode>\d{1,2}) and uncheck the other regexes, it parses fine, but all the other series turn red.
    When I add the regex and leave the others checked it is parsed as Formule 1 20 | 08 | 06 | monaco.

    It doesn't matter if I put the (?<series>[\w]+)\s*(?<season>\d{4})x(?<episode>\d{1,2}) as first or last, it seems the default regex is overwriting it.

    Any help?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!