Better movie stacking

Discussion in 'Improvement Suggestions' started by Skrot, February 9, 2007.

  1. Skrot

    Skrot New Member

    Joined:
    February 9, 2007
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Norway Norway
    Started on: 2007-02-09
    Last update: 2007-02-09

    Summary:

    Currently, MP can only stack movies ending with -CDX. It would be nice if MP supported more alternatives for stacking, or even allowing users to configure which regexps should be used to do it.

    Description:

    I haven't had a good look at the code, nor have I any experience with .NET, but the following regexp would stack movies containing the disc number anywhere in the filename:



    (.*)((CD|DISC|cd|disc|Cd|Disc)[123])(.*)\.([^\.]*)$

    Match 1 is everything before the disc number
    Match 2 is the disc number
    Match 3 is everything after the disc number, except the extension
    Match 4 is the extension

    If 1,3 and 4 is the same, but 3 is different, one would stack.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. phunqe

    phunqe Portal Pro

    Joined:
    April 28, 2007
    Messages:
    236
    Likes Received:
    0
    Ratings:
    +0 / 0
    Any news on this? :)
     
  4. Ynot

    Ynot Portal Member

    Joined:
    August 15, 2006
    Messages:
    49
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    United Kingdom United Kingdom
    not a regex guru by any means, but this may be better

    ^([\w\s]+?)\W?(cd|disc|disk|part)\W?([0-9][0-9]*)\.(avi|wmv|mkv|ogm|mp4)$
     
  5. NightOwl69

    NightOwl69 Portal Member

    Joined:
    September 4, 2007
    Messages:
    18
    Likes Received:
    2
    Ratings:
    +2 / 0
    I would really appreciate it if stacking could be configured much like it is in the XBMC where the end user can simply specify the regexp to use for stacking.

    I have a folder for each of my movies and that folder often contains trailers, teasers, dvd extras, etc and I would really like to stack them all into the one file. This means I see multiple entries for the one movie instead of just one entry which holds all the files.

    Are there any plans to include this capability in a subsequent release of MP1 or MP2?
     
  6. jadz

    jadz Portal Pro

    Joined:
    August 30, 2004
    Messages:
    150
    Likes Received:
    0
    Location:
    Canada
    Ratings:
    +0 / 0
    Is the current stacking configuration documented anywhere? I searched and could not find where it was listed.

    The Video database seems to be hit or miss...
     
  7. mediortal

    mediortal Portal Member

    Joined:
    July 28, 2009
    Messages:
    46
    Likes Received:
    1
    Ratings:
    +1 / 0
    How exactly are videos stacked?

    If I have a folder with 20 .avi/mkv shows, how must they be named to appear as one file that can be watched/resumed etc?
     
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!