Files
web_server/icecast2/stream.liq.template
Adam French 469a225860
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Add fallback music to icecast server
2026-03-10 12:58:53 +00:00

17 lines
436 B
Plaintext

settings.server.telnet.set(false)
music = playlist("/music", mode="randomize", reload_mode="watch")
live = input.harbor("${LIQUIDSOAP_HARBOR_MOUNT}", port=${LIQUIDSOAP_HARBOR_PORT}, password="${ICECAST_SOURCE_PASSWORD}")
radio = fallback(track_sensitive=false, [live, music, blank()])
output.icecast(
%mp3,
host="localhost",
port=${ICECAST_PORT},
password="${ICECAST_SOURCE_PASSWORD}",
mount="${ICECAST_MOUNT}",
radio
)