Skip to content

Instantly share code, notes, and snippets.

@daslicht
Last active December 19, 2015 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daslicht/5934180 to your computer and use it in GitHub Desktop.
Save daslicht/5934180 to your computer and use it in GitHub Desktop.
#!/usr/bin/liquidsoap
# Log to stdout
set("log.file",false)
set("log.stdout",true)
set("log.level",4)
# Initial playlist
#cue = "AnSolas&LightRocker-LiveSet2012.cue"
#radio = cue_cut(mksafe(playlist(cue)))
#x = playlist.reloadable(cue, on_done=shutdown)
#s = snd(x)
#s = cue_cut(s)
radio = playlist(mode="randomize","/home/radio")
radio = mksafe(radio)
output.icecast(%vorbis,
host = "localhost", port = 8000,
password = "bewelcome", mount = "stream.ogg",
radio)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment