Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Skip rename if media file is already named correctly #13

Closed
Kalroth opened this issue Feb 15, 2017 · 1 comment
Closed

Skip rename if media file is already named correctly #13

Kalroth opened this issue Feb 15, 2017 · 1 comment

Comments

@Kalroth
Copy link
Contributor

Kalroth commented Feb 15, 2017

The directory (NZB?) name is always the correct one for me, while its rarely correct for the filename. So I use the following pattern to rename movie files: %dn/%dn.%ext

My issue is that if the file is already named correctly, it gets renamed to Movie.2017-RLS (2).mkv.

I've tried to enable overwrite, but that only makes VideoSort throw the download away and NZBGet then starts downloading the media again.

Is there a way to avoid renaming movie files that are already named correctly?

hugbug pushed a commit that referenced this issue Jun 12, 2017
When the destination path is the same as the original filename, the file would be renamed with a numbered suffix (ex. (2) ) added to the filename.

This fix will prevent the file from being renamed when the destination filename is the same as the original filename.
@hugbug
Copy link
Member

hugbug commented Jun 12, 2017

Fixed with #17.

@hugbug hugbug closed this as completed Jun 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants