<mount type="normal"> <mount-name>/live</mount-name> <username>userlive</username> <password>passlive</password> <max-listeners>100</max-listeners> <fallback-mount>/nonstop</fallback-mount> <fallback-override>1</fallback-override> <burst-size>65536</burst-size> <hidden>0</hidden> <public>1</public> </mount> <mount type="normal"> <mount-name>/nonstop</mount-name> <username>nonstop</username> <password>passstop</password> <max-listeners>100</max-listeners> <dump-file>/tmp/dump-example1.ogg</dump-file> <burst-size>65536</burst-size> <hidden>1</hidden> <public>1</public> <http-headers> <header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" /> <header name="baz" value="quux" /> </http-headers> </mount>
#!/usr/bin/liquidsoap # Log dir set("log.file.path","/home/r1/logs/liquidsoap.log") # Music myplaylist = mksafe(playlist("/home/r1/playlist.m3u")) radio = myplaylist # Stream it out output.icecast(%vorbis, host = "radio.hostname.com", port = 8000, user = "nonstop", password = "passstop", mount = "nonstop", radio)