summaryrefslogtreecommitdiff
path: root/odin/strm/download_youtube
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-19 16:16:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-19 16:16:50 +0200
commitcf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e (patch)
tree4a7e909a00b5e498ad7a0326522d9ca61dbd5af1 /odin/strm/download_youtube
parent1a2ccbe517994af2aee45ae3b8010a740546bcf7 (diff)
downloadnixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar
nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar.gz
nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar.bz2
nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar.xz
nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.zip
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 a749add2..f04bb519 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