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
Expressions/Rules requests
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="RoChess" data-source="post: 784780" data-attributes="member: 18896"><p>There is no support for <episode2> in the simple expression method if memory serves me well. I'll forward that to the developers to see if that can be added.</p><p></p><p>In the meantime use regexp: ^(?:.*\\)?(?<series>[^\\]+)\\Season\s*(?<season>\d+)\\[^E]+E(?<episode>\d+)(?:E(?<episode2>\d+))?[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$</p><p></p><p>Which will cover both single and dual episodes, so position it high to avoid false positives with other expressions. The season is taken from the folder and not the filename, so keep that in mind. I didn't wanted to bother with a backreference, so this will have to do.</p></blockquote><p></p>
[QUOTE="RoChess, post: 784780, member: 18896"] There is no support for <episode2> in the simple expression method if memory serves me well. I'll forward that to the developers to see if that can be added. In the meantime use regexp: ^(?:.*\\)?(?<series>[^\\]+)\\Season\s*(?<season>\d+)\\[^E]+E(?<episode>\d+)(?:E(?<episode2>\d+))?[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$ Which will cover both single and dual episodes, so position it high to avoid false positives with other expressions. The season is taken from the folder and not the filename, so keep that in mind. I didn't wanted to bother with a backreference, so this will have to do. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom