Renaming issue, I just can't figure it out!

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Renaming issue, I just can't figure it out! Sat Oct 13, 2012 9:23 pm • by Redeemer
Hi,

I've already came across some pretty tough rename patterns and succeeded to break it, this one however is making me itch.. it seems so simple but i definitely need some help on this one :)

It goes like this:

Show Title Season 01 Episode 01 - And This is The Episode Title.m4v

So without periods, brackets etc

Has to be renamed to this:

Show - S01E01


Any tips are very welcome, thanks in advance!
Redeemer
 
Posts: 1
Joined: Sat Oct 13, 2012 9:12 pm

The short answer is that unless there are delimiters besides spaces between the Show and Title there isn't going to be an easy way to break up the filename unless all of your shows have only one word in their name.

I am sure that you're already using custom tokens in your attempt to solve the problem, but in case you aren't (or there are readers of this post who don't know what I'm talking about) see my basic tutorials on custom matching.

That said, there is a way that you can do this, but you're going to have to know the name of the show before hand. We can do this in two ways - either create a directory for each show or maintain a plaintext file with all of the shows that you're collecting. Then, create a script that parses the file name looking for similar phrases once the phrase is found, then insert a known delimiter. A second rule will then parse this newly delimited file with ease.

I don't have time to type out the full solution now, but that is the basic idea.
a_freyer
 
Posts: 631
Joined: Tue Sep 30, 2008 9:21 am
Location: Colorado


Return to Support