Expressions/Rules requests (2 Viewers)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Nope, afraid not... still parsing as 2009 series. Not really sure what to do now.

    When a show is identified incorrectly (usually after wife picks the wrong one when GUI dialog pops up when she's watching one of her shows), you can just use the context menu (F9) to select Force Online match and select the right one.

    You can also do this from the configuration screen by right clicking the show in the overview.
     

    trekkiedj

    Portal Pro
    August 7, 2009
    80
    0
    Cirencester
    Home Country
    United Kingdom United Kingdom
    Thanks RoChess, I couldnt get that option in the latest TV Series, so what i did was to rename the files like this 'V' - S01E01...... and that forced the parsing engine to look for the right series.

    I did learn something though, there is a second season i knew nothing about!!!! i will now have to try and find it!
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Thanks RoChess, I couldnt get that option in the latest TV Series, so what i did was to rename the files like this 'V' - S01E01...... and that forced the parsing engine to look for the right series.

    I did learn something though, there is a second season i knew nothing about!!!! i will now have to try and find it!

    You are welcome.

    And I retried it myself, and indeed it fails to auto-detect mine as well on a new database. It seems TheTvDb.com results differ from the time when I imported mine (which is why I thought it would work for you). And when I manually search for V on their site, I'm indeed given a super large list of every show name that contains a letter 'v', and it completely ignores the fact that there is an actual show called 'V'.

    So the problem on this one lies with the search results given by TheTvDb.com, but it seems your 'trick' of using 'V' instead seems to fool the API search method, because on their site itself it returns empty.
     

    celoF2K

    New Member
    April 11, 2010
    1
    0
    Mew series that has algorism Roman numbering as the episode

    Can anyone help me in parsing?
    Please!!

    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.I.720p.HDTV.X264-DIMENSION
    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.II.PROPER.720p.HDTV.X264-DIMENSION
    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.III.720p.HDTV.x264-IMMERSE
    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.IV.PROPER.720p.HDTV.x264-SYS
     

    Lococo

    Portal Pro
    February 8, 2009
    66
    0
    35
    Vorarlberg
    Home Country
    Austria Austria
    AW: Expressions/Rules requests

    Is der somewhere a Guide how to Parsing? Formula? I just don't understand it ^^
    I have Series like this:
    Friends S7 E1-3
    or
    Simpsons S8 E1-6
    or
    Mein cooler Onkel Charlie S1 E1
    i mean
    Two and a half men S1 E1
    ;)

    god thx that Staffel = Season / Episode = Episode... German and Englisch .. confusing :confused:

    Thx
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Re: AW: Expressions/Rules requests

    Mew series that has algorism Roman numbering as the episode

    Can anyone help me in parsing?
    Please!!

    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.I.720p.HDTV.X264-DIMENSION
    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.II.PROPER.720p.HDTV.X264-DIMENSION
    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.III.720p.HDTV.x264-IMMERSE
    D:\## MEU ARCEVO ##\# SERIADOS #\The Pacific\Season 1\The.Pacific.Pt.IV.PROPER.720p.HDTV.x264-SYS

    The MP-TVSeries relies totally on TheTVdB.com, and if you look at: The Pacific: Season 1 Episode List you can see why your filenames are causing a serious problem to find a match.

    Your only solution is to create 10 string replacement 'before' entries that turns "Pt.I" into "S01E01", "Pt.II" into "S01E02", etc. Or simply rename your shows into "The Pacific - S01E01 - Part One.mkv", etc.


    Is der somewhere a Guide how to Parsing? Formula? I just don't understand it ^^
    I have Series like this:
    Friends S7 E1-3
    or
    Simpsons S8 E1-6
    or
    Mein cooler Onkel Charlie S1 E1
    i mean
    Two and a half men S1 E1
    ;)

    god thx that Staffel = Season / Episode = Episode... German and Englisch .. confusing :confused:

    Thx

    As far as I know only 2-part filenaming schemes are supported directly. But I believe there is an existing Google Code issue on this problem and it is being worked on. You can use string replacements to convert any language problem that is not already covered by the multi-language additions that TheTVdB.com is working on, use the FAQ for help on this otherwise. In short if you can manually search for it on TheTVdB.com with the filename you have to find a match, then so can MP-TVSeries (except then automatic).

    Found Google Code issue @ Google Issue #254
     

    bigmong

    Portal Member
    October 5, 2009
    19
    6
    Home Country
    Australia Australia
    I've been playing with the Regexp and Simple Expressions for the last day or two, and read lots on the fourms but im still lost.
    here is my setup:
    W:\Star Trek - Deep Space Nine\Season 07\Star Trek. Deep Space Nine - S07E08 - The Siege of AR-558.avi
    U:\90210\Season 01\90210 - S01E03 - Lucky Strike.avi
    V:\Top Gear\Season 00 - Specials\Top Gear - s00e102 - Revved Up.avi

    The inc exp work on most but fails on the above with a few more, On the DS9 on it go s5e58, the 90210 if buggered but i know about that prob, and on Top Gear it cant read XXX ep numbers
    what I would like todo is
    *\*\%series% - s%season%e%episode%{-%episode2%} - %title%.%ext%

    But i cant figger out how todo it in Regexp, i dont realy need the title as it only there for in windows.
    Any help or push in the right direction would be awesome,
    Thanks

    Regards,
    - Matt
     

    adelphia

    Portal Pro
    March 29, 2010
    54
    2
    Hayling Island, Hampshire, UK
    Home Country
    United Kingdom United Kingdom
    I've been playing with the Regexp and Simple Expressions for the last day or two, and read lots on the fourms but im still lost.
    here is my setup:
    W:\Star Trek - Deep Space Nine\Season 07\Star Trek. Deep Space Nine - S07E08 - The Siege of AR-558.avi
    U:\90210\Season 01\90210 - S01E03 - Lucky Strike.avi
    V:\Top Gear\Season 00 - Specials\Top Gear - s00e102 - Revved Up.avi

    The inc exp work on most but fails on the above with a few more, On the DS9 on it go s5e58, the 90210 if buggered but i know about that prob, and on Top Gear it cant read XXX ep numbers
    what I would like todo is
    *\*\%series% - s%season%e%episode%{-%episode2%} - %title%.%ext%

    But i cant figger out how todo it in Regexp, i dont realy need the title as it only there for in windows.
    Any help or push in the right direction would be awesome,
    Thanks

    Regards,
    - Matt

    Try using this site - helped me out in the past... RegExr: Online Regular Expression Testing Tool
     

    superman859

    Portal Member
    June 20, 2009
    14
    0
    Hello guys. I cannot seem to get the regexp setting to work, although I can get the simple mode to work. Simple usually works, but there are a couple of folders I cannot write using simple.

    If I use a specific folder (Season 3 folder, for example) containing just the files, it starts matching at the beginning of the filename, correct?

    The following simple rule works...

    <series>_-_<episode>.<ext>

    but regexp does not work, even if I use the backslash for the period. It fails to match on all categories (series, episode, etc) - it doesn't even match incorrectly! Just no results.

    I'm pretty familiar with regex, but not within this plugin. I just cannot seem to get them to work.

    Or, for a simple example, if I have the file

    bsg - 02.mkv

    then the regexp

    <series>\.mkv$

    Shouldn't this at least take the entire filename up to the extension and place this in the series column? Of course, it wouldn't be correct and still needs episode numbers, but it should at least show up in that column to provide feedback. However, when I do that, it is entirely blank. Only filename has values.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I'm pretty familiar with regex, but not within this plugin. I just cannot seem to get them to work.

    <series>\.mkv$

    Shouldn't this at least take the entire filename up to the extension and place this in the series column? Of course, it wouldn't be correct and still needs episode numbers, but it should at least show up in that column to provide feedback. However, when I do that, it is entirely blank. Only filename has values.

    If you are used to RegExp, then you know that the syntax for a named captured group is:

    (?<Name>)

    Of course you also have to define what to capture, so:

    (?<Name>*)

    would be the most basic you can get away with, but [^\.] would have been a cleaner notation, of course you already knew that :cool:

    I highly recommend the Expresso Regular Expression Tool to verify, but also create Regular Expressions (it has a very nice 'Design Mode', that includes explanation). I use it for MP-TVSeries, but also MovingPictures scrapers. Just be sure to configure it correctly in regards to the global RegExp parsing settings.
     

    Users who are viewing this thread

    Top Bottom