Hi, I've created a simple script that renames tv shows based on the excellent scripts that have been posted here. I've run into a problem with a specific tv show. Lets say I have a file im trying to rename like "[HorribleSubs] Fate Stay Night - Unlimited Blade Works - 08 [720p].mkv" In this case the show name is Fate Stay Night: Unlimited Blade Works, however there is also a show called Fate Stay Night. Filebot correctly finds both of these shows as an option for renaming but then chooses the shorter one as the "correct" series name.
I havn't been able to figure out a way to be able to compare the filename to the different possible series names that filebot comes up with but I am a complete groovy noob so I am struggling to find something that works. What I think would work would be to compare tokens from the filename and the multiple different show names that filebot finds and then have it pick the show that has the most "matching" tokens.
I'm not really sure how exactly to get the series name that filebot has decided are possibilities and use that to do what I want to do above, so if anyone has any ideas or if someone can point me in the right direction I would be very appreciative!
Script not matching show correctly
Re: Script not matching show correctly
Have you had a look at the --filter option? See FAQ #2