# 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 )