Closed frawa closed 7 years ago
I tried running this on a directory. Before I applied the fix I got the following error message:
$ chromecastize.sh my\ folder/
my folder/: Is a directory
But after applying it the process still failed because at some point the filename gets split on spaces.
Does it work with a directory name with no blanks? In that case I propose to split the two issues. Fixing director mode first, and look at the blanks in names problem next, which was already raised as #22.
I just checked, it does work as expected with a filename without spaces. You're right, that's out of scope for this PR. Merging into master, thanks for the fix!
take parameter in function process_file