Help with samples filter RegEx (2 Viewers)

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Hi

    I want moving pictures to ignore video files with parent folder = \Trailers\ or \Extras\

    eg.

    D:\Movies\Antman (2005)\Extras\Making of Antman.mkv

    Can someone help me with expression, current expression is:
    sample
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Safer way would be:

    Code:
    sample|[\/\\](?:Extra|Trailer)[s]*[\/\\]

    That way movies containing "Extra(s)" or "Trailer(s)" as a valid part of their title are not accidently excluded (as long as their folder name contains "(year)" to avoid false positives).

    and be sure to enable the setting to "Include Parent Foldername When Mathing" obviously.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    cheers.

    the trailer plugin now supports extras/trailers, so I no longer delete the extra video files included with some realeases. cheers.[DOUBLEPOST=1449554768][/DOUBLEPOST]@RoChess - your regex didn't work for me.

    [X] prefer parental folder & Source: J:\Movies [HD]

    J:\MOVIES [HD]\Escobar Paradise Lost (2014) - tt2515030\Escobar-Paradise.Lost.2014.Bluray.1080p.DTS-HD.x264-Grym.mkv
    J:\MOVIES [HD]\Escobar Paradise Lost (2014) - tt2515030\Extras\Catching Pablo.mkv[DOUBLEPOST=1449554856][/DOUBLEPOST]@ajs (trailers)(sample)(extras) is working, but obviously may ignore some movies.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    (trailers)(sample)(extras) is working, but obviously may ignore some movies.
    Try :D
    Code:
    \\((extra)|(sample)|(trailer))s?\\
    upload_2015-12-8_9-18-33.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    PS: If regexp in MovPic is case sensitive, try:
    Code:
    /\\((extra)|(sample)|(trailer))s?\\/ig
    OR
    Code:
    \\(([Ee][Xx][Tt][Rr][Aa])|([Ss][Aa][Mm][Pp][Ll][Ee])|([Tt][Tr][Aa][Ii][Ll][Ee][Rr]))[Ss]?\\
    :whistle::coffee:
     

    Users who are viewing this thread

    Similar threads

    Hello all, Recently I have been having a few problems importing movies to Moving Pictures using the IMDB+ plugin (missing fields) so I have decided to have a go at creating an XML based on the XBMC Local xml. This has not been tested with multi languages and it has been configured for my personal collection. I'm hoping it will work...
    Hello all, Recently I have been having a few problems importing movies to Moving Pictures using the IMDB+ plugin (missing fields)...
    Hello all, Recently I have been having a few problems importing movies to Moving Pictures using the IMDB+ plugin (missing fields)...
    Replies
    0
    Views
    636
    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    945
    • Sticky
    MP1 MP2 [News] MediaPortal 2 - 2.5 Release DE
    Well just tried that. Chose TV Channels and clicked "Clear". All channels cleared then did a rescan. What a shitshow! All channel number mappings a total mess: STV as Channel 1, W as Channel 18, BBC channels way down the list. Thanks for trying to help but this software, for me, is just a mess. Appreciate all the time you have...
    Well just tried that. Chose TV Channels and clicked "Clear". All channels cleared then did a rescan. What a shitshow! All...
    We are proud to present MediaPortal 2.5 MediaPortal 2.5 is a full-blown media center software that addresses most common user...
    Replies
    76
    Views
    11K
    The Tv Movie Epg Import really doesn't work. Problem is in missing x64 MS Jet 4.0 Oledb database provider and newer ACE is unable to load old Jet DB. I had to create x86 reader to read the db. Unpack the content from the attached file into your TvServer Plugins folder (replace old TvMovie.dll). The Clickfinder application install...
    The Tv Movie Epg Import really doesn't work. Problem is in missing x64 MS Jet 4.0 Oledb database provider and newer ACE is unable...
    I have decided to rework this post, becouse is no longer relevant. The SharpDX version is already included in MediaPortal since...
    Replies
    966
    Views
    112K
    This is not possible if it is a self made series, like personal travel videos etc.
    This is not possible if it is a self made series, like personal travel videos etc.
    Hi! I have videos that I want to show in TV-Series, such as personal TV series and educational series. As some examples I have...
    Replies
    8
    Views
    3K
    Top Bottom