Fixed (mostly) Renaming incorrectly on episodes with numbers

neo_x

23-03-2008 05:09:48

Well..i think this will be a difficult one to solve, but i encoutered it about 5 times already.
will provide an example once again :
OLD name : Painkiller Jane 1x18 - Jane 113.avi
renamed by tvrename : Painkiller Jane - 1x13 - The league.avi

I am guessing tvrename recognizes the 113 as an episode name, and acts accordingly.
Cant remember the other shows with similar problems..... :P
found another :
Queer as Folk - 5x08 - Episode 508.avi
Queer as Folk - 5x09 - Episode 509.avi

sstteevvee

24-03-2008 11:50:31

I should be able to fix it by making it favour the leftmost thing that looks like an episode number in a filename. Its now on my, ever growing, list.

sstteevvee

04-04-2008 22:50:26

Fixed in version 2.0b20. The only catch now, in favouring the leftmost thing that looks like an season/episode number, is if you have a show called something like:

Foo 2001 - S01E02 - Uhoh 200.avi

Then it'll see that as Season 20, Episode 1. I'm still thinking of ways to make it get it right, but not screw up ones like:

Bar - S02E04 - Thing 306.avi

..which is now fixed with the new system (season 2, episode 4), but would have been seen as season 3, episode 6, before.