diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-12-19 07:16:05 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-12-19 07:16:05 +0100 |
commit | 793065d2a9e75c52c1dbd63f9cfa7bb97b31ab67 (patch) | |
tree | dde12c026da735106c66b7b7b98f31b99237d147 /odin/strm/download_youtube | |
parent | 09bf279baf62e299c62884cfad8874a8c5929b0c (diff) | |
download | nixos-793065d2a9e75c52c1dbd63f9cfa7bb97b31ab67.tar nixos-793065d2a9e75c52c1dbd63f9cfa7bb97b31ab67.tar.gz nixos-793065d2a9e75c52c1dbd63f9cfa7bb97b31ab67.tar.bz2 nixos-793065d2a9e75c52c1dbd63f9cfa7bb97b31ab67.tar.xz nixos-793065d2a9e75c52c1dbd63f9cfa7bb97b31ab67.zip |
have strm send to sif
Diffstat (limited to 'odin/strm/download_youtube')
-rw-r--r-- | odin/strm/download_youtube | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index f669fda4..f8c05fdf 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube | |||
@@ -348,10 +348,10 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" | |||
348 | if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then | 348 | if [[ -n "$(notmuch search "tag:inbox AND $msgId")" ]]; then |
349 | if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then | 349 | if [[ ${msgTags[(i)tv]} -le $#msgTags ]]; then |
350 | printf "%s\n%s\n" "Media available on odin" "${title}" \ | 350 | printf "%s\n%s\n" "Media available on odin" "${title}" \ |
351 | | uux -r -p -n 'hel!notify-gkleen' -a download_youtube -u normal \ | 351 | | uux -r -p -n '@remoteNode@!notify-gkleen' -a download_youtube -u normal \ |
352 | && print "Sent notification to hel via uucp" | 352 | && print "Sent notification to @remoteNode@ via uucp" |
353 | else | 353 | else |
354 | queue.hel -r "${filename}" && notmuch tag '-inbox' '-unread' -- $msgId | 354 | queue.@remoteNode@ -r "${filename}" && notmuch tag '-inbox' '-unread' -- $msgId |
355 | fi | 355 | fi |
356 | else | 356 | else |
357 | print "Message vanished from inbox" >&2 | 357 | print "Message vanished from inbox" >&2 |