tvnamer icon indicating copy to clipboard operation
tvnamer copied to clipboard

Preserve original filename

Open pcrutchl opened this issue 14 years ago • 1 comments

It seems like considering the application, an option to protect the original filename would be valuable. At this point, I don't see a way to copy the file to another folder and rename it, but leave the original file alone.

Using %(original filename)s I was able to move the file to the new destination with the original filename, but it renamed the file in the original destination. Is there a way to reverse this in the JSON file?

pcrutchl avatar Nov 18 '11 03:11 pcrutchl

The current code is a bit crappy in this respect, because I added the file-moving as an afterthought - it really needs refactored..

It should parse the file, calculate the new filepath, then either rename, move or copy the file to the new path. Currently it just renames, then moves, in two largely unrelated chunks of code

Is there a way to reverse this in the JSON file?

Not that I'm aware of :/

dbr avatar Nov 21 '11 13:11 dbr