#!/etc/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(reload=3000, '/home/user/radio/autodj')) 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 = "пароль"
/usr/bin/liquidsoap -d /etc/liquidsoap/icecast.sh
liquidsoap -d /etc/liquidsoap/icecast.sh
#!/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(reload=300, '/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="")
annotate:liq_start_next=0.,liq_fade_in=0.,liq_fade_out=0.:/home/music/some_mp3_file.mp3