Expressions/Rules requests (2 Viewers)

z3us

Portal Pro
December 4, 2007
1,047
123
44
Home Country
Spain Spain
Like this?

Code:
(?<series>[\w .,'!&$]*)\\T(?<season>\d\d?)\\(?<season>\d\d?)x(?<episode>\d\d?).*\.
 

pgjensen

Portal Pro
May 1, 2008
186
7
yup ... add a ^ at the front and a $ at the end of the expression to make it proper :)

what is the T for after \\ before season?
 

z3us

Portal Pro
December 4, 2007
1,047
123
44
Home Country
Spain Spain
T1 T2 T3 etc
Season = Temporada in spanish

All my episodes are in this path:
<Serie name>/T<season number>/<Serie name> <season number>x<episode number> anything.<ext>

The second <serie name> is optative:

Heroes/T1/Heroes 1x01.avi
House/T2/2x10.avi
Perdidos/T3/3x9 -dual-.avi

I hope there is a expression that can work with everyone.

Code:
^(?<series>[\w .,'!&$]*)\\T(?<season>\d\d?)\\(?<season>\d\d?)x(?<episode>\d\d?).*\.$

still is not working
It recognize:
Perdidos 2x10 -dual-.avi

but not:
Perdidos 2x9 -dual-.avi

But in the parsing test is not red.

File is in a DVD, and the unit is set as "removable"
 

pgjensen

Portal Pro
May 1, 2008
186
7
the regexp has backslashes, but the filepaths you gave have forward slashes

^(?<series>[\w .,'!&$]*)/T(?<season>\d\d?)/.*(?:\d\d?)x(?<episode>\d\d?).*\.(?<ext>\w{3,4})$

that works with the forward slashes. i tested it.

if it's backslashes, just replace the "/" with "\\". This is a 100% valid regexp and should work. if it doesn't work within MP, then that's MP's fault :)
 

seaney

Portal Member
November 21, 2007
9
0
Home Country
i've gone through this thread and couldnt find anything for my problem.

My tv folder is setup as follows:

X:\TV Shows\Everybody Loves Raymond\Season 01\Epsiode 01 - Pilot.avi

some have no title, just Episode 01.avi for some shows.

I have tried a few thigns, but by looking at the parsing expressions, that should work
\Series\Season <season>\Epsiode <episode> - <title>.<ext> Simple
or, Episode <episode>.<ext>

Any ideas why this shouldnt be working? I spent 3 hours last night renaming everything to this format, i dont really want to go back and change it all if posible.

Cheers
 

Users who are viewing this thread

Top Bottom