Crossfadeing ctnd

This commit is contained in:
2024-04-23 23:40:44 +02:00
parent abef18f4ad
commit ce3ad9f8f0
+2 -1
View File
@@ -88,7 +88,8 @@ let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentia
emergency = single("/home/pi/RetroPie/mp3/Youtube/Dr. Peacock - Trip to Ireland [GvrvQTUbUcA].mp3")
# Create a fallback stream with the main stream and emergency track
radio = crossfade(fade_out=3., fade_in=3., duration=5., fallback(id="switcher", track_sensitive=false, [requests_queue, s, emergency]))
cross_s = crossfade(fade_out=3., fade_in=3., duration=5., fallback(id="switcher", track_sensitive=false, [requests_queue, s]))
radio = fallback(id="switcher2", track_sensitive=false, [cross_s, emergency]))
thread.run(every=60., queue_processing)