jkwill87 / mnamer

media file renaming and organizing tool
https://pypi.org/project/mnamer
MIT License
784 stars 67 forks source link

subtitle file 'dir/filename.en.srt' is moved to 'newdir/cleanedfilename.' with no language or extension. #266

Open data-flux opened 1 year ago

data-flux commented 1 year ago

This seems to be cause by https://github.com/jkwill87/mnamer/blob/main/mnamer/target.py#L122, which should be removed because proper renaming is handled by utils.str_sanitize within Target.destination.

Remove line 122 fixes the issue for me.

mdeeter commented 11 months ago

I am having the same issue. Thank you @data-flux ....I was able to comment out line 122 and it fixed my issue!

hrvstr commented 5 months ago

Any chance that this change can be merged with the package in pip?