Expressions/Rules requests (2 Viewers)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    That had me puzzled, so I just tested that filename and it works just fine.
    The following default regex matches it:
    Code:
    ^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-1]?\d)e(?<episode>\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?<title>(?![^\\]*?sample)[^\\]*?(?<HR>HR\.)?[^\\]*?)\.(?<ext>[^.]*)$

    Could you make sure you have that one enabled?
    :sorry: was my fault as it seems.

    after physicaly deleting the db file and re-trying the import, it was working out of the box.
     

    andreas121

    Portal Member
    February 9, 2007
    25
    0
    I'm having trouble importing anime series. Here's an example.

    [DB]_Bleach_54_[07ECB332].avi
    [DB]_Bleach_55_[E8C96F59].avi
    [DB]_Bleach_56_[7D4C5D8A].avi
    [Lunar] Bleach - 31 [3608FDB1].avi
    [Lunar] Bleach - 32 [E47265BE].avi
    [Lunar] Bleach - 33 [5F05D396].avi

    These would work fine with the normal expressions if they ignored the square brackets.

    What I have tried is to get the 'String Replacements' to replace anything in the square brackets with empty. Parsing test shows this isn't working.


    even trying to match [DB] in the string replacements seems not to work.
    e.g.
    Code:
    	Enabled, Run before Matchg, DB, <empty>
    parse test shows series name as [DB] Bleach
     

    MojoFlow

    Portal Member
    March 4, 2007
    22
    0
    Home Country
    Canada Canada
    If someone would care to help me, I still don't have a working regex for the tv series in the format BeyondTV outputs below:

    I am using BeyondTV to currently record tv, and I need an expression to convert using their naming conventions, they have 2.

    Movies:

    Metropolis-2007-01-14-0.avi

    TV Series:

    NUMB3RS-(The Janus List)-2007-05-18-0.avi

    Any help on a simple or regular expression for these two formats?

    Thanks!

    p.s. For the Movies format, would it be possible to make an expression that would classify it as the series 'Movies', and then the episode would be the actual movie title.


    Cheers!
     

    flamingfox

    New Member
    February 4, 2007
    3
    0
    Home Country
    United Kingdom United Kingdom
    A few of my TV show episodes have got an audio commentary as well as the main audio track. Is it possible to make a logo rule for if there are more than one audio tracks on a file?

    Thanks
     

    mus8807

    New Member
    August 5, 2007
    3
    0
    I've been trying for hours, but it seems like I'm too stupid for regex...
    I need a regex for the following format:
    <series>\Staffel <season> (XviD.or.whatever)\<episode> - <title>.<ext>

    example:
    Lost\Staffel 03 (x264.720p)\01 - A Tale of two Cities.mkv

    btw: "Staffel" is german^^

    I'd be very thankful for that :)

    edit:
    forgot about episode2, it should look like this:
    ...\<episode>-<episode2> - <title>.<ext>

    edit2:
    don't bother, finally got it myself ;)
     

    mus7y

    New Member
    August 18, 2007
    1
    0
    Home Country
    Belgium Belgium
    anyone know how to do a parsing expression for this format:
    \<series>\S<season>\<episode> <title>.<ext>
     

    Camish

    New Member
    August 22, 2007
    2
    0
    Home Country
    Sweden Sweden
    Please help me to match this one:
    Series\Allsang pa skansen\Allsang.Pa.Skansen.2007.E02.SWEDiSH.HDTV.XviD-ST\aps.2007.e02.hdtv.xvid-st.avi
     

    Teuf

    Portal Member
    February 1, 2007
    11
    0
    Montrouge
    Home Country
    France France
    Hi ,

    I'd like to display a logo when an episode is in French, or when it's in japanses with french subtitle in it, so i've name all my series like
    serie\season\serie - seasonnumberxepisodenumber - title - Vf.avi
    serie\season\serie - seasonnumberxepisodenumber - title - vost.avi

    Next i've tried the rule display HD Logo when episode filename contains HDTV, modifying it with Vf instead of HDTV... but no logo is displayed .

    I've tried with
    Thumbs\LogoSerieTV\VF.png;-;<Episode.LocalFileName>;-;contains;-;Vf;-;AND;-;;-;=;-;;-;AND;-;;-;=;-;;-;
    and
    Thumbs\LogoSerieTV\VF.png;-;<Episode.Episodefilename>;-;contains;-;Vf;-;AND;-;;-;=;-;;-;AND;-;;-;=;-;;-;

    anything wrong ?

    thanks in advance

    Chris
     

    GazpachoKing

    Portal Pro
    February 8, 2006
    75
    28
    I'm having trouble importing anime series. Here's an example.

    [DB]_Bleach_54_[07ECB332].avi
    [DB]_Bleach_55_[E8C96F59].avi
    [DB]_Bleach_56_[7D4C5D8A].avi
    [Lunar] Bleach - 31 [3608FDB1].avi
    [Lunar] Bleach - 32 [E47265BE].avi
    [Lunar] Bleach - 33 [5F05D396].avi

    This is my first time using regex, and this method is a little bit hacked so I am sure there is a better way but here is how I parse Bleach:
    Code:
    (?<season>1).*(?<series>bleach)[\s-_]{1,3}(?<episode>\d+)(?:-(?<episode2>\d+))?.*\.(?<ext>[^.]*)
    This should cover both of your formats above including double episodes as long as they are in the format 52-53.
    The season has to be 1 for all the eps for absolute numbering to work, so I have the expression match any 1 in the filename before the episode name. This means you have to have the episodes in a folder that contains the number 1.
    i.e. Bleach\Season 1\[DB]_Bleach_52-53_[069BE2EB].avi
    Also, since it's sort of a loose filter, I hard coded it to match only bleach and moved it to the top of my expressions list. You could probably just copy it for all similarly formated anime and just change "Bleach" to whatever in the regex.
     

    fozzieb

    New Member
    August 31, 2007
    1
    0
    50
    parasing expression help

    ok, i'm lost

    all my shows are like this

    D:\Movies\TV Shows\That 70's Show\Season 1\E01 - That '70s Pilot.avi

    so what string do i need to use to get the plugin to work?

    sorry for being a noob

    Cheers
     

    Users who are viewing this thread

    Top Bottom