Expressions/Rules requests (9 Viewers)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Are there certain files/logs that might help in checking what's going wrong?

    Yes, recreate the problem so that the problem is captured in the log files. Simply use the MediaPortal debug link so that all the log files (never know which ends up being relevant) are captured and that the correct log mode is used.

    Be sure thad the issue gets logged, as too many times I see users submitting non-relevant log files.
     

    bhengeveld

    Portal Pro
    December 11, 2009
    142
    46
    Home Country
    Netherlands Netherlands
    Currently I'm setting up a new server, but as soon as that's finished, I'll give it another go RoChess :D
     

    bhengeveld

    Portal Pro
    December 11, 2009
    142
    46
    Home Country
    Netherlands Netherlands
    Had to do a fresh install b/c I messed up the system. All is working fine now though :)
     

    real_per

    Portal Member
    August 26, 2007
    16
    0
    42
    I'm not having any luck with any of the built in parsing expressions. I've tried them all one by one, and none of them picks up any of my shows at all.

    My shows are all named like this: I:\TV\The Simpsons\Season 02\s02e01 - Bart Gets an F.ext

    I've thought the parsing expression <series>\Season <season>\Episode <episode> - <title>.<ext> would work for me so I put that to the top, but nothing gets recognized.

    I thought my shows are labelled quite good, so I'm frustrated that I can't get MP-TVseries to recognize them at all.

    Any ideas on what to do ?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I thought my shows are labelled quite good, so I'm frustrated that I can't get MP-TVseries to recognize them at all.

    The 'scene' name is "Show Title - S01E01 - Episode Title.ext", so by stripping "Show Title" from the filename, you fail the default parsing expression. However you are not the only one using that format, so look at the Expression Exchange thread (you are in the Request one now), and you will find one that perfectly matches what you need.

    No extensive false-positive testing has been done on the naming scheme you are using, so the expression was never included by default.
     

    Chubler

    Portal Member
    July 14, 2009
    46
    25
    Home Country
    Australia Australia
    Hi real_per, yes I think RoChess is referring to my RE in the Exchange Thread (Post #21).

    Glad someone else uses this quite logical naming arrangement. I personally don't like to have the show name repeated in the path and the filename.

    I'm a little sad it isn't included by default as I need to put it back whenever I re-install.
     
    Last edited:

    real_per

    Portal Member
    August 26, 2007
    16
    0
    42
    Hi real_per, yes I think RoChess is referring to my RE in the Exchange Thread (Post #21).

    Glad someone else uses this quite logical naming arrangement. I personally don't like to have the show name repeated in the path and the filename.

    I'm a little sad it isn't included by default as I need to put it back whenever I re-install.

    Thanks for the pointer.
    I used the RE, and after a little renaming, I got all my shows recognized :)

    I guess I thought that my shows were labelled properly, since I've always done it that way.
    Sorry if I posted inthe wrong place. Anyway, my problem is resolved so I'm happy.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    My shows are all named like this: I:\TV\The Simpsons\Season 02\s02e01 - Bart Gets an F.ext
    I've thought the parsing expression <series>\Season <season>\Episode <episode> - <title>.<ext> would work for me so I put that to the top, but nothing gets recognized.

    Nope that wont work as your filename contains the season and it doesn't contain the string 'Episode', this simple expression will probably work based on your file example:
    Code:
    <series>\Season <season>\s<season>e<episode> - <title>.<ext>

    Note: if you're doing this to avoid redundancy in the path/filename you might as well remove the season from the filename as well since its already in the path.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    I need help finding an regexp that fits my needs. Have no clue about rexexp in general.
    Other programs like XBMC, MediaBrowser3 and MP2 don't have issues parsing this scheme. So I'm pretty sure it is possible in TVSeries also. But I simply don't know how.

    My TV shows are named after the following scheme:
    Seriesname (year)\Season 1\S01E01 - episodename.ext
    Real example:
    "d:\Serien\Person of Interest (2011)\Staffel 1\S01E01 - Reese & Finch.mkv"
    Or:
    "d:\Serien\Merlin - Die neuen Abenteuer (2008)\Staffel 1\S01E01 - Ruf des Drachen.mkv"
    or:
    "d:\Serien\Airwolf (1984)\Staffel 1\S01E01 - Pilotfilm Teil 1 - S01E02 - Pilotfilm Teil 2.mkv"

    Without the year in folder name it is more easy to parse but lots of shows are not recognised automatically (e.G. Last Man Standing, Castle, Doctor Who,...) if there is no year in path. And if there is a " - " in episode path or title all is meshed up too...
    Example:
    "y:\Serien\Eisenbahn-Romantik (1991)\Staffel 1\S01E446 - St. Louis - Rails & Ol' Man River.mkv" where "St. Louis - Rails & Ol' Man River" is the episodes title listed in TVDB...

    I want to have a nice looking scheme which can be parsed error free. And it's not nice looking if there are some series with year and others without. And this can't be named automatically. I can add the year or leave it but not only add it to a few series...

    Someone with an idea how to solve this in TVSeries?

    TIA.

    Edit:
    If I remove the year it's working with those two simple expressions on top of the list:
    <series>\Staffel <season>\S<season>E<episode> - <title> - S<season>E<episode2> - <title2>.<ext>
    <series>\Staffel <season>\S<season>E<episode> - <title>.<ext>

    But then I have the issue with series needing year in path (Castle, Doctor Who,...)
    I'm looking for a way to do something like:
    <series> (<year>)\Staffel <season>\S<season>E<episode> - <title>.<ext>
    but that's olny working for series not working with the upper example as (year) is added to series title and TVDB did not match all series who don't need year in title...
     
    Last edited:

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    But then I have the issue with series needing year in path (Castle, Doctor Who,...)

    Your best solution might be to parse your entire collection via SickBeard and have it auto-rename it to what TheTVdB uses, which will guarantee a 100% correct import into MP-TVSeries. The developers even maintain a list of all the troublesome series between 'scene' and TheTVdB, that is used by SickBeard to match the results.

    https://github.com/midgetspy/sb_tvdb_scene_exceptions/blob/gh-pages/exceptions.txt

    PS: Another solution is for you to strip year from the regular expression, but then re-add it via string replacement for the series that did not import. That would be the quickest solution for you right now, and least amount of work. Just be sure to export the list once you are done, and keep it in a safe place if you ever need to do a fresh install.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom