2.20b10 rename problem some files.

pzam

28-10-2011 03:12:48

--the ver 10 is not renaming all the files ... any that are like this

show-name 1x01,avi no text after the episode
show-name s01e01.avi "
show-name 1x1.avi no zero in front of the episode


--it seems to work if they are like :
show-name 1x01 stuff-stuff-stuff.avi

--here are some regex I sort of got to work
(^|[^a-z])(?<s>[0-9]+)x(?<e>[0-9]{2,})
(^|[^a-z])(?<s>[0-9]+)x(?<e>[0-9]+)[^a-z]
(^|[^a-z])s?(?<s>[0-9]+)[ex](?<e>[0-9]{2,})(e[0-9]{2,})*[^a-z] this one needs the s00e00 part removed

--I noticed this after I accidentally renames several files wrong.

I found a program called regexrenamer on sourceforge that lets you test them and shows if they are in error. I really do not understand regex I just poked pecked at it till it worked.

this is what I used for output regex on the regexrenamer to test. i could not figure how you get just 2 digits for the season but it worked for what i needed today.

s0${s}e${e}