diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-19 16:16:50 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-19 16:16:50 +0200 |
commit | cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e (patch) | |
tree | 4a7e909a00b5e498ad7a0326522d9ca61dbd5af1 /odin/strm | |
parent | 1a2ccbe517994af2aee45ae3b8010a740546bcf7 (diff) | |
download | nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar.gz nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar.bz2 nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.tar.xz nixos-cf29c9ed7a02dd701ccdbb9944ecd88ee43e6d6e.zip |
…
Diffstat (limited to 'odin/strm')
-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 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 |