MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Community Skins and Plugins » MediaPortal Plugins » Popular Plugins » Maintained Plugins » My TVSeries


Reply
 
LinkBack Thread Tools Display Modes
Old 2007-10-11, 21:54   #1 (permalink)
Portal Member
 
Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default Series [11x01] Ep Name.avi WON'T PARSE!!!!

Ok, I've only got a handful of files, so if there's a manual way I could do this manually, but it's a right pain. I used TheRename to rename them all like this from my recordings because I find it much easier to read, but I can't get it to parse for love or money. Been trying simple expressions due to the simplicity.

Directory structure is

X:\Series Name\Series [11x01] Ep Name.avi

Where 11 is the season number, and 01 is the episode number.

I've been trying \<series>\<series> [<season>x<episode>] <title>.<ext>

and ALL SORTS of variations on it, without any success at all.

Any help would be greatly appreciated, or I'll just do it manually if someone can tell me how.

Many thanks in advance.

Update - It looks like it converts my Simple expression to RegEx and then applies it? Which throws up an error "Too many )'s" ????

Last edited by Rick; 2007-10-11 at 21:58.. Reason: Automerged Doublepost
Rick is offline   Reply With Quote
Old 2007-10-11, 22:03   #2 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 24
Posts: 758
Thanks: 144
Thanked 112 Times in 57 Posts

Country:

My System

Default

I'm taking a guess here, but I think the brackets are what's giving you problems. Try removing them on an episode and see what happens. I think you have to add a \ before each bracket in a regular expression to get the regex parser to treat them as a bracket. Again, I'm not 100% sure that I'm correct, but it's worth a shot.
jburnette is offline   Reply With Quote
Old 2007-10-11, 22:06   #3 (permalink)
Portal Member
 
Join Date: Oct 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Unfortunately not

Expression is now this

\series\<series>\[<season>x<episode>\]<title>.<ext>

Right, final update. jburnette, you're right, it's the square brackets causing the problem, HOWEVER, \ is not the way to have RegEx parse them, any other ideas?

Last edited by Rick; 2007-10-11 at 22:34.. Reason: Automerged Doublepost
Rick is offline   Reply With Quote
Old 2007-10-12, 00:00   #4 (permalink)
Portal User
 
Join Date: Feb 2007
Age: 30
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Default

If you still have the default parsing expressions then the quickest thing to do is:
Add two string replacement items: "[" -> "<empty>" and "]" -> "<empty>" and make sure you check both check boxes to run before match and activate it.

if you removed them, this the one you need to add:
<series> - <season>x<episode> - <title>.<ext>
tjb0647 is offline   Reply With Quote
Reply

Bookmarks

Tags
11x01, nameavi, parse, series

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature Request: Parse Episode based on aired date alteeffour My TVSeries 3 2007-10-21 21:20
Using avi instead of DVD? ShAddiX My Films 2 2007-07-10 14:33
help cant play avi erictan77 Codecs, External Players 2 2006-09-03 16:57
-cd1.avi -cd2.avi need help please look Deniro Codecs, External Players 5 2006-04-28 14:54


All times are GMT +1. The time now is 07:45.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden