Hi there. Just pulled and configured the latest version of this Docker image, on Ubuntu 18.04. The service is running great, but if there's nothing scheduled, I get dead air.
I've looked at EZstream and have the required mapping in place, but it doesn't provide any fallback.
I also tried transplanting the script change I made to our existing Airtime server, which has been feeding our AutoDJ for five years (someone in a different forum advised that this change would be compatible with Libretime), but this also hasn't worked.
Can someone please advise me what I need to do to get a fallback/AutoDJ working, please?
Here are the changes I added to the 'ls_script.liq' file:
Hi there. Just pulled and configured the latest version of this Docker image, on Ubuntu 18.04. The service is running great, but if there's nothing scheduled, I get dead air.
I've looked at EZstream and have the required mapping in place, but it doesn't provide any fallback.
I also tried transplanting the script change I made to our existing Airtime server, which has been feeding our AutoDJ for five years (someone in a different forum advised that this change would be compatible with Libretime), but this also hasn't worked.
Can someone please advise me what I need to do to get a fallback/AutoDJ working, please?
Here are the changes I added to the 'ls_script.liq' file:
`default = amplify(id="silence_src", 0.00001, noise())
jingles = playlist(mode="random",reload_mode="watch","/external-media/jingles") music = playlist(mode="random",reload_mode="watch","/external-media/imported/1")
j=jingles m=music
v = random(weights = [1,5],[j,m])
default = fallback(track_sensitive = false,[v])
default = fallback(track_sensitive=false,[strip_blank(max_blank=45.,threshold=-45.,default),v])
ref_off_air_meta = ref off_air_meta if !ref_off_air_meta == "" then ref_off_air_meta := "LibreTime - offline" end
default = rewrite_metadata([("title", !ref_off_air_meta)], default)
default = rewrite_metadata([(!ref_off_air_meta,"Progzilla" ),("#{m['artist']","artist" ),("#{m['title']","title" ),("#{m['album']","album" )], default)`