def my_request_function() = # Get the first line of my external process result = list.hd( get_process_lines("/путь/к/скрипту'")) # Create and return a request using this result request.create(result) end myplaylist = request.dynamic(my_request_function)
crossfade(start_next=1., fade_out=1., fade_in=1., radio)
set("harbor.bind_addr","192.168.1.1") live = input.harbor("test", port=8080, password="hackme") radio = fallback(track_sensitive=false, [live, radio])
output.icecast( %mp3(bitrate = 192, id3v2 = true), host = "192.168.1.1", port = 8080, user = "source", password = "hackme", mount = "test", mksafe(radio))