#!/usr/bin/liquidsoap # Log dir set("log.file.path","/tmp/basic-radio.log") # Music myplaylist = mksafe(audio_to_stereo(playlist(reload=3600,"/home/ghtk/radio/collection/security/"))) # Start building the feed with music radio = myplaylist # Stream it out output.icecast(%vorbis(samplerate=44100, channels=2, quality=0.3), host = "localhost", port = 8000, password = "424242", mount = "live", radio) # Stream it out output.icecast( %mp3(bitrate = 48), host = "localhost", port = 8000, password = "424242", mount = "live2", radio)