mirror of
https://git.lurk.org/repos/radio-looptober.git
synced 2024-12-26 21:50:42 +01:00
60619aad6c
to avoid downloading everything again, move the existing files to the new location: cd loooooops/ && mkdir 2022 && mv * 2022 Signed-off-by: ugrnm <ultrageranium@bleu255.com> |
||
---|---|---|
.gitignore | ||
download_loooooops.py | ||
LICENSE | ||
README | ||
README.md | ||
stream_loooooops-config.xml.example | ||
stream_loooooops.sh | ||
TODO |
radio-looptober
Can somehow download MP3 files posted under #looptober tag and turn that into a radio stream that for sure will be listened by billions across the fedi.
BUT HOW
There are two scripts:
- stream_loooooops.sh
- wrapper around ezstream
- takes a playlist and streams it
- download_loooooops.py
- gets latest toots tagged with #looptoper
- download all the attachment if new
- transcodes to opus
- generates new playlist and tells ezstream to reload it
USAGE
Quick and dirty, two tmux panes:
while true; do ./download_loooooops.py </dev/null && sleep 1d; done
stream_loooooops.sh
You can start whichever you want firt.
AGPL + DONATIONWARE
devi is dual licensed AGPL and donationware. If you find radio-looptober useful and can afford it, a donation to LURK is greatly appreciated :)