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]>
22 lines
732 B
Plaintext
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
|
|
)
|