123456789101112131415161718192021 |
- #!/home/jazzyeagle/.opam/system/bin/liquidsoap
- set("log.file.path", "/share/ccradio/ls.log")
- set("server.telnet", true)
- def nextsong() =
- uri = get_process_output("/share/programs/ccradio/manage.py getsong 2> /dev/null")
- request.create(uri)
- end
- ccradio = mksafe(request.dynamic(nextsong))
- output.icecast(%vorbis,
- host = "localhost",
- port = 3099,
- password = "ccradio",
- mount = "ccradio",
- icy_metadata="true",
- description="CC Radio",
- normalize(ccradio))
|