You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
362 B
12 lines
362 B
#!/bin/zsh
|
|
|
|
echo "let's go"
|
|
find $PWD /home/user/incoming | grep .mp3 | shuf > /media/mp3/playlist.m3u
|
|
source .venv/bin/activate
|
|
python palanggana.py --magic shoutout | \
|
|
python renderradiopage.py | \
|
|
python buildplaylist.py >> /media/mp3/playlist.m3u;
|
|
liquidsoap ../radio/radio.liq &&
|
|
echo "the radio is currently off" | python renderradiopage.py;
|
|
deactivate;
|
|
|
|
|