Files
web_server/icecast2/stream.liq.template
Adam French 5b041d7364
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 19s
Add fallible
2026-03-10 13:33:54 +00:00

18 lines
451 B
Plaintext

settings.server.telnet := 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}",
fallible=true,
radio
)