summaryrefslogtreecommitdiff
path: root/odin
diff options
context:
space:
mode:
Diffstat (limited to 'odin')
-rw-r--r--odin/strm/download_youtube5
1 files changed, 3 insertions, 2 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index f04bb519..1eb65def 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -321,11 +321,12 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
321 if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then 321 if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then
322 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then 322 if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then
323 printf "%s\n%s\n" "Media available on odin" "${title}" \ 323 printf "%s\n%s\n" "Media available on odin" "${title}" \
324 | uux -p -n 'hel!notify-gkleen' -a download_youtube -u normal \ 324 | uux -r -p -n 'hel!notify-gkleen' -a download_youtube -u normal \
325 && print "Sent notification to hel via uucp" 325 && print "Sent notification to hel via uucp"
326 else 326 else
327 queue.hel "${filename}" && notmuch tag '-inbox' '-unread' -- $msgId 327 queue.hel -r "${filename}" && notmuch tag '-inbox' '-unread' -- $msgId
328 fi 328 fi
329 systemctl --no-wait start uucico@hel.service
329 else 330 else
330 print "Message vanished from inbox" | warn 331 print "Message vanished from inbox" | warn
331 fi 332 fi