nstanger / process_podcast

Python script for processing and assembling a podcast from various input sources
0 stars 0 forks source link

May not handle filenames with () in them? #26

Closed nstanger closed 8 years ago

nstanger commented 8 years ago

The shellquote method in shell_command.py replaces () with \(\), which results in literal backslashes in the filename (e.g., foo(bar) becomes foo\(bar\)), giving “No such file or directory”.

nstanger commented 8 years ago

May also not work if the filename contains blanks, etc., and is backslash-escaped on the command line, e.g., foo\ bar.txt? No problem if it’s fully quoted, e.g., "foo bar.txt".

nstanger commented 8 years ago

Tested: backslash quoting of whitespace, etc., in filenames is fine.