home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
Better movie stacking
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Skrot" data-source="post: 125297" data-attributes="member: 46076"><p><strong>Started on:</strong> 2007-02-09</p><p><strong>Last update:</strong> 2007-02-09</p><p> </p><p><strong>Summary:</strong></p><p></p><p>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.</p><p> </p><p><strong>Description:</strong></p><p></p><p>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:</p><p></p><p>(.*)((CD|DISC|cd|disc|Cd|Disc)[123])(.*)\.([^\.]*)$</p><p></p><p>Match 1 is everything before the disc number</p><p>Match 2 is the disc number</p><p>Match 3 is everything after the disc number, except the extension</p><p>Match 4 is the extension</p><p></p><p>If 1,3 and 4 is the same, but 3 is different, one would stack.</p></blockquote><p></p>
[QUOTE="Skrot, post: 125297, member: 46076"] [b]Started on:[/b] 2007-02-09 [b]Last update:[/b] 2007-02-09 [b]Summary:[/b] 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. [b]Description:[/b] 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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Better movie stacking
Contact us
RSS
Top
Bottom