url=mksafe(input.http("http://трололо/traktor")) output.icecast(%mp3, mount = "live", host = "трололо, port = 9000, password = "***", description="любое", genre="любое", url="http://трололо", url)
#!/usr/bin/liquidsoap set("log.file.path","/home/userfortadmin/test.log") myplaylist = playlist("/media/music") def crossfade(~start_next,~fade_in,~fade_out,s) s = fade.in(duration=fade_in,s) s = fade.out(duration=fade_out,s) fader = fun (a,b) -> add(normalize=false,[b,a]) cross(duration=start_next,fader,s) end output.shoutcast(%mp3, host="localhost", port = 8000, password = "Rhbdfvfrcbv12", myplaylist)