a-jackson/tvsorter

Rename existing episode doesn't take file extension into account

Closed this issue · 0 comments

When an episode already exists with a different file name, the original file is renamed rather than making a duplicate. This doesn't take into account the extension of the file. If there is Show.S01E01.Episode.mp4 and you move an avi, it will just rename the mp4 to .avi. This is obviously incorrect behaviour.

It should either create a duplicate, or skip the file as a different one already exists.