Please Help Me to Understand

Discussion in 'My TVSeries' started by wangtastic, September 24, 2011.

  1. wangtastic

    wangtastic Portal Member

    Joined:
    November 24, 2006
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Hi there,
    I've got this plugin installed but I just cannot get my head around how to work it!
    I've tried reading the FAQ but it just confused me even more.

    This is my set-up.
    My TV programs are stored as such: E:\TV\Showname\Season XX\SXXEXX - Episode Title.avi
    Nearly all of them on import turn red with parsing errors, and the one's that aren't are nearly all wrong! :(
    Take an episode of robot chicken for example it's stored as:
    "E:\TV\Robot Chicken\Season 02\S02E06 - 1987.avi" and MPTV reports it as

    Parsed Series Name: S02E06
    Season ID: 19
    Episode: 87

    I can see what it's done but I don't know how to fix it?!
    I'm new at all this and any/all help would be greatly appreciated!


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,172
    Likes Received:
    1,301
    Ratings:
    +1,675 / 2

    You have an extremly non-standard filename scheme, so one of the expressions is giving you false positives. You need to either re-arrange the order of the existing expressions and move one that would work on your scheme to the top, or disable all the existing ones and create a new one.
     
  4. wangtastic

    wangtastic Portal Member

    Joined:
    November 24, 2006
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Is it?
    oh! haha I thought it was pretty standard?!

    So I can create a new expression in MPTV series that meets my naming method? :)

    something like this?
    "<series>\Season <season>\S<season>E<episode> - <title>.<ext>"
     
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,172
    Likes Received:
    1,301
    Ratings:
    +1,675 / 2
    Yup, but if you look in the expression exchange thread, I'm pretty sure I modified the default expression for somebody before that had an alike scheme as yours. At least then you have double episode support, which doesn't work in the simple expressions.

    PS: this one should work for you: https://forum.team-mediaportal.com/700319-post21.html
     
  6. wangtastic

    wangtastic Portal Member

    Joined:
    November 24, 2006
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Thanks RoChess, I tried this and it works for everything bar seasons 10 of my shows.

    EG "Bleach\Season 10\S10E01 -title.ext"

    any ideas what I can change?
    I did try searching the forum for the relevant parsing expression but I didn't get very far :(

    again thanks a lot :)
    I'll be sure to post up in the stickie when this is working :D

    EDIT sorted it

    I changed (?<season>[0-2]?[1-9]) to (?<season>[0-2]?[0-9])

    :) I'll post in the sticky in abit
     
  7. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,172
    Likes Received:
    1,301
    Ratings:
    +1,675 / 2
    Yeah, not sure why the original expression author did not just use (?<season>\d+), that way it works for Season 0 to 9......999
     
  8. wangtastic

    wangtastic Portal Member

    Joined:
    November 24, 2006
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    oh cool :) I shall amend then
    i'm still having trouble with episode names that are numbers.

    ie.

    "...\Simpsons\Season 22\S22E20 500 Keys"

    in the shell in MP it lists it above the other episodes right at the top with a zero like:

    0 - 500 Keys
    Episode 1 - blah blah
    Episode 2 - blah blah blah
     
  9. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,172
    Likes Received:
    1,301
    Ratings:
    +1,675 / 2
    It is because you allowed a space to be a possible seperator between first episode and 2nd episode, so '500' is seen as 2nd episode.

    Use:

    Code (Text):
    1. (?<series>[^\\$]+)(?:(?:\\(?:Season|Staffel|S[eé]ries?)?[ .-]?[0-2]?[0-9])?\\s?(?<season>[0-2]?[1-9])|\\(?:(?:Season|Staffel|S[eé]ries?)[ .-])?(?<season>[0-2]?[1-9])\\[^\\]*?)[ex]?(?<episode>\d+)(?:[.+-]e?(?<episode2>\d+))?(?:[ -]+(?<title>(?![^\\]*?sample)[^$]*?))?\.(?<ext>[^.]*)$
    And you will be fine, I also corrected your \d\d+ usage, as \d+ is enough.
     
  10. wangtastic

    wangtastic Portal Member

    Joined:
    November 24, 2006
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    Thanks, but for some reason using the above code resulted in all parsing failing again! :(
     
  11. wangtastic

    wangtastic Portal Member

    Joined:
    November 24, 2006
    Messages:
    17
    Likes Received:
    0
    Ratings:
    +0 / 0
    EDIT

    ok so I went back to using my expression and delted the episodes that were registering as 0 then re-added them this time manually linking them to each episode.
    NOTE if two of the same episode appear on the middle of linking list the select only the first one. :)

    Cheers for all your 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!