Expressions/Rules requests (13 Viewers)

Knives03

Portal Pro
March 6, 2009
103
2
First off I want to thank you for the suggestion!

Okay so I tried Avidemux and everything was going smoothly at first, but then I started running into keyframe issues. Like you stated in your other post, it is foolish to split a file on a non keyframe frame. As a matter of fact, Avidemux does not allow you to do so, which means I couldn't even cut it on a non-keyframe frame if I wanted to. My issue however is that there is very little time before segments in these episodes, sometimes maybe a second or two if that. This leaves very little room for keyframes to fall in a spot where I wouldn't be cutting off anything.

I know this is not a limitation of Avidemux, but the actual file itself. I don't see an easy way around this, but then again I am nowhere near an expert obviously. As OCD as I am when it comes to anything media related, that would not work for me as it would bother me too much :(

Unless I am doing something wrong, which is always possible, it looks like the only way I can get this to work in a semi-effective way would be to use those soft or hard links like you suggested in your other post. If you had any idea of what I would have to do to split those files in a way that would not require cutting off a few seconds of a segment just to get a keyframe, then I would love to know! I do appreciate your help as always and I hope to find a solution!

Edit: After reading around a bit, I saw some people suggest to do the editing before encoding. That might be something I have to look into.
 

polargeek

Portal Member
July 8, 2006
35
1
Home Country
Canada Canada
Hello,
I'm looking for a regular expression that would match files named for example \Babylon 5\Season 01\Babylon 5 - S01E001 - In The Beginning.avi to the absolute episode order - have tried some of the posted expressions in other threads but for some reason it keeps matching to season 5. Any help would be appreciated.
 

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    I think the problem is with the triple digit episode numbers. Default parsing regex I believe has this defined as {1,2}. Try increasing that. As for episode ordering, untick "Automatically choose aired order when multiple...." something something option, and it should ask you the first time you import the series (may have to delete first).

    This is an import setting only, you can still view your series in different ordering (if you like).
     

    martin26e

    New Member
    January 10, 2011
    4
    0
    Home Country
    United Kingdom United Kingdom
    hi all

    can any one help i have tv shows on my tv pc but parsing failed when i try to import the folder but the other shows i have on a net worked pc is fine

    the way i have it set up is
    hdd c:\tv\bones\season 1\bones s01e01.avi

    any help would be great
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    hi all

    can any one help i have tv shows on my tv pc but parsing failed when i try to import the folder but the other shows i have on a net worked pc is fine

    the way i have it set up is
    hdd c:\tv\bones\season 1\bones s01e01.avi

    any help would be great

    That one parse fine with the default filename parsing expression that is normally configured first. So it looks as if you have other problems going on, or you adjusted your configuration. Either way that is not clear from your description. This is why debug enabled log files are needed if you want to resolve this issue, so it can be verified what exactly is going on in your setup. If I add the exact same file to my setup it imports fine, so it is something unique about yours, so only log files will help.
     

    martin26e

    New Member
    January 10, 2011
    4
    0
    Home Country
    United Kingdom United Kingdom
    i found the problem not all the files are name like bones.s01e01 sum just have s01e01 and others 1x01 so im renameing them so the name of the show then s01e01 it seams to pick them up fine now thanks for the input
     

    RobbieDS

    New Member
    June 27, 2011
    1
    0
    40
    Hello, I'm an Italian boy. sorry for my English school.
    I can not create an expression to my folders SerieTV.

    File example:
    F:\- Serie TV -\24\Stagione 01 [DVDrip]\01x01. 12.00 pm - 01.00 am.avi
    F:\- Serie TV -\4400, The\Stagione 04 [DVDmux]\04x01. Un nuovo messia.avi
    F:\- Serie TV -\Hard Times - Tempi Duri Per RJ Burger\Stagione 01 [DVDmux]\01x01. Pilot.avi

    all series have the same structure. Help me pleas. TNX

    other problem for season like:
    F:\- Serie TV -\Malcolm\Stagione 01 [DVDmux]\01x01. Pilot - 02. episode.avi
    F:\- Serie TV -\Earl\Stagione 02 [DVDmux]\02x13-14. episode.avi
    F:\- Serie TV -\Monk\Stagione 03 [DVDmux]\03x03. sig. monk vs. sig. monk.avi

    tnx
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I can not create an expression to my folders SerieTV.

    File example:
    F:\- Serie TV -\24\Stagione 01 [DVDrip]\01x01. 12.00 pm - 01.00 am.avi

    The following should work:

    ^(?:.*\\)?(?<series>[^\\]+)\\Stagione[^\\]+\\(?:?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$


    Enjoy.
     

    tzd99

    New Member
    June 14, 2011
    3
    0
    Home Country
    Sweden Sweden
    Hi everyone,

    I'm fairly new to this with regexp and have been looking through this forum for a quick solution to my problem. I've found a few similar solutions but I'm not able to get it up and running. Here's my problem:

    I'm trying to get TV-series to parse the following (and similar releases by MVGROUP) episode name:

    BBC.Afghanistan.1of3.War.without.End.HDTV.x264.AC3.MVGroup.Forum

    AFAIK, i should add the 2 lines below to parsing expressions:

    (?<!(?\d+.?E\\d+\-E\d+.*|S\d+.?E\d+.*|\s\d+x\d+\s.*))(\d{1,2})?of\d{1,2}
    (?<!(?\d+.?E\\d+\-E\d+.*|S\d+.?E\d+.*|\s\d+x\d+.*))P[ar]*t\s?(\d+)(?of\d{1,2})?

    and nothing in "String Replacement".

    However, it just won't work. Can someone please help me?
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Hi everyone,

    I'm fairly new to this with regexp and have been looking through this forum for a quick solution to my problem. I've found a few similar solutions but I'm not able to get it up and running. Here's my problem:

    I'm trying to get TV-series to parse the following (and similar releases by MVGROUP) episode name:

    BBC.Afghanistan.1of3.War.without.End.HDTV.x264.AC3.MVGroup.Forum

    AFAIK, i should add the 2 lines below to parsing expressions:

    (?<!(?\d+.?E\\d+\-E\d+.*|S\d+.?E\d+.*|\s\d+x\d+\s.*))(\d{1,2})?of\d{1,2}
    (?<!(?\d+.?E\\d+\-E\d+.*|S\d+.?E\d+.*|\s\d+x\d+.*))P[ar]*t\s?(\d+)(?of\d{1,2})?

    and nothing in "String Replacement".

    However, it just won't work. Can someone please help me?

    MP-TVSeries has to match the show up with the TheTVdB entries. So let's go through the steps:

    1. Locate show at thetvdb.com, so by searching on the term 'Afghanistan', we get the following results:

    1. Afghanistan: Drugs, Guns and Money
    2. Air Force Afghanistan
    3. Norge i krig - oppdrag Afghanistan
    4. Our War - 10 Years in Afghanistan
    5. Rethink Afghanistan
    6. Ross Kemp In Afghanistan
    7. Ross Kemp Return To Afghanistan

    Which makes me conclude the show you are really after is Our War - 10 Years in Afghanistan

    2. Verify that your filename matches the showname in such a way that a lookup match is possible.

    "BBC.Afghanistan" does not do this, because there is no 'BBC' present in "Our War - 10 Years in Afghanistan", so you need to either rename your files, or add a 'String Replacement' for it. A full string replacement that turns "BBC.Afghanistan" into "Our War - 10 Years in Afghanistan" should do the trick on that, but it makes more sense to rename your filenames.

    3. Which brings us to the Season + Episode section. The "1of3" is not a proper representation of S01E03, but some new code has been added to MP-TVSeries that might make that work. However it is simply much easier to just rename your files to not have to worry about that, such as:

    10.Years.in.Afghanistan.S01E03.War.without.End.HDTV.x264.AC3.MVGroup.Forum

    And problem solved.
     

    Users who are viewing this thread

    Top Bottom