diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-19 16:14:49 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-19 16:14:49 +0200 |
commit | 1a2ccbe517994af2aee45ae3b8010a740546bcf7 (patch) | |
tree | 8fbc1b8cacc006041cfdc7c458c4262858c29bd1 | |
parent | 7b25c24855faff24c5e40a0d583d91b09ac4ed3d (diff) | |
download | nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar.gz nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar.bz2 nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar.xz nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.zip |
escaping
-rw-r--r-- | odin/strm/download_youtube | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index 77172c87..a749add2 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube | |||
@@ -156,7 +156,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" | |||
156 | fi | 156 | fi |
157 | fi | 157 | fi |
158 | 158 | ||
159 | @youtubedl@/bin/youtube-dl $args -o "${filename:r}.%(ext)s" -- ${url} 2>&1 </dev/null | stdbuf -o0 tr '\r' '\n' | 159 | @youtubedl@/bin/youtube-dl $args -o "${${filename:r}//\%/\%\%}.%(ext)s" -- ${url} 2>&1 </dev/null | stdbuf -o0 tr '\r' '\n' |
160 | ytResult=$? | 160 | ytResult=$? |
161 | 161 | ||
162 | if [[ ! -e ${filename} && -n ${filename} ]]; then | 162 | if [[ ! -e ${filename} && -n ${filename} ]]; then |