# /usr/bin/liquidsoap /etc/liquidsoap/liq.cfg At line 7, char 20: the variable mksafe used here has not been previously defined.
#!/usr/bin/liquidsoap #... set("log.file.path","/home/netmaster/liq.log") #.. myplaylist = mksafe(playlist("/home/user/music.m3u")) #. output.icecast(%aacplus(bitrate=16, samplerate=44100, channels=2), host = "192.168.1.16", port = 8888, password = "pass", mount = "music", myplaylist)
#!/usr/bin/liquidsoap #... set("log.file.path","/home/netmaster/liq.log") #.. #myplaylist = mksafe(playlist("/home/netmaster/music.m3u")) #. output.icecast(%aacplus(bitrate=16, samplerate=44100, channels=2), host = "192.168.1.16", port = 8888, password = "pass", mount = "music", mksafe(playlist("/home/user/music.m3u")))
#!/usr/bin/liquidsoap #... set("log.file.path","/home/netmaster/liq.log") #.. myplaylist = (playlist("/home/netmaster/music.m3u")) #. output.icecast(%aacplus(bitrate=16, samplerate=44100, channels=2), host = "192.168.1.16", port = 8888, password = "pass", mount = "music", mksafe(myplaylist))
#!/etc/liquidsoap -d set("init.daemon",true) set("init.daemon.pidfile",false) set("log.file.path","/var/log/site/asot_radio.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=360, '/var/www/asot_radio/')) radio = myplaylist radio = mksafe(radio) radio = smart_crossfade(start_next=6.0, fade_out=3.0, fade_in=3.0, radio) potok = out(input.http("http://сайт:порт/маунт" )) radio = fallback(track_sensitive=false, [ switch([({ 4w22h00m-4w23h59m }, potok)]), radio ]) output.icecast(%mp3(bitrate=128, samplerate = 44100, stereo = true), host = "localhost", port = 8000, name="ASOT EDM Radio 128 kbit/s", genre="Electronic", url="http://edmradio.ru/", description="Electronic Dance Music Radio", password = "пароль", mount = "/asot", radio) url = "http://localhost:8000/asot" input = mksafe(input.http(url)) output.icecast( %aacplus(channels=2, samplerate=44100, bitrate=32), mount="/asot_32aac", host="localhost", port=8000, password="пароль", genre="Electronic", url="http://edmradio.ru/", description="Electronic Dance Music Radio", name="EDM Radio AAC 32 kbit/s", input)
default = fallback( [switch ([ ({50m0s}, mus_pr), ({6h-22h}, mus_da), ({22h-6h}, mus_ni) ]), mus_sc ])