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: 613524" data-attributes="member: 18896"><p>Yes, 10th season is ok, because the '0' being added to episode is ignored. So I should have been more clearer that 11+ goes wrong. 1101 is seen as S01E101, due to the fact that only 1 digit is removed on season+episode number, and no divider is provided to tell otherwise. This is a really terrible notation, and would require a lot more code to strip off the season from folder.</p><p></p><p>And instead of another regular expression, if you have just provided the example that a single year is possible, I could have immediatly provided you with a single expression that covers all:</p><p></p><p style="margin-left: 20px">(?<series>[^\\$]*)\\Season\s(?<season>\d+).*?\\(?:\d{1})(?<episode>\d+)[-]?(?:\d{1})?(?<episode2>\d+)?[-]?(?<title>[^\.]*)\.(?<ext>[^.]*)$</p><p></p><p>Infact I just made it accept anything after season number, so it doesn't matter.</p></blockquote><p></p>
[QUOTE="RoChess, post: 613524, member: 18896"] Yes, 10th season is ok, because the '0' being added to episode is ignored. So I should have been more clearer that 11+ goes wrong. 1101 is seen as S01E101, due to the fact that only 1 digit is removed on season+episode number, and no divider is provided to tell otherwise. This is a really terrible notation, and would require a lot more code to strip off the season from folder. And instead of another regular expression, if you have just provided the example that a single year is possible, I could have immediatly provided you with a single expression that covers all: [indent](?<series>[^\\$]*)\\Season\s(?<season>\d+).*?\\(?:\d{1})(?<episode>\d+)[-]?(?:\d{1})?(?<episode2>\d+)?[-]?(?<title>[^\.]*)\.(?<ext>[^.]*)$[/indent] Infact I just made it accept anything after season number, so it doesn't matter. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom