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
Default expressions/double episodes
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="psiebe" data-source="post: 315234" data-attributes="member: 48780"><p>Hi All,</p><p></p><p>I have been playing with the examples posted in this thread and almost got it to work</p><p></p><p>all my series are in this format: alias\1x01 - titel.avi or, for doubles alias\1x01&02 - titel.avi</p><p></p><p>Using this Expression:</p><p>[CODE](?<series>[^\\$]+)\\(?<season>[0-9]+)x(?<episode>[0-9]+)(&(?<episode2>[0-9]+))? - (?<title>[^\\]*?)\.(?<ext>[^.]*)$[/CODE]</p><p></p><p>Does the trick... almost</p><p>For starters, it does not parse singles (so I had to include a second expression without the episode2 part)</p><p>[CODE]</p><p>(?<series>[^\\$]+)\\(?<season>[0-9]+)x(?<episode>[0-9]+)(?<title>[^\\]*?)\.(?<ext>[^.]*)$</p><p>[/CODE]</p><p></p><p>Then, if I don't have a title, it will fail to parse on the above expression and will parse on the second, using the &02 as a title. Works fine if I have a title, but that is not common for my files.</p><p></p><p>In addition, on parsing tests, it will populate the episode index2 with the full path&filename for all single episodes, don't know if that does any bad, but it does not feel right.</p><p></p><p>Anyone that can point me in fixing my expression (and combine it if possible into 1) ???</p><p></p><p>Thanks,</p><p>Patrick</p><p></p><p>PS: Parsing of the episodes goes well, however only 1 shows up in the database after an import. is that expected behaviour? episodeindex and episodeindex2 are populated correctly but there also is a combinedepisode number it seems to use.</p></blockquote><p></p>
[QUOTE="psiebe, post: 315234, member: 48780"] Hi All, I have been playing with the examples posted in this thread and almost got it to work all my series are in this format: alias\1x01 - titel.avi or, for doubles alias\1x01&02 - titel.avi Using this Expression: [CODE](?<series>[^\\$]+)\\(?<season>[0-9]+)x(?<episode>[0-9]+)(&(?<episode2>[0-9]+))? - (?<title>[^\\]*?)\.(?<ext>[^.]*)$[/CODE] Does the trick... almost For starters, it does not parse singles (so I had to include a second expression without the episode2 part) [CODE] (?<series>[^\\$]+)\\(?<season>[0-9]+)x(?<episode>[0-9]+)(?<title>[^\\]*?)\.(?<ext>[^.]*)$ [/CODE] Then, if I don't have a title, it will fail to parse on the above expression and will parse on the second, using the &02 as a title. Works fine if I have a title, but that is not common for my files. In addition, on parsing tests, it will populate the episode index2 with the full path&filename for all single episodes, don't know if that does any bad, but it does not feel right. Anyone that can point me in fixing my expression (and combine it if possible into 1) ??? Thanks, Patrick PS: Parsing of the episodes goes well, however only 1 shows up in the database after an import. is that expected behaviour? episodeindex and episodeindex2 are populated correctly but there also is a combinedepisode number it seems to use. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Default expressions/double episodes
Contact us
RSS
Top
Bottom