You see I can do almost anything with liquidsoap quickly but it will take a time for me to whip up a script for php or python
at about line 320
put this
def rotation_trigger()
command= "php /usr/local/bin/airtime_rotation.php"
log(label="Rotation Created",level=5,command)
system(command)
end
station_id=single(id="s_stationId","/srv/backup/files/station_id/station_id.mp3")
#or uses
# s=mksafe(s)
s =fallback(id="radio",
track_sensitive=false,
transitions=[transition,transition,transition],
[strip_blank(id="main_silence",max_blank=240.,threshold=-70.,default),
on_blank(rotation_trigger, strip_blank(id="url_silence",max_blank=120.,threshold=-70.,s)),
station_id])
It looks like you're new here. If you want to get involved, click one of these buttons!