petrkotek / chromecastize

Bash script to convert video files into Google Chromecast supported format.
MIT License
178 stars 34 forks source link

Filenames with spaces #37

Closed cbowman57 closed 7 years ago

cbowman57 commented 7 years ago

It appears that with the latest commit filenames with spaces are no longer processed.

pfrenssen commented 7 years ago

Thanks for the report! I've just seen that quotes are missing around the filename, that's probably causing it. It seems this was working by accident before, and the fix for #35 has exposed this bug.

Will post a fix shortly.

cbowman57 commented 7 years ago

I figured it was something as simple as that. But I'm no script wizard. ;-)

One addition I do make, for my own convenience, is moving the $1.bak to trash with gvfs-trash.

Thanks for getting on it so quickly.

pfrenssen commented 7 years ago

There was an older feature request to automatically remove the *.bak files: #4. That has not been implemented yet though but it seems like a worthwhile addition.

cbowman57 commented 7 years ago

I find it convenient.

Initially I deleted them but opted to send them to trash, just in case.