Expressions/Rules requests | Page 80

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

  1. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,850
    Likes Received:
    2,146
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,618 / 28
    Home Country:
    Germany Germany
    Show System Specs
    To make things complete here are the result if there are " - " in episode name:
    Zwischenablage-1.jpg


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    @Lehmden, at least provide a screenshot of your parsing expressions when you add the RegExp based one that works.

    If it fails for you, it means you added it wrong, so a screenshot will clarify that.
     
    • Agree Agree x 1
  4. apoptygma

    apoptygma Portal Pro

    Joined:
    November 14, 2008
    Messages:
    160
    Likes Received:
    8
    Location:
    Adelaide
    Ratings:
    +9 / 0
    Home Country:
    Happy to give it a go can you repost without the emoticons? I couldn't see it on page 3 (page numbers might change as I'm on mobile?)
     
  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
  6. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,850
    Likes Received:
    2,146
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,618 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    Here you go:
    Zwischenablage-1.jpg
    This is my configuration. When I deactivate the first 2 and activate the third (it's copy & paste from the exchange thread) I got not even a single match as in first screenshot I've posted.

    BTW, I'm pretty sure, I know what's going wrong with the " - " in the episode title. If there are more than one separator like this, TVSeries takes the last one instead of the first one and interprets all between sxxExx and the next "e" in the episodes title as first episodes number and all between this second "E" and the second " - " as the second episodes number... Not what I would expect as imho an episodes number only should contain "0-9" and not all ACSII chars... This is a bug in my understanding.
     
  7. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    I'm still puzzled why the RegExp fails for you. Ohh well, if the others work for you, then enjoy.
     
  8. mforte

    mforte Portal Member

    Joined:
    March 18, 2015
    Messages:
    8
    Likes Received:
    4
    Gender:
    Male
    Ratings:
    +4 / 0
    Home Country:
    Australia Australia
    Hi All,

    My father has been using Media portal for many years and has been pushing me to start using it! I myself have been fine with using media centre :)
    after playing with media portal and seeing what it can do amazes me!

    Now, my problem is, how do I use the string replacements and parsing expressions? The other problem is Double Episodes

    My Tv Show Scheme is as follows:
    Single Episodes:
    Videos > Tv Series > Arrow >Season 01> Arrow - SE01-E01 - Pilot.ext
    Double Episodes:
    Videos > Tv Series > Arrow >Season 01> Arrow - SE01-E01-E02 - Pilot, Honnor Thy Father.ext

    Thanks and Regards,
    Matt
     
  9. Chubler

    Chubler Portal Member

    Joined:
    July 14, 2009
    Messages:
    43
    Likes Received:
    12
    Gender:
    Male
    Ratings:
    +13 / 0
    Home Country:
    Australia Australia
    From you posted image it looks like you have carriage returns in the expression. You have to be careful to ensure the expression is copied from the forum post without any extra newline characters.
     
  10. Lehmden
    • Premium Supporter

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,850
    Likes Received:
    2,146
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,618 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    Thanks for the tip. But I have stopped using MP1 completely since one week, so I also don't use TVSeries any longer. I now use MP2 only.
     
  11. Chubler

    Chubler Portal Member

    Joined:
    July 14, 2009
    Messages:
    43
    Likes Received:
    12
    Gender:
    Male
    Ratings:
    +13 / 0
    Home Country:
    Australia Australia
    The Re posted here

    https://forum.team-mediaportal.com/threads/expressions-rules-exchange.21977/page-3#post-700319

    Can handle this format as long as you use S01 instead of SE01 ie:

    Videos\Tv Series\Arrow\Season 01\Arrow - S01e01-e02 - Pilot, Honnor Thy Father.ext

    Other wise you may have luck with this:

    Code (Text):
    1. (?<series>[^\\$]+)(?:(?:\\(?:Season?)?[ .-]?[0-9]{1,4})?\\s?(?<season>[0-2]?[0-9])|\\(?:(?:Season?)[ .-])?(?<season>[0-9]{1,4})\\[^\\]*?)(?:se\d+[ -.]?)?[ex](?<episode>\d\d+)(?:[ .+-]e?(?<episode2>\d\d+))?(?:[ -]+(?<title>[\w -.,'!&$][^$]*?))?\.(?<ext>[^.]*)$
     
    Last edited: March 19, 2015
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!