#!/usr/local/bin/liquidsoap
set("log.file", true)
set("log.file.path", "/home/.../logs/autodj.log")
set("log.stdout", false)
set("init.daemon", true)
set("init.daemon.pidfile.path", "/home/.../run/autodj.pid")
set("server.telnet", true)
set("server.telnet.port", 10298)
def next_song() =
result = get_process_lines("...")
request.create(list.hd(result, default=""))
end
source = mksafe(request.dynamic(next_song, length=6.))
source = audio_to_stereo(source)
source = crossfade(source)
enable_replaygain_metadata()
source = amplify(1., override="replay_gain", source)
output.icecast(
%mp3(bitrate=128, stereo=true, samplerate=44100),
fallible=true,
host="localhost",
port=8298,
id="autodj",
name="....",
description="...",
url="",
password="...",
mount="autodj",
source
)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/583#issuecomment-407519812
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users