jean-cloud-services/old_services/radiodemo.oma-radio.fr.classic/transcode.liq
2024-01-02 17:50:14 +01:00

12 lines
354 B
Plaintext

#!/usr/bin/liquidsoap
input = mksafe(input.http("http://icecast:8000/direct.ogg"))
#blank = single("/secours.ogg")
#input = fallback(track_sensitive=false, [input, blank])
output.icecast(
%mp3(bitrate=128, samplerate=22050, stereo=false),
mount="/direct.mp3",
host="icecast", port=8000, password="JsCabjWJUZXrrrKCaaRZma5wD4YKj5LQLXv6f",
input)