summaryrefslogtreecommitdiff
path: root/odin
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-28 12:55:44 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-28 12:55:44 +0200
commit82cbdfc56d2f6f6ffdfd5aa5bdbfd06ee0611c99 (patch)
tree67371380b5ffc86b98ac2bd49013d9b3ed4ecb65 /odin
parent9b80f162e11d4019ef7fc834940fd265065baa84 (diff)
downloadnixos-82cbdfc56d2f6f6ffdfd5aa5bdbfd06ee0611c99.tar
nixos-82cbdfc56d2f6f6ffdfd5aa5bdbfd06ee0611c99.tar.gz
nixos-82cbdfc56d2f6f6ffdfd5aa5bdbfd06ee0611c99.tar.bz2
nixos-82cbdfc56d2f6f6ffdfd5aa5bdbfd06ee0611c99.tar.xz
nixos-82cbdfc56d2f6f6ffdfd5aa5bdbfd06ee0611c99.zip
Start uucico via systemd
Diffstat (limited to 'odin')
-rw-r--r--odin/strm/download_youtube1
-rw-r--r--odin/strm/send_kitty2
2 files changed, 1 insertions, 2 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index adc22176..cd30708b 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -323,7 +323,6 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
323 else 323 else
324 queue.hel -r "${filename}" && notmuch tag '-inbox' '-unread' -- $msgId 324 queue.hel -r "${filename}" && notmuch tag '-inbox' '-unread' -- $msgId
325 fi 325 fi
326 systemctl --no-block start uucico@hel.service
327 else 326 else
328 print "Message vanished from inbox" >&2 327 print "Message vanished from inbox" >&2
329 fi 328 fi
diff --git a/odin/strm/send_kitty b/odin/strm/send_kitty
index a294d84c..60eb11ec 100644
--- a/odin/strm/send_kitty
+++ b/odin/strm/send_kitty
@@ -37,5 +37,5 @@ fi
37newFile="${concatDir}/$(date +'%Y-%m-%d-%H-%M-%S').mkv" 37newFile="${concatDir}/$(date +'%Y-%m-%d-%H-%M-%S').mkv"
38 38
39@ffmpeg@/bin/ffmpeg -safe 0 -f concat -i =(awk $'{ print "file \'"$0"\'" }' ${fList}) -c copy -metadata "description=$(xargs -a ${fList} -- basename -s ".mkv")" ${newFile} 39@ffmpeg@/bin/ffmpeg -safe 0 -f concat -i =(awk $'{ print "file \'"$0"\'" }' ${fList}) -c copy -metadata "description=$(xargs -a ${fList} -- basename -s ".mkv")" ${newFile}
40queue.hel ${newFile} 40queue.hel -r ${newFile}
41ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile} 41ln -vfs $(realpath --relative-to=${lastFile:h} ${newFile}) ${lastFile}