radio

a few small liquidsoap and bash scripts to make nice tilderadio shows
Log | Files | Refs

commit 57dd10ba645bf817fb57b8828f7d532d54a689da
parent fea58d4996b35e753b1dc37f5941304ff59efcca
Author: xfnw <xfnw@ttm.sh>
Date:   Mon,  6 Jul 2020 20:25:34 +0000

argv for more playlists

Diffstat:
Atr-play.liq | 16++++++++++++++++
Atr-random.liq | 16++++++++++++++++
Mtr-test.liq | 2+-
3 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/tr-play.liq b/tr-play.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=false)]))) + +output.icecast(%vorbis, +host="radio.tildeverse.org",user="lickthecheese",port=8005,password=password, +mount="/", +on_blank(shutdown,radio), +on_stop=shutdown, +fallible=true +) + diff --git a/tr-random.liq b/tr-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=8005,password=password, +mount="/", +on_blank(shutdown,radio), +on_stop=shutdown, +fallible=true +) + diff --git 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("playlist.m3u",random=true)]))) +radio = crossfade(normalize(random([playlist.once(argv(1),random=true)]))) output.icecast(%vorbis, host="radio.tildeverse.org",user="lickthecheese",port=8015,password=password,