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="pgjensen" data-source="post: 266744" data-attributes="member: 73843"><p>[code]^(?<series>[^\\$]+?)\\.*?(?:S(?<season>[0-2]?\d).*\\).*(?:e(?<episode>\d\d?)|((?:[0-2]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?:[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/code]</p><p></p><p></p><p>I used a great program called Expresso to help with the above...</p><p></p><p>As long as you have Show.Name\BLAHS<season>BLAH\skljfkldjsfd{e,x,#}<episode>{1,2}.<ext> my expression will work.</p><p></p><p>This includes ignoring weird filenames like tpz-blah101.avi ... it will just get the 01 for the episode and already have the series from the first dir and season from the 2nd dir.</p><p></p><p>i enabled the other expression bundled as a backup in case i had a dir of documentaries or something that were all random ... most of those have to be added manually anyways though <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>bundled one: [code]^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-2]?\d)e(?<episode>\d\d)|(?<season>(?:[0-2]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*([^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/code]</p><p></p><p></p><p></p><p>combined one where if there is no NORMAL directory structure of Series\S01\showname.s01e10.avi, then it will pull all the info from the file itself!</p><p></p><p>[code]debugging[/code]</p></blockquote><p></p>
[QUOTE="pgjensen, post: 266744, member: 73843"] [code]^(?<series>[^\\$]+?)\\.*?(?:S(?<season>[0-2]?\d).*\\).*(?:e(?<episode>\d\d?)|((?:[0-2]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*(?:[^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/code] I used a great program called Expresso to help with the above... As long as you have Show.Name\BLAHS<season>BLAH\skljfkldjsfd{e,x,#}<episode>{1,2}.<ext> my expression will work. This includes ignoring weird filenames like tpz-blah101.avi ... it will just get the 01 for the episode and already have the series from the first dir and season from the 2nd dir. i enabled the other expression bundled as a backup in case i had a dir of documentaries or something that were all random ... most of those have to be added manually anyways though :) bundled one: [code]^.*?\\?(?<series>[^\\$]+?)(?:s(?<season>[0-2]?\d)e(?<episode>\d\d)|(?<season>(?:[0-2]\d|(?<!\d)\d))x?(?<episode>\d\d))(?!\d)(?:[ .-]?(?:s\k<season>e?(?<episode2>\d{2}(?!\d))|\k<season>x?(?<episode2>\d{2}(?!\d))|(?<episode2>\d\d(?!\d))|E(?<episode2>\d\d))|)[ -.]*([^\\]*?[^\\]*?)\.(?<ext>[^.]*)$[/code] combined one where if there is no NORMAL directory structure of Series\S01\showname.s01e10.avi, then it will pull all the info from the file itself! [code]debugging[/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