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 exchange
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="dir" data-source="post: 878610" data-attributes="member: 24485"><p><strong>Type</strong>: Parsing -RegEx</p><p><strong>Description</strong>:</p><p>Handles format Cheers\Season 01\s01e01 - blah.avi but also handles:</p><p>seasons greater than 9 (e.g. s32e01)</p><p>4-digit seasons (e.g. s2010e01)</p><p>dollar values in the title (e.g. $25K Final Table)</p><p>So any of the following are valid:</p><p><strong>Expected Filename:</strong></p><p>Aussie Millions\Season 01\s01e01 - Opening Table.avi</p><p>Aussie Millions\Season 01\s01e01-02 - Opening Tables.avi</p><p>Aussie Millions\Season 10\s10e01 - Opening Table.avi</p><p>Aussie Millions\Season 2010\s2010e01 - Opening Table.avi</p><p>Aussie Millions\Season 2010\s2010e01 - $25K Opening Table.avi</p><p><strong> Rule:</strong></p><p>[code](?<series>[^\\$]+)(?:(?:\\(?:Season?)?[ .-]?[0-9]?[0-9])?\\s?(?<season>[0-9]?[0-9]?[0-9]?[0-9])|\\(?:(?:Season?)[ .-])?(?<season>[0-9]?[0-9]?[0-9]?[0-9])\\[^\\]*?)[ex]?(?<episode>\d\d+)(?:[ .+-]e?(?<episode2>\d\d+))?(?:[ -]+(?<title>[\w -.,'!&$][^$]*?))?\.(?<ext>[^.]*)$[/code]</p></blockquote><p></p>
[QUOTE="dir, post: 878610, member: 24485"] [B]Type[/B]: Parsing -RegEx [B]Description[/B]: Handles format Cheers\Season 01\s01e01 - blah.avi but also handles: seasons greater than 9 (e.g. s32e01) 4-digit seasons (e.g. s2010e01) dollar values in the title (e.g. $25K Final Table) So any of the following are valid: [B]Expected Filename:[/B] Aussie Millions\Season 01\s01e01 - Opening Table.avi Aussie Millions\Season 01\s01e01-02 - Opening Tables.avi Aussie Millions\Season 10\s10e01 - Opening Table.avi Aussie Millions\Season 2010\s2010e01 - Opening Table.avi Aussie Millions\Season 2010\s2010e01 - $25K Opening Table.avi [B] Rule:[/B] [code](?<series>[^\\$]+)(?:(?:\\(?:Season?)?[ .-]?[0-9]?[0-9])?\\s?(?<season>[0-9]?[0-9]?[0-9]?[0-9])|\\(?:(?:Season?)[ .-])?(?<season>[0-9]?[0-9]?[0-9]?[0-9])\\[^\\]*?)[ex]?(?<episode>\d\d+)(?:[ .+-]e?(?<episode2>\d\d+))?(?:[ -]+(?<title>[\w -.,'!&$][^$]*?))?\.(?<ext>[^.]*)$[/code] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules exchange
Contact us
RSS
Top
Bottom