Skip to content

Instantly share code, notes, and snippets.

@iliaaw
Created July 30, 2013 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save iliaaw/6114659 to your computer and use it in GitHub Desktop.
Save iliaaw/6114659 to your computer and use it in GitHub Desktop.
Example of LiquidSoap config for https://github.com/ilyakhokhryakov/radio-server
#!/usr/bin/liquidsoap
set("server.telnet", true)
files = playlist(
mode = "normal",
id = "files",
"PATH_TO_PLAYLIST.m3u"
)
output.icecast(
%mp3,
id = "stream",
host = "localhost",
port = 8080,
url = "localhost",
password = "PASSWORD",
mount = "MOUNT_NAME",
mksafe(files)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment