Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
set("log.file",true)
set("log.file.path","/tmp/basic-radio.log")
set("log.stdout",true)
set("log.level",5)
set("harbor.bind_addr","0.0.0.0")
def my_request_function() =
result = get_process_output("../resources/php/executeable/liquidsoap.php")
# Create and return a request using this result
request.create(result)
end
# Create the source
s = mksafe(request.dynamic(my_request_function))
source = output.icecast(%mp3, host = "**.**.***.***", port = 8000, password = "****", mount = "radio.ogg")
source(s)
#/usr/bin/php
<?php
$url = "http://kaltura11.cdnwiz.com/path/to/music/file";
echo $url;;;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.