Parsing expression (2 Viewers)

G.B. Wolf

MP Donator
  • Premium Supporter
  • March 22, 2007
    227
    3
    Braunschweig
    Home Country
    Germany Germany
    Please don't hijack other people's topics. ;)

    To your questions:
    The basic version for mulitple eps is "Battlestar Galactica - 4x01-4x02 - Razor.avi". At least that is what I can see in the regexp. Perhaps 4x01&4x02 would also work, but I cannot see a version without the doubled season index.

    The newest "official" DL can be found here: https://forum.team-mediaportal.com/tvseries_v1_2_9_34660_20_10-t15703.html
    The newest SVN version is located here: https://forum.team-mediaportal.com/svn_versions-t22053.html

    Best regards
     

    -ltb-

    Portal Pro
    April 10, 2006
    4,204
    21
    Home Country
    France France
    So...

    For simple mode it would be something like:

    Code:
    [season x episode].-.<series>.-.<title>.<ext>

    Here he shouldn't care about the specials regexp characters.
    it doesn't work, parsing failed

    In regexp you missed the fetching of the data itselves... the syntax is a little bit strange, but I'd try this:

    Code:
    ^\[(?<season>[0-9]+) x (?<episode>[0-9]+)\]\.-\.(?<series>[^\\\[]*)\.-\.(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
    same.

    But if i use this expression
    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)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$
    the parsing test is completed but there're many mistakes:
    - the parsed series name is "[" instead of Stargate...
    - episode title is "]Stargate sg_1......."

    So i need to make some changes in this expression

    Thx
     

    patrick

    Portal Pro
    April 20, 2005
    608
    45
    Southeast
    Home Country
    United States of America United States of America
    So i need to make some changes in this expression

    Based on the info from your first post try the following.

    I was able to parse this:
    Code:
    [10 x 10].-.Stargate SG-1.-.Quest(1).avi


    With this RegEx:
    Code:
    \[(?<season>[0-2]?\d) x (?<episode>[0-2]?\d)\]\.-\.(?<series>.*)\.-\.(?<title>(?![^\\]*?sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$



    HTH,
    patrick
     

    -ltb-

    Portal Pro
    April 10, 2006
    4,204
    21
    Home Country
    France France
    obviously, we need to have approval for adding files now, we have to wait
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Yes, sorry, files now need to be approved by a moderater before they can be seen. Reason being we have to be careful what files are actually hosted on this server. Sorry :-(

    If you need/want your images to appear immediatly, I suggest you upload them to imageshak or something, otherwise it may take a few hours for a mod to see. I try to approve them as soon as I see them, but I may miss a few.
     

    -ltb-

    Portal Pro
    April 10, 2006
    4,204
    21
    Home Country
    France France
    No problem Inker, thx
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Heres an expression that should work for you:

    Code:
    \[(?<Season>\d)x(?<Episode>\d\d)\]\.-\.(?<series>.+?)\.-\.(?<title>.+)\.(?<ext>.+)
     

    Users who are viewing this thread

    Similar threads

    You're welcome! I did try to test MovingPictures before it was released but I did not check the default themes in Titan. I will try to do that from now on. But an update is on the way to remove the problem file to prevent this issue. I don't use the Recorded TV page so had not checked it, but will look into it to try and resolve the...
    You're welcome! I did try to test MovingPictures before it was released but I did not check the default themes in Titan. I will try...
    I have a multiseat MP setup running version 1.33. I use the Titan skin and yesterday I decided I would update all my plugins on my...
    Replies
    3
    Views
    73
    MP1 MP2 Dropping Episodes DE
    Hello everyone, I have the same problem on some series, the last one I found is Law and Order (New York Police judiciaire in French), season 20 only displays the first 3 episodes, I couldn't find any difference in the file names between these first 3 episodes and the following ones except for the episode number of course. By going...
    Hello everyone, I have the same problem on some series, the last one I found is Law and Order (New York Police judiciaire in...
    Hi all, this seems to be a bit of a follow up on an issue I was having a couple of years ago. That issue just seemed to resolve...
    Replies
    3
    Views
    797
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    Hi, I have just upgraded from MP 2.2.2 to MP 2.4.1, and now the client won't start. I see the splash screen, and then it just...
    Replies
    3
    Views
    956
    I had the same issue and found the executable under C:\ProgramData\Team MediaPortal\MediaPortal\skin\Titan\BasicHome.Editor\TitanEditor.exe Only the shortcut was missing.
    I had the same issue and found the executable under C:\ProgramData\Team...
    Hi all, Not a rant, more a sharing of experience (maybe hoping to get some clarification on which wrong turn I took) It has been...
    Replies
    9
    Views
    2K
    Pfff, amazing MadVR instead of (the good one) EVR. Watched 240p movies given by my family on Full HDTV. What can I say : For 240p, less macroblocks, better smoothed. For all : More transparency, more mirroring (example, reflects pictures on cars, on flasks of water). When available, it is worth to take time to configure MadVR, at the...
    Pfff, amazing MadVR instead of (the good one) EVR. Watched 240p movies given by my family on Full HDTV. What can I say : For 240p...
    Hello all, I found a possible conflict between madVR and MP ViewModeSwitcher Plugin. But, because it's hardware and specific...
    Replies
    14
    Views
    3K
    Top Bottom