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="ftothe3" data-source="post: 261276" data-attributes="member: 64801"><p>try this regex:</p><p></p><p>TV[\\](?<series>[\w\s'-]*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*)</p><p></p><p>i think the simple expression failed because "A-team" has a "-" in it. So, if this regex doesnt work, try deleting the dash in A-team.</p><p></p><p>while i'm at it heres the regex for a 2 episode file with the format TV\Series\Season 1\S01E01&E02 - Title.avi</p><p>TV[\\](?<series>[\w\s']*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*)&(?<episode2>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*)</p><p></p><p>and finally, for files without a title:</p><p></p><p>TV[\\](?<series>[\w\s']*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*)\.(?<ext>[^.]*)</p><p></p><p></p><p>if you dont have your series files in a "TV" folder just remove the TV[\\] in the regex.</p></blockquote><p></p>
[QUOTE="ftothe3, post: 261276, member: 64801"] try this regex: TV[\\](?<series>[\w\s'-]*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*) i think the simple expression failed because "A-team" has a "-" in it. So, if this regex doesnt work, try deleting the dash in A-team. while i'm at it heres the regex for a 2 episode file with the format TV\Series\Season 1\S01E01&E02 - Title.avi TV[\\](?<series>[\w\s']*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*)&(?<episode2>[0-9]*) - (?<title>[\s\w',-]*)\.(?<ext>[^.]*) and finally, for files without a title: TV[\\](?<series>[\w\s']*)[\\]Season (?<season>[0-9]*)[\\]S[0-9]*E(?<episode>[0-9]*)\.(?<ext>[^.]*) if you dont have your series files in a "TV" folder just remove the TV[\\] in the regex. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Expressions/Rules requests
Contact us
RSS
Top
Bottom