From 0ab64fe6ef3182019f5e9090a966b270cfd1cca1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 6 Apr 2018 14:37:22 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin/strm/download_youtube | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index 33e9a454..41d532cc 100755 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube @@ -116,7 +116,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" typeset -a args args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString}) - youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | { + @youtube-dl@/bin/youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | { oldIFS=${IFS} export IFS= @@ -156,7 +156,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" fi fi - youtube-dl $args -o "${filename:r}.%(ext)s" -- ${url} 2>&1 &1