Please Help Me to Understand (1 Viewer)

wangtastic

Portal Member
November 24, 2006
17
0
32
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!
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    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!

    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.
     

    wangtastic

    Portal Member
    November 24, 2006
    17
    0
    32
    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>"
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    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>"
    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
     

    wangtastic

    Portal Member
    November 24, 2006
    17
    0
    32
    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
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    Yeah, not sure why the original expression author did not just use (?<season>\d+), that way it works for Season 0 to 9......999
     

    wangtastic

    Portal Member
    November 24, 2006
    17
    0
    32
    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
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,342
    1,824
    Country flag
    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
    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:
    (?<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.
     

    wangtastic

    Portal Member
    November 24, 2006
    17
    0
    32
    Thanks, but for some reason using the above code resulted in all parsing failing again! :(
     

    wangtastic

    Portal Member
    November 24, 2006
    17
    0
    32
    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.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    D Please help with getting Schedules Direct to work Newcomers Forum 10
    S Gpu/hdtv/mp setup help please Newcomers Forum 3
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    S EPG timeshift advice needed please Electronic Program Guide 3
    1 [Pending] Feature Request: TV-Recording - more intelligence - like WMC please Feature Requests 9
    T My trusted TBS 6922 DVB-S2 card won't work in new system....any ideas please!!? General Support 3
    J Help with new grabber file. WebEPG 1
    J IPTV Sweden, need help with m3u list MediaPortal 1 Plugins 14
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    U [solved] Beginner needs help recording live TV General 19
    A IPTV from https m3u8 urls - Help General 6
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    M A little help with new install pls Installation, configuration support 3
    N Music player help Listen Music 4
    A Enigma2 receiver channels on Windows PC with Media Portal help General Support 0
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    milagroso Remote control with EventGhost - I'm stuck, need help General 3
    D Font size reduced. help. Skins and Plugins Installer (MPEI) 0
    W Need help getting my TV guide working again General Support 1
    A I need help with 110 and 119 west Installation, configuration support 21
    A Need help rescaning Channels for 110 and 119 west MediaPortal 1 Talk 2
    C EPG-Buddy: so close to no help needed Electronic Program Guide 8
    mjmapi Help, getting My TVSeries 16
    F Setup Help General 1
    S [solved] Alright, I need help with BD ISO's Newcomers Forum 19
    Top Bottom