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: 721397" data-attributes="member: 18896"><p>Ok, you are lucky that I was bored while on hold on the phone, and it turned out it wasn't much work to modify the existing filename expression, so the following expression works for the both of you:</p><p></p><p style="margin-left: 20px"><strong>^(?:.*\\)?(?<series>[^\\]+?)\\[^\\]+\\.*(?:<s>?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:<s>?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$</s></s></strong></p><p><s><s></s></s></p><p><s><s></s></s></p><p><s><s>It looks for:</s></s></p><p><s><s></s></s></p><p style="margin-left: 20px"><s><s>"Series Name"<strong>\</strong>(ignores this folder name completly)<strong>\</strong>(ignores any prefixes)<strong>S</strong>(season)<strong>E</strong>(episode) (it will use anything after it as title, but since TheTVdB is used for this, it is only used when thetvdb.com is down).</p><p></s></s></p><p><s><s>If the term "sample" is present in the title it will be skipped, unless it is "the sample" (as per a Chuck episode)</s></s></p><p><s><s></s></s></p><p><s><s>The best position in the parsing expression list would be the 2nd one</s></s></p><p><s><s></s></s></p><p><s><s>Enjoy.</s></s></p></blockquote><p></p>
[QUOTE="RoChess, post: 721397, member: 18896"] Ok, you are lucky that I was bored while on hold on the phone, and it turned out it wasn't much work to modify the existing filename expression, so the following expression works for the both of you: [INDENT][b]^(?:.*\\)?(?<series>[^\\]+?)\\[^\\]+\\.*(?:[s]?(?<season>\d+)[ _.\-\[\]]*[ex](?<episode>\d+)|(?:\#|\-\s)(?<season>\d+)\.(?<episode>\d+))(?:[ _.+-]+(?:[s]?\k<season>[ _.\-\[\]]*[ex](?<episode2>\d+)|(?:\#|\-\s)\k<season>\.(?<episode2>\d+))|(?:[ _.+-]*[ex+-]+(?<episode2>\d+)))*[ _.\-\[\]]*(?<title>(?![^\\].*?(?<!the)[ .(-]sample[ .)-]).*?)\.(?<ext>[^.]*)$[/s][/s][/b][s][s][/s][/s][/INDENT][s][s] It looks for: [INDENT]"Series Name"[b]\[/b](ignores this folder name completly)[b]\[/b](ignores any prefixes)[b]S[/b](season)[b]E[/b](episode) (it will use anything after it as title, but since TheTVdB is used for this, it is only used when thetvdb.com is down).[/INDENT] If the term "sample" is present in the title it will be skipped, unless it is "the sample" (as per a Chuck episode) The best position in the parsing expression list would be the 2nd one Enjoy.[/s][/s] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom