Expressions/Rules requests | Page 83

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

  1. MrGrymReaper
    • Premium Supporter

    MrGrymReaper MP Donator

    Joined:
    July 28, 2009
    Messages:
    25
    Likes Received:
    7
    Ratings:
    +8 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Thanks. It has mostly got the Smallville file recognised structure however I have the full tv show series (Seasons 1 to 10 with all episodes). The file structure is handled by iTunes. The last parts of the recognition by the primary rule just gives number based series recognition (parsing) not series names (let alone season and episode).


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. MrGrymReaper
    • Premium Supporter

    MrGrymReaper MP Donator

    Joined:
    July 28, 2009
    Messages:
    25
    Likes Received:
    7
    Ratings:
    +8 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Last edited: February 24, 2016
  4. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,172
    Likes Received:
    1,301
    Ratings:
    +1,675 / 2
    • Like Like x 1
  5. hawk425

    hawk425 New Member

    Joined:
    December 19, 2016
    Messages:
    9
    Likes Received:
    0
    Ratings:
    +2 / 0
    Home Country:
    United States of America United States of America
    Hi, I am coming from Windows Media Center and was wondering if it was possible to get parsing for that format. I saw someone ask this before, but the post was several years old and I am hoping it is possible now.

    Example of format:
    Family Guy_ABC_2015_12_10_01_00_04.wtv

    Thanks!
     
  6. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,172
    Likes Received:
    1,301
    Ratings:
    +1,675 / 2
    The problem you are having is that TheTVdB is used as a source, and they store the date on say a daily talk show, but usually not for a TV show like "Family Guy" that goes by Season/Episode normally.

    So even if you write a parsing expression that filters out "Show name", and then the "air-date", it might still fail miserably.

    Your best bet would be a 3rd party tool that can act as a translator and obtain the Season/Episode info for a perfect match. Search the threads, there have been discussions on such a tool before.
     
  7. hawk425

    hawk425 New Member

    Joined:
    December 19, 2016
    Messages:
    9
    Likes Received:
    0
    Ratings:
    +2 / 0
    Home Country:
    United States of America United States of America
    Hmm, something must have changed because I am seeing date on the TVDB now. I got this work for anyone interested in this for the future. I used the below regex expression, and also set up a String Replacement of "_" for "-" to make sure the air date was read correctly. Hope this helps someone in the future.

    (?<series>[^_-]*)([-_])([A-Za-z]{1,7})([-_])(?<firstaired>[0-9]{4}[-_][0-9]{2}[-_][0-9]{2})([^.]*).(?<ext>[^.]*)
     
    • Informative Informative x 2
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!