1
0
mirror of https://git.lurk.org/repos/radio-looptober.git synced 2024-12-26 21:50:42 +01:00
Go to file
Claude Heiland-Allen 60619aad6c per-year download directory
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>
2023-09-30 17:35:59 +02:00
.gitignore ignore playlist 2022-10-09 17:04:16 +02:00
download_loooooops.py per-year download directory 2023-09-30 17:35:59 +02:00
LICENSE Initial commit 2022-10-05 10:46:20 +02:00
README stop ffmpeg going beserk with rogue text input 2023-09-30 17:35:53 +02:00
README.md legacy respect 2022-10-09 17:45:39 +02:00
stream_loooooops-config.xml.example template config file for ezstream 2022-10-09 17:32:40 +02:00
stream_loooooops.sh do not restart when I tell you not 2022-10-09 17:06:26 +02:00
TODO transcode to opus 2023-09-30 17:35:40 +02:00

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