Expressions/Rules requests (6 Viewers)

venares

Portal Member
November 7, 2007
23
3
Home Country
United Kingdom United Kingdom
Anyone have an idea how to pass this, im stumped.

[Conclave-Mendoi]_Mobile_Suit_Gundam_00_-_05_[1280x720_H.264_AAC][8AF9FA8C].mkv

:D
 

MojoFlow

Portal Member
March 4, 2007
22
0
Home Country
Canada Canada
Hi,

I am still looking for some help with this format that BeyondTV uses to save tv recordings as.

Any help would be much appreciated!!!

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

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

Thanks!
 

MojoFlow

Portal Member
March 4, 2007
22
0
Home Country
Canada Canada
Can you just send it the series name and episode name? Is that enough for TVSeries to work with? If so, then the regular expression could just exclude the date?

Would someone be able to help me with that one?

Thanks!!!
 

G.B. Wolf

MP Donator
  • Premium Supporter
  • March 22, 2007
    227
    3
    Braunschweig
    Home Country
    Germany Germany
    Can you just send it the series name and episode name? Is that enough for TVSeries to work with? If so, then the regular expression could just exclude the date?

    Would someone be able to help me with that one?

    Thanks!!!
    The plugin needs:
    * Name of series
    * Number of season
    * Number of episode
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Series + Airdate works too, BUT it needs to be the first/original airdate as entered on thetvdb.com. So it won't work for re-runs or airings in other countries.

    In any case, in very recent SVN you can always manually assign any file to any episode, but you will need to do it one by one and it might not be stable yet.
     

    SniperFC

    Portal Member
    November 8, 2007
    14
    0
    Hi im trying to get it to import a file type but everything I try fails heres what the file looks like:

    G:\Anime\[AHQ] Rurouni Kenshin - 01 - 95 [Dual Audio]\[AHQ] Rurouni Kenshin - 01 - The Handsome Swordsman of Legend.ogm

    Anyone have any ideas how to do this one?
     

    MojoFlow

    Portal Member
    March 4, 2007
    22
    0
    Home Country
    Canada Canada
    Ok,

    Well that would work fine for me (original airdate), it would get the majority of what I record.

    Soooooo,

    Could someone give me the regex to do that based upon my above sample??

    Thanks!!
     

    MojoFlow

    Portal Member
    March 4, 2007
    22
    0
    Home Country
    Canada Canada
    Just reading back through the post, and I missed this suggestion from inker:


    PHP:
    (?<series>[^\\$]+)?\-+?.*\((?<title>.*[^\\]?)\)\-?(?<FirstAired>((19|20)(\d{2})(\.|-|/)([0-3]\d)(\.|-|/)([0-3]\d))).*\.(?<ext>[^.]*)$

    I run this regex through the parsing test and get an error:

    "Cannot use the following expression parsing " and then the above regex, "too many )'s"

    Can someone help me out with fixing the syntax, I was trying a few different fixes and couldn't get anything to work.

    This is to parse a show with the following format:

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


    Getting that should fix my problem, and most of my episodes recorded in BeyondTV should work.

    Cheers!!
     

    G.B. Wolf

    MP Donator
  • Premium Supporter
  • March 22, 2007
    227
    3
    Braunschweig
    Home Country
    Germany Germany
    Just reading back through the post, and I missed this suggestion from inker:


    PHP:
    (?<series>[^\\$]+)?\-+?.*\((?<title>.*[^\\]?)\)\-?(?<FirstAired>((19|20)(\d{2})(\.|-|/)([0-3]\d)(\.|-|/)([0-3]\d))).*\.(?<ext>[^.]*)$

    I run this regex through the parsing test and get an error:

    "Cannot use the following expression parsing " and then the above regex, "too many )'s"

    Can someone help me out with fixing the syntax, I was trying a few different fixes and couldn't get anything to work.

    This is to parse a show with the following format:

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


    Getting that should fix my problem, and most of my episodes recorded in BeyondTV should work.

    Cheers!!
    I couldn't find any non-machting brackets there, but if you have brackets in your filename you have to escape them for the regular expression:

    In stead of the part "((?<title>.*[^]?))" it has to be "\((?<title>.*[^]?)\)".

    So the shortest version for your file would be:

    ^(??<series>[^$]+?)-\((?<title>.*[^]?)\)-(?<FirstAired>\d\d\d\d-\d\d-\d\d)\.(?<ext>[^.]*)$
     

    Users who are viewing this thread

    Top Bottom