#!/usr/bin/liquidsoap -d set("init.daemon",true) set("init.daemon.pidfile",false) set("log.file.path","/var/log/liquidsoap/basic.log") set("log.stdout",true) set("log.level",3) set("server.telnet.bind_addr","127.0.0.1") set("server.telnet",true) myplaylist = mksafe(playlist(mode='normal", '/home/radio/playlist.pls')) radio = myplaylist radio = mksafe(radio) radio = crossfade(start_next=6.0, fade_out=3.0, fade_in=3.0, radio) output.icecast(%mp3(bitrate=192, id3v2 = true), mount = "live.mp3", radio, host = "localhost", port = 8000, password = "пароль", genre="Rock", name="", url="", description="")