dbr / tvnamer

Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api
https://pypi.python.org/pypi/tvnamer/
The Unlicense
912 stars 115 forks source link

Moving to directory does not respect safe filenames #3

Open rinseaid opened 14 years ago

rinseaid commented 14 years ago

I am using version 2010-03-01 under Ubuntu 9.10.

I have configured my tvnamer.json such that files are moved to: /media/data/Series/%(seriesname)s/Season %(seasonnumber)s/

If a file is named, for instance, "Series: Series Subtitle", tvnamer will attempt to move it to:

"/media/data/Series/Series: Series Subtitle/Season 1/Series- Series Subtitle - S01E01.avi"

Note that the actual filename is presented with safe characters but the directory name is not.

Upon completion I am left with a corrupted directory.

dbr commented 14 years ago

Yep, this is a known problem, I'll hopefully fix it this weekend. http://dbr.lighthouseapp.com/projects/36049/tickets/2-move-renamed-files-to-specific-folder#ticket-2-21