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
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Custom regular expression request
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="Chubler" data-source="post: 721777" data-attributes="member: 96394"><p><strong>1)</strong> Can fix this by making a - or part,CD, DVD required, it will then support:</p><p style="margin-left: 20px">foo - 2.iso</p> <p style="margin-left: 20px">foo part2.mkv</p> <p style="margin-left: 20px">Lord of the rings - fellowship (2001) CD1.iso</p><p>but not:</p><p style="margin-left: 20px">foo 2.iso</p> <p style="margin-left: 20px">foo 1 2 3.iso</p> <p style="margin-left: 20px">Lord of the rings - fellowship (2001) 1.iso</p><p></p><p><strong>2)</strong> Yes, would anything for 01 - 09 be enough? Note this may allow repeats or out of order items eg this is OK:</p><p style="margin-left: 20px">foo CD1 CD5 CD2 CD3 CD5 CD2.iso</p><p>Also is there any need to have part1 and part2, why not put everything into parts as it makes the RE simpler?</p><p></p><p><strong>3)</strong> Fix for 1 should address this</p><p></p><p></p><p></p><p>Updated RE for what I've discussed is:</p><p></p><p style="margin-left: 20px"><strong>[noparse]^(?<movie>.*?)(?: *(?:-|CD|part|DVD|disc|disk) *(?<parts>0*[1-9]))+\.(?<ext>[^.]*)$[/noparse]</strong></p></blockquote><p></p>
[QUOTE="Chubler, post: 721777, member: 96394"] [B]1)[/B] Can fix this by making a - or part,CD, DVD required, it will then support: [indent]foo - 2.iso foo part2.mkv Lord of the rings - fellowship (2001) CD1.iso[/indent] but not: [indent]foo 2.iso foo 1 2 3.iso Lord of the rings - fellowship (2001) 1.iso[/indent] [B]2)[/B] Yes, would anything for 01 - 09 be enough? Note this may allow repeats or out of order items eg this is OK: [indent]foo CD1 CD5 CD2 CD3 CD5 CD2.iso[/indent] Also is there any need to have part1 and part2, why not put everything into parts as it makes the RE simpler? [B]3)[/B] Fix for 1 should address this Updated RE for what I've discussed is: [indent][b][noparse]^(?<movie>.*?)(?: *(?:-|CD|part|DVD|disc|disk) *(?<parts>0*[1-9]))+\.(?<ext>[^.]*)$[/noparse][/b][/indent] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Custom regular expression request
Contact us
RSS
Top
Bottom