Expressions/Rules requests | Page 19

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

  1. Sinbe

    Sinbe Portal Pro

    Joined:
    December 12, 2007
    Messages:
    70
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    Thanks, works nicely [​IMG]


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Helios61
    • Team MediaPortal

    Helios61 Retired Team Member

    Joined:
    January 30, 2008
    Messages:
    4,587
    Likes Received:
    584
    Gender:
    Male
    Location:
    NRW
    Ratings:
    +897 / 4
    Home Country:
    Germany Germany
    Show System Specs
    Please help! What must i do, to add a dvd-serie?

    Good morning community!

    I have read the wiki and a lot of postings in this thread, but my english is too bad to understand all the complicated things like "regexp" and the expression and formating rules. And i didn't found a guide in the wiki!
    I only want two Things:

    1. I have the TV-show "Dr. House (House M.D.) ripped to HD in this structure:
    e:\Tv Serien\DR. House\Staffel 1\ Disc 1\Video_TS\
    e:\Tv Serien\DR. House\Staffel 1\ Disc 2\Video_TS\
    .
    .
    e:\Tv Serien\DR. House\Staffel 2\ Disc 1\Video_TS\
    e:\Tv Serien\DR. House\Staffel 2\ Disc 2\Video_TS\
    ....

    What must i do, to add this TV-show to MP-TVSeries 2. 0. I allways get an parsing error:

    [​IMG]

    2. I would like the first Stargate Movie to MP-TV Series. This is the structure:

    e:\Tv Serien\StarGate Kommando SG 1\Specials\Stargate SG1 - S0E01 - Stargate The Movie\Video_TS\

    But i get a parsing error too:

    [​IMG]

    Please help

    Regards
    Helios
     
  4. inayat

    inayat New Member

    Joined:
    June 24, 2008
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Hello.

    I am using the following regexp, which was earlier provided in this thread in response to someone else's question.

    (?<series>[\w\s'-]*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*)

    This seems to work great for my file naming scheme:

    Series\Season x\SxEx - Episode Name.ext

    Examples:

    Made Up Show\Season 1\S01E01 - Pilot.avi

    All good . . . 95% of the time. The only thing that doesn't work are double episodes.

    For example:

    Made Up Show\Season 4\S04E21-E22 - The Double Episode

    Or, a show with a double episode with two different names.

    Made Up Show\Season 6\S06E08-E09 - The Start; The End

    I don't know bunk about regexp. Any chance of modifying the expression I am using to work with these double episodes?:confused:

    Expression: (?<series>[\w\s'-]*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*)

    Thanks so much!
     
  5. Freekazoid

    Freekazoid Portal Member

    Joined:
    October 8, 2007
    Messages:
    15
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    Hello all! I've been fiddling with the expressions but I just can't get the hang of it. My file names are formatted as follows:

    star_trek_tng_-_season_2_ep_01_-_the_child.avi

    I have all seven seasons and they are all in a single folder. Any help?
     
  6. trillex

    trillex Portal Member

    Joined:
    July 1, 2008
    Messages:
    24
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Denmark Denmark
    I'm embarrassed to put this here, as what I ask for is rather simple while most other posts ask for very advanced stuff - but it's bothering me that it doesn't seem to work properly.

    I got a file called: Futurama - 1ACV01 - Space Pilot 3000.avi as an example and I'm trying to create an expression for this but seem to fall short. It SHOULD work from what I can see but it still does a parse fail.

    Here is the rule I've setup: <series> - <season>ACV<episode2> - <title>.<ext>

    Thanks!
     
  7. sorling

    sorling Portal Member

    Joined:
    January 27, 2008
    Messages:
    11
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    I have a problem, is there a way to check the dir insteed of the file/files?
    Like i have /seriers/Made.up.serie1/Made.up.serier1.S01E01.DVDRip.XviD-MadeUp and in there i have i file named mus1-madeup.rar or avi then?
    Is there any solution for that?
     
  8. trillex

    trillex Portal Member

    Joined:
    July 1, 2008
    Messages:
    24
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Denmark Denmark
    Can I bump this as it is still a mystery for me.
     
  9. lujo

    lujo Portal Pro

    Joined:
    April 19, 2008
    Messages:
    53
    Likes Received:
    1
    Ratings:
    +1 / 0
    I have problems importing information (also pictures) about series.

    Plugin what has been used is version: 2.0.0.0

    I am trying to import serie in "VIDEO_TS" folder.

    First folder is "The shield s3 d1" (season 3 and dvd 1)
    Second "The shield s3 d2"

    Folder "VIDEO_TS" contains 4 episodes.

    Folder structur is as follows:

    The shield s3 d1\VIDEO_TS
    The shield s3 d2\VIDEO_TS
    The shield s3 d3\VIDEO_TS
    The shield s3 d4\VIDEO_TS

    But when I press start import I get an error:

    Parsing failed for The Shield s3 d1\VIDEO_TS\VTS_35_0.IFO

    Parsing failed for The Shield s3 d1\VIDEO_TS\VTS_36_0.IFO

    I have problems importing information (also pictures) about series.

    Plugin what has been used is version: 2.0.0.0

    I am trying to import serie in "VIDEO_TS" folder.

    First folder is "The shield s3 d1" (season 3 and dvd 1)
    Second "The shield s3 d2"

    Folder "VIDEO_TS" contains 4 episodes.

    Folder structur is as follows:

    The shield s3 d1\VIDEO_TS
    The shield s3 d2\VIDEO_TS
    The shield s3 d3\VIDEO_TS
    The shield s3 d4\VIDEO_TS

    But when I press start import I get an error:

    ...

    ...

    Parsing failed for The Shield s3 d1\VIDEO_TS\VTS_35_0.IFO

    Parsing failed for The Shield s3 d1\VIDEO_TS\VTS_36_0.IFO

    Parsing failed for The Shield s3 d1\VIDEO_TS\VTS_37_0.IFO

    ....

    ....

    Which parsing expression is good for me?

    Many thanks
     
  10. GazpachoKing

    GazpachoKing Portal Pro

    Joined:
    February 8, 2006
    Messages:
    75
    Likes Received:
    28
    Ratings:
    +28 / 0
    Seems like that should work except for one little problem. I think you should be using <episode> instead of <episode2>.
    <episode2> is used to recognize files that contain 2 different episode numbers i.e. S01E01-02 (S<Season>E<episode>-<episode2>)

    So: <series> - <season>ACV<episode> - <title>.<ext> should work. Also make sure you have it marked as a simple expression.
     
  11. ductic

    ductic Portal Member

    Joined:
    June 13, 2008
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Sweden Sweden
    Hi,

    I'm trying to get this to work with all my anime without rename the video files. It parses OK but not perfect as you can see in the attached picture. I don't know why but EpisodeIndex2[\i] contains the full path to the video file in a few places but in other places it's perfect. The file is named in the same format as far as I can tell.

    I use this parser for this example:
    Code (Text):
    1. \[(DB|Lunar)\]_Season_(?<season>[0-9])_(?<series>[^\d]*?)_(?<episode>[0-9]{1,3})(-(?<episode2>[0-9]{1,3}))?[\w\[\]]*.(?<ext>[^\\]*)
    And my String Replacements are:
    Enabled : "YES"
    Run before matching : "YES"
    Replace this.. "_Bleach_" With this "_Season_1_Bleach_"

    The season is recognized as Season 1 for using absolut numbers (although can't get it to work with thetvdb yet)

    I'm no regex expert so if anyone could help me out I would be really grateful.
     

    Attached Files:

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!