I have a large number of TV show episodes that are not in a compatable naming convention for XBMC, and in fact FileBot can't consistently even read them. I'm hoping I can use the rename script to perform a bulk rename of all of the files, but could really use some help getting started with the script.
My files are all named using the following convention:
Show Name\Showname 1-1.ext
Show Name\Showname 1-2.ext
Show Name\Showname 2-1.ext
etc...
I'm hoping there is a way I can use the script to simply perform a bulk change of the episode naming from "show 1-1" to "show S01E01". The good news is that the files are very consistently named in this odd format, so I just need to get the right script to systematically change them all.
Any help would be greatly appreciated!!
Help with Rename Script
Re: Help with Rename Script
FileBot should be able handle any filename pattern that makes reasonably sense. Maybe there were some fine-tuning issues for certain corner cases with the latest release.
Have you tried with one of the latest HEAD jars?
https://sourceforge.net/projects/filebo ... ebot/HEAD/
Have you tried with one of the latest HEAD jars?
https://sourceforge.net/projects/filebo ... ebot/HEAD/
Please read the FAQ and How to Request Help.
-
- Posts: 4
- Joined: 03 Mar 2013, 16:46
Re: Help with Rename Script
I did just try the latest .jar from HEAD and for some reason certain certain episodes are not matched properly. I'd say its %85 accurate, but there always seems to be a few episodes that don't match right (for example "show 2-6" that will get matched to "show s06e01"). I figured it would be safest to just script something since the naming convention is %100 consistent.
Re: Help with Rename Script
That shouldn't happen. Please give me the filenames so I can have a look. The more episodes you match the better it works.
Except for duplicate episodes, you mustn't have duplicate episodes. Since it'll match files:episodes 1:1 and if something is double it's assumed to be on of the remaining episodes, usually specials. Also if the episode order of your files doesn't match what's in the db. Then you get "best guess" mismatches like that since filebot doesn't have the correct one to chose from in the first place. That won't change even if you have clean S00E00 patterns in the filename.
Except for duplicate episodes, you mustn't have duplicate episodes. Since it'll match files:episodes 1:1 and if something is double it's assumed to be on of the remaining episodes, usually specials. Also if the episode order of your files doesn't match what's in the db. Then you get "best guess" mismatches like that since filebot doesn't have the correct one to chose from in the first place. That won't change even if you have clean S00E00 patterns in the filename.
Please read the FAQ and How to Request Help.
-
- Posts: 4
- Joined: 03 Mar 2013, 16:46
Re: Help with Rename Script
Here is an example of some filenames that aren't matching properly. It has correctly matched 1-6, 1-7,, and 1-8 above for some reason you can see it is matching 5-6, 5-7, and 5-8 to season 1:
I have also had similar issues with other shows. Any thoughts? I'm happy using the script to clean them up if it would be easier.
I have also had similar issues with other shows. Any thoughts? I'm happy using the script to clean them up if it would be easier.
Re: Help with Rename Script
Ah I see. In this case it seems to be thrown off since differentiating by sxe numbers and absolute numbers is unbalanced. I'll see if I can fine-tune the metrics a bit.
As a work around you can use TVRage. I only get SxE data from there so it can only converge on the SxE numeric patterns.
EDIT: Fixed with r1503
As a work around you can use TVRage. I only get SxE data from there so it can only converge on the SxE numeric patterns.
EDIT: Fixed with r1503
Please read the FAQ and How to Request Help.
-
- Posts: 4
- Joined: 03 Mar 2013, 16:46
Re: Help with Rename Script
Just had a chance to test this out tonight and it works great! Thanks for taking the time to look into this.rednoah wrote: EDIT: Fixed with r1503