#!/usr/bin/liquidsoap # Mux input1 = mksafe(input.harbor("direct.ogg",port=8000,password="JsCabjWJUZXrrrKCaaRZma5wD4YKj5LQLXv6f")) # Direct mp3 output.icecast( %mp3(bitrate=128, samplerate=22050, stereo=false), mount="/direct.mp3", host="icecast", port=8000, password="JsCabjWJUZXrrrKCaaRZma5wD4YKj5LQLXv6f", input1) # Radioking #output.icecast( # %mp3(bitrate=128, samplerate=22050, stereo=false), # mount="/test355", # host="live.radioking.com", port=80, user="", password="", # input) # Direct ogg output.icecast( %vorbis(samplerate=44100, channels=1, quality=0.2), mount="/direct.ogg", host="icecast", port=8000, password="JsCabjWJUZXrrrKCaaRZma5wD4YKj5LQLXv6f", input1) # Pige output.file(%vorbis(samplerate=44100, channels=1, quality=0.2), '/archives/%Y-%m-%d-%Y-%m-%d-%H_%M_%S.%s.ogg', input1, reopen_when={0s}, reopen_delay=60.0)