Files
stpweb/icecast2/stream.liq.template
adamfandClaude Opus 5.5 4530cb8dc4
Test and deploy / test (push) Successful in 28s
Test and deploy / deploy (push) Successful in 31s
Trim comments to the non-obvious why
Drop narration, history and restated-code comments across the repo,
keep short ones for security boundaries, upstream quirks and ordering
constraints, and record the convention in CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 20:49:03 +00:00

22 lines
732 B
Plaintext

# Rendered by entrypoint.sh. Fallback chain: live harbor input, then the
# watched /music playlist, then silence. track_sensitive=false switches to a
# live DJ immediately. amplify trims the loud fallback MP3s. fallible=true
# survives the entrypoint's startup race.
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 = amplify(0.7, 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
)