#!/usr/bin/liquidsoap # Log dir set("log.file.path","/tmp/basic-radio.log") set("init.daemon",true) set("init.daemon.pidfile",false) # Music myplaylist = playlist("/music/playlist.txt") # Some jingles #jingles = playlist("~/radio/jingles.m3u") # If something goes wrong, we'll play this #security = single("~/radio/sounds/default.ogg") # Start building the feed with music radio = myplaylist # Now add some jingles #radio = random(weights = [1, 4],[jingles, radio]) # And finally the security #radio = fallback(track_sensitive = false, [radio, security]) radio = crossfade(start_next=1.,fade_out=5.,fade_in=3.,playlist("/music/playlist.txt")) # Stream it out output.icecast(%vorbis, host = "localhost", port = 8000, password = "****", mount = "play", radio)
output.icecast(%vorbis,
output.icecast(%external("lame -V0 -b 192 - -",restart_on_crash=true),icy_metadata="true",format="audio/mpeg",
output.icecast(%mp3(stereo=true, samplerate=44100, bitrate=192),