summaryrefslogtreecommitdiff
path: root/odin/strm
diff options
context:
space:
mode:
Diffstat (limited to 'odin/strm')
-rwxr-xr-xodin/strm/download_youtube4
1 files 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}"
116 typeset -a args 116 typeset -a args
117 args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString}) 117 args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString})
118 118
119 youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | { 119 @youtube-dl@/bin/youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | {
120 oldIFS=${IFS} 120 oldIFS=${IFS}
121 export IFS= 121 export IFS=
122 122
@@ -156,7 +156,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
156 fi 156 fi
157 fi 157 fi
158 158
159 youtube-dl $args -o "${filename:r}.%(ext)s" -- ${url} 2>&1 </dev/null | stdbuf -o0 tr '\r' '\n' 159 @youtube-dl@/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