From 55c1d34344cd2b6b044190ef36a96ba29f1346bc Mon Sep 17 00:00:00 2001 From: Rob Canning Date: Fri, 5 Jan 2024 01:48:28 +0100 Subject: [PATCH] FM broacast show liq added --- show_4_FM_broadcast.liq | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 show_4_FM_broadcast.liq diff --git a/show_4_FM_broadcast.liq b/show_4_FM_broadcast.liq new file mode 100644 index 0000000..767d0c5 --- /dev/null +++ b/show_4_FM_broadcast.liq @@ -0,0 +1,45 @@ +#!/usr/bin/liquidsoap + +# Log dir +log.file.path.set("/tmp/antena-radio.log") + +# Music +kamizdat = playlist("~/antena/music/kam/kamizdat_flac.pls") + +# Some jingles +jingles = playlist("~/antena/jingles_bumps_stings/placeholder.pls") + +# If something goes wrong, we'll play this +security = single("/home/rizoma/sketchbook/libraries/minim/examples/Analysis/FFT/Windows/data/jingle.mp3") + +# Start building the feed with music +radio = kamizdat + +# jingles +radio = random(weights = [1, 4],[jingles, radio]) + +# security +radio = fallback(track_sensitive = false, [radio, security]) + +# dump live_dj recordings to a file +timestamp = '%d-%m-%Y' +show_title = 'ANTENA' +output.file(%mp3(bitrate=320, id3v2=true), reopen_on_metadata=false, +"recorded_shows/#{show_title} Recorded On #{timestamp}.mp3", radio, fallible=true) + + +# stream it out + + +output.icecast(%vorbis, + host = "rizom.si", port = 8000, + password = "hackmeheklab", mount = "antena-rizoma", + genre= "Experimental", + url= "http://rizom.si/antena" , + description = "Slovenian new and experimental music and sounds curated and produced by Zavod Rizoma", + id="MARS", + name="Antena/Rizoma : Radio MARÅ  ", + radio) + + +