summaryrefslogtreecommitdiff
path: root/odin/strm/download_youtube
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-19 16:14:49 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-19 16:14:49 +0200
commit1a2ccbe517994af2aee45ae3b8010a740546bcf7 (patch)
tree8fbc1b8cacc006041cfdc7c458c4262858c29bd1 /odin/strm/download_youtube
parent7b25c24855faff24c5e40a0d583d91b09ac4ed3d (diff)
downloadnixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar
nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar.gz
nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar.bz2
nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.tar.xz
nixos-1a2ccbe517994af2aee45ae3b8010a740546bcf7.zip
escaping
Diffstat (limited to 'odin/strm/download_youtube')
-rw-r--r--odin/strm/download_youtube2
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