Created
February 17, 2013 07:43
-
-
Save mcfiredrill/4970578 to your computer and use it in GitHub Desktop.
on_connect error
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",false) | |
set("log.stdout",true) | |
set("log.level",3) | |
set("harbor.bind_addr","0.0.0.0") | |
def harbor_connect(headers) | |
log(headers) | |
log("harbor connect") | |
end | |
backup_playlist = playlist(reload=600,"~/grimeyblimey.m3u",conservative=true) | |
output.dummy(fallible=true,backup_playlist) | |
on_fail = single("/home/tony/samples/vox/datafruitsdotfm_processed.wav") | |
dj = input.harbor("dj",port=9000,password="hackme", on_connect=harbor_connect) | |
source = fallback(track_sensitive=false,[dj,backup_playlist,on_fail]) | |
output.icecast(%vorbis, host = "localhost", port = 8000, password = "hackme", mount = "liq.ogg", input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment