From f5108452be2d0afeae9cdd6887a0c9d44e341478 Mon Sep 17 00:00:00 2001 From: xfnw Date: Mon, 6 Jul 2020 20:50:08 +0000 Subject: [PATCH] allow in-order testing --- tr-test-random.liq | 16 ++++++++++++++++ tr-test.liq | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 tr-test-random.liq diff --git a/tr-test-random.liq b/tr-test-random.liq new file mode 100755 index 0000000..3045b8c --- /dev/null +++ b/tr-test-random.liq @@ -0,0 +1,16 @@ +#!/usr/bin/liquidsoap +# Log dir +set("log.file.path","/tmp/xfnw-basic-radio.log") + +%include "passwords.liq" + +radio = crossfade(normalize(random([playlist.once(argv(1),random=true)]))) + +output.icecast(%vorbis, +host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password, +mount="/", +on_blank(shutdown,radio), +on_stop=shutdown, +fallible=true +) + diff --git a/tr-test.liq b/tr-test.liq index 3045b8c..b349249 100755 --- a/tr-test.liq +++ b/tr-test.liq @@ -4,7 +4,7 @@ set("log.file.path","/tmp/xfnw-basic-radio.log") %include "passwords.liq" -radio = crossfade(normalize(random([playlist.once(argv(1),random=true)]))) +radio = crossfade(normalize(random([playlist.once(argv(1),random=false)]))) output.icecast(%vorbis, host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,