From 3407dc8af93f3711c28e1c06dd8ef2c273f857f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Tue, 16 Oct 2018 15:28:36 +0200 Subject: [PATCH] fix eroor --- state/liquidsoap/config/debug.liq | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/state/liquidsoap/config/debug.liq b/state/liquidsoap/config/debug.liq index c56569a..8b6bfe0 100644 --- a/state/liquidsoap/config/debug.liq +++ b/state/liquidsoap/config/debug.liq @@ -38,4 +38,23 @@ live = audio_to_stereo( DanDubstepThingies = "/playlists/Daniel/Dan - dubstepthingies.m3u" randomsong = playlist(conservative=true, DanDubstepThingies) -count = list.length(playlist.parse(DanDubstepThingies)) \ No newline at end of file +count = list.length(playlist.parse(DanDubstepThingies)) + +randomsong = audio_to_stereo(randomsong) +requests = audio_to_stereo(drop_video(request.queue(id="request"))) + +mix = blank() +mix = fallback(track_sensitive=false, [randomsong, mix]) +mix = fallback(track_sensitive=true, transitions=[crossfade], [requests,mix]) +mix = fallback(track_sensitive=false, transitions=[crossfade], [live, mix]) +mix = normalize(mix) + +# OUTPUTS +output.icecast( + password=getenv("HARBOR_PASSWORD"), + host=getenv("BROADCAST_PORT_5001_TCP_ADDR"), + port=int_of_string(getenv("BROADCAST_PORT_5001_TCP_PORT")), + %wav, + mount="dodsorfas.main", + mix + ) \ No newline at end of file