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="venares" data-source="post: 493062" data-attributes="member: 59783"><p>The default parsers cant deal with anything greater than 99 (ie. its breaks once it hits 3 digits) as you have already realised.</p><p>My solution to the problem was this:</p><p>[CODE]^(?<series>SERIESNAME)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d\d(?!\d))|E(?<episode2>\d\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/CODE]</p><p></p><p>Change "SERIESNAME" in the above expression to the name of the series you need to parse.</p><p>Also make sure the parse string is at the top of your list otherwise it will be overridden by the default one.</p><p>If theres more than one you can add more my adding | after each show like this.</p><p></p><p>The Daily Show|Random other show|another random show</p><p></p><p>Anyway, the code below should fix the problem for you.</p><p></p><p>[CODE]^(?<series>The Daily Show)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d\d(?!\d))|E(?<episode2>\d\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/CODE]</p></blockquote><p></p>
[QUOTE="venares, post: 493062, member: 59783"] The default parsers cant deal with anything greater than 99 (ie. its breaks once it hits 3 digits) as you have already realised. My solution to the problem was this: [CODE]^(?<series>SERIESNAME)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d\d(?!\d))|E(?<episode2>\d\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/CODE] Change "SERIESNAME" in the above expression to the name of the series you need to parse. Also make sure the parse string is at the top of your list otherwise it will be overridden by the default one. If theres more than one you can add more my adding | after each show like this. The Daily Show|Random other show|another random show Anyway, the code below should fix the problem for you. [CODE]^(?<series>The Daily Show)\\[^\\$]*?(?:s(?<season>[0-1]?\d)ep?(?<episode>\d\d\d)|(?<season>(?:[0-1]\d|(?<!\d)\d))x?(?<episode>\d\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d\d(?!\d))|E(?<episode2>\d\d\d))|)[ -.]*(?<title>(?!.*sample)[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom