If a directory contains movies files which have whitespace in their names chromecastize fails to correctly process the files because the central loop for f in $(find ...) splits strings by whitespace (which is the default in bash). I workaround this problem with another script which does the find -type f .. and sets IFS=$'\n' which makes the for loop break list items by new line...
If a directory contains movies files which have whitespace in their names
chromecastize
fails to correctly process the files because the central loopfor f in $(find ...)
splits strings by whitespace (which is the default in bash). I workaround this problem with another script which does thefind -type f ..
and setsIFS=$'\n'
which makes thefor
loop break list items by new line...