Renaming help

brianaxel

05-03-2011 06:53:53

I have a bunch of files named like this:

Season 2\Beach Blanket Brandon season 2 Episode 1.avi

And some like this:
Season 1\Every Dream has its price Episode 03.avi

The folder is always the season number, so that shouldn't be a problem. The episode is always the last in the filename, so (I thought) that shouldn't be a problem. Still it won't work... and I have 300 of these :)
How do i get TVrename to recognize these?

BigBouncingBob

05-03-2011 18:07:21

I'm having a similar issue, I'm gathering all my collections together & preparing them for my XBMC Library. The problem is that the files come from many different sources & have their own naming structure. TVRename can find most when adding to the database but not all.

For example, (Supernatural.S05E01.Sympathy.for.the.Devil.HDTV.XviD-FQM.avi) can be found, renamed & moved. But in the other case (Full Metal Alchemist - 02 Body of the Sanctioned (engdub).avi) can't be fount at all. That's just a small example, but it's trouble through out my entire Library right now.

I thought to myself, 'Self, there must be an easier way than sitting down & manually brows & search for each of these occurrences'. That would take hours upon tedious hours & at that point it's about as fast as renaming the files myself. So I consulted the User Guide on the site & found that there was this nifty little feature that took care of this exact issue. You could just pointed it at a directory & it would try to match up the files with the missing episodes. It was called the Finding and Organizing tab that was available way back in v2.0, but, for whatever reason, was taken out of the current v.2.2.0b7.

I've read that the dev stopped 'dev-ing' since his program does everything he wanted it to, I can understand that. I can also understand that he's to busy with the rest of life to work on something that, in his view, no longer needs. So I'm reaching out to anyone else who might pick up where he left off & reimplement that somewhat vital, & very useful, feature.

-----
Help me Obi-Wan Kenobi, you're my only hope.

BigBouncingBob

05-03-2011 18:09:36

Stupid internet...double request sent.

BigBouncingBob

10-07-2011 14:11:29

In the end I troubleshot my way through it & it ended up working out nearly all the strangely labeled files that I have. Only a few are out of place now, but that's due to previous renaming errors.

If you haven't worked this out yourself, &/or resorted to renaming your files manually, I step you through it. If you've worked it out on your own, good for you, I'll layout the steps for anyone else with the issue.

Go to Options > File Name Processor, a window will pop up with a bunch of codes that help the program read your files.
Click the browse button in the middle of the screen & navigate to the folder your having troubles with.
Now click Add on the middle left, & type in the following.

(^|[^a-z]) Season (?<s>[0-9]) Episode (?<e>[0-9])

Which will let the program find any episodes labeled like; "Episode Name Season X Episode X.format".

Click Add again & type the following.

(^|[^a-z]) Episode (?<e>[0-9]{2,})

Which will find any shows labeled like; "Episode Name Episode XX.format".

I'm sure there are more extensive guides to writing Regex code for TVrename, but some of them can get confusing.

Hope this was helpful!