Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/liquidsoap
- set("harbor.bind_addr","0.0.0.0")
- set('harbor.verbose', true)
- set('log.level', 5)
- set("log.file.path","/dev/null")
- set("log.stdout",true)
- liquidSoapMetaName = getenv("LIQUIDSOAP_META_NAME")
- liquidSoapPort = getenv("LIQUIDSOAP_PORT")
- liquidSoapUser = getenv("LIQUIDSOAP_USER")
- liquidSoapPassword = getenv("LIQUIDSOAP_PASSWORD")
- icecastPort = getenv("ICECAST_PORT")
- icecastPassword = getenv("ICECAST_PASSWORD")
- icecastMount = getenv("ICECAST_MOUNT")
- live = audio_to_stereo(mksafe(input.harbor(liquidSoapMetaName,
- port=int_of_string(liquidSoapPort),
- user=liquidSoapUser,
- password=liquidSoapPassword)))
- log(icecastPort)
- output.icecast(%vorbis,
- host = "icecast", port = int_of_string(icecastPort),
- password = icecastPassword, mount = icecastMount,
- live)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement