Created
August 10, 2016 08:32
-
-
Save rmcauley/07d5df741d495dade717ef8034a4c3f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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