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.
 
 
Claude Heiland-Allen 81b34db0e6 more todo 11 months ago
.gitignore ignore playlist 2 years ago
LICENSE Initial commit 2 years ago
README stop ffmpeg going beserk with rogue text input 8 months ago
README.md legacy respect 2 years ago
TODO more todo 8 months ago
download_loooooops.py per-year download directory 8 months ago
stream_loooooops-config.xml.example template config file for ezstream 2 years ago
stream_loooooops.sh do not restart when I tell you not 2 years ago

README.md

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 :)

https://opencollective.com/lurk