Skip to content

Instantly share code, notes, and snippets.

@oleoneto
Forked from iliaaw/radio.liq
Created November 24, 2020 19:58
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 oleoneto/c27e97285454da97160c54c4d67618e2 to your computer and use it in GitHub Desktop.
Save oleoneto/c27e97285454da97160c54c4d67618e2 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