Can't Import Special with high ep number (2 Viewers)

PureLoneWolf

Portal Pro
September 16, 2006
61
3
Home Country
Germany Germany
Hi all

I have around 9000 episodes being managed by MyTVSeries 2.3.3538 on MP 1.1.0.0

I have many series, with many special episodes and today decided to add some Top Gear Specials - Filenames below

Top Gear.s00e107.Top.Gear.Of.The.Pops.Comic.Relief.Special.2007.avi
Top Gear.s00e108.the_challenges.avi
Top Gear.s00e109.Polar.Special.avi
Top Gear.s00e114.the_challenges.avi
Top.Gear.s00e221.Richard Hammond Top Gear Uncovered 2009.avi

However, nothing I do will get these to scan into the system. I should add that it successfully added 7 episodes from various shows today, but it absolutely refuses to put these episodes into the system. It doesn't even add them incorrectly within the config panel. It's almost like they doesn't exist.

I am assuming that it is something to do with the 3 digit episode numbers, and I should point out that I only have the standard parsing expressions that are there by default.

If someone could help, it would be much appreciated.

Cheers

:D
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    As per: https://forum.team-mediaportal.com/my-tvseries-162/expressions-rules-exchange-21977/

    campnic made the following rule for "Series - S##E### - Title.Ext"

    Code:
    ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\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)[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$

    And tzuriel made the following rule for "letterman.13104.ep2517.avi"

    Code:
    ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-3]?\d)\s?ep?(?<episode>\d\d\d)|(?<season>(?:[0-3]\d|(?<!\d)\d\d))x?(?<episode>\d\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>[^.]*)$

    Put them in the regular expression setup and refresh the import list to see if the red failures become a match.

    Enjoy
     

    PureLoneWolf

    Portal Pro
    September 16, 2006
    61
    3
    Home Country
    Germany Germany
    I tried the first one - Added it as a regular expression and scanned - No joy

    I then renamed one of the files to
    Top Gear - S00E221 - Richard Hammond Top Gear Uncovered 2009.avi

    Still no joy

    not sure what I can do
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    My wife is currently using HTPC so I can't verify, but try:

    Simple = <series> s<season>e<episode> <title>.<ext>

    I forgot the . becomes (space) rule is done before the regular expressions
     

    JonJon

    Portal Member
    April 30, 2007
    25
    9
    Home Country
    Try this regex
    Code:
    (?<series>[^\\$]+)[ .-]*s(?<season>\d{1,})e(?<episode>\d{1,})[ -.](?<title>(\w|[ -.])*)\.(?<ext>[^.]*)
    It will not match file names with multiple episodes in them, but then none of your examples had any so figured not important in this case.
     

    PureLoneWolf

    Portal Pro
    September 16, 2006
    61
    3
    Home Country
    Germany Germany
    Thanks for that, this one didn't have any effect either :(

    Am I right to assume that it will run each file against every expression to see if it finds a match?

    Cheers
     

    JonJon

    Portal Member
    April 30, 2007
    25
    9
    Home Country
    It will match against each expression until it finds a match, so the order they appear does matter. This you might do:
    • Make sure the expression is set to regex and not simple
    • turn all expressions off bar the one

    If all else fails you can always try a manual scan as there are only 7 files you need to add.
     

    PureLoneWolf

    Portal Pro
    September 16, 2006
    61
    3
    Home Country
    Germany Germany
    Thanks to everyone for their help. I had to do a manual import in the end...none of the expressions would work on their own either.

    Ah well, they are there and I will remember to manually import any others from now on :)

    Cheers
     

    Users who are viewing this thread

    Top Bottom