summaryrefslogtreecommitdiff
path: root/odin/strm
diff options
context:
space:
mode:
Diffstat (limited to 'odin/strm')
-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 3f578371..05a8374d 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -315,7 +315,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
315 done 315 done
316 awk -v "link=http://odin.asgard.yggdrasil/${relUrl}" '{ if (r == 0) { r = gsub("href=\"[^\"]+\"", "href=\"" link "\""); }; print; }' "${message}" >! $tmpFile 316 awk -v "link=http://odin.asgard.yggdrasil/${relUrl}" '{ if (r == 0) { r = gsub("href=\"[^\"]+\"", "href=\"" link "\""); }; print; }' "${message}" >! $tmpFile
317 mv -v $tmpFile $message 317 mv -v $tmpFile $message
318 notmuch tag '+cached' -- $msgId && printf "Tagged ā€˜%sā€™ as 'cached'" ${msgId} 318 notmuch tag '+cached' -- $msgId && printf "Tagged ā€˜%sā€™ as 'cached'\n" ${msgId}
319 319
320 if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then 320 if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then
321 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then 321 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then