No one likes a silence when tuning to a radio station, and for a radio manager its tough to have 24*7 programmes, in case you are running an Internet Radio Station using Airtime you probably would be programming your shows and in Offtime your radio is always silent i would suggest you to play some random tracks in this Offtime and also include a track which tells when your station plays live so here is how to achieve this
@@ -150,14 +150,14 @@
# fun (s) -> begin log("dynamic_source.read_stop") destroy_dynamic_source_all() end)
-default = amplify(id="silence_src", 0.00001, noise())
+#default = amplify(id="silence_src", 0.00001, noise())
ref_off_air_meta = ref off_air_meta
if !ref_off_air_meta == "" then
ref_off_air_meta := "Airtime - offline"
-default = rewrite_metadata([("title", !ref_off_air_meta)], default)
+#default = rewrite_metadata([("title", !ref_off_air_meta)], default)
+default = playlist(mode='random', "/store00/rand/")
master_dj_enabled = ref false
live_dj_enabled = ref false
scheduled_play_enabled = ref false
Once you have modifed you are good to go restart the services, upon restarting you will listem random tracks in offtime from the folder you have set in the script.