diff --git a/bin/megaton_radio.sh b/bin/megaton_radio.sh new file mode 100755 index 0000000..716e114 --- /dev/null +++ b/bin/megaton_radio.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +VOL=25 + +mplayer "http://us2.internet-radio.com:8443/;stream" -cache 1024 -cache-min 20 -volume $VOL -softvol -channels 2 -af pan=1:0.5:0.5 diff --git a/bin/pipe_announcement b/bin/pipe_announcement new file mode 100755 index 0000000..691c0bd --- /dev/null +++ b/bin/pipe_announcement @@ -0,0 +1,4 @@ +#!/bin/bash + +mosquitto_pub -t vault/psa/announcement -l + diff --git a/bin/schedule_announcement b/bin/schedule_announcement new file mode 100755 index 0000000..3316987 --- /dev/null +++ b/bin/schedule_announcement @@ -0,0 +1,9 @@ +#!/bin/bash + +TIME=$1 +shift +at "$TIME" <