Expressions/Rules requests | Page 78

Discussion in 'My TVSeries' started by Inker, April 12, 2007.

  1. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    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.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. bhengeveld

    bhengeveld Portal Pro

    Joined:
    December 11, 2009
    Messages:
    142
    Likes Received:
    23
    Ratings:
    +24 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Currently I'm setting up a new server, but as soon as that's finished, I'll give it another go RoChess :D
     
  4. bhengeveld

    bhengeveld Portal Pro

    Joined:
    December 11, 2009
    Messages:
    142
    Likes Received:
    23
    Ratings:
    +24 / 0
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Had to do a fresh install b/c I messed up the system. All is working fine now though :)
     
  5. real_per

    real_per Portal Member

    Joined:
    August 26, 2007
    Messages:
    16
    Likes Received:
    0
    Ratings:
    +0 / 0
    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 ?
     
  6. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    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.
     
  7. Chubler

    Chubler Portal Member

    Joined:
    July 14, 2009
    Messages:
    43
    Likes Received:
    12
    Gender:
    Male
    Ratings:
    +13 / 0
    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: July 1, 2014
  8. real_per

    real_per Portal Member

    Joined:
    August 26, 2007
    Messages:
    16
    Likes Received:
    0
    Ratings:
    +0 / 0
    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.
     
  9. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,457
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,385 / 0
    Home Country:
    Australia Australia
    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 (Text):
    1.  
    2. <series>\Season <season>\s<season>e<episode> - <title>.<ext>
    3.  
    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.
     
    • Funny Funny x 1
  10. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,850
    Likes Received:
    2,146
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,618 / 28
    Home Country:
    Germany Germany
    Show System Specs
    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: July 4, 2014
  11. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    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: July 4, 2014
    • Like Like x 1
    • Thank You! Thank You! x 1
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!