test requests

This commit is contained in:
2024-04-23 16:10:14 +02:00
parent b2aab28460
commit 69d3c8849c
+1 -1
View File
@@ -39,7 +39,6 @@ let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentia
log.info("no requests")
end
end
thread.run(every=60., queue_processing)
# Randomly select a playlist with weights
s = random(id="randomizer", weights=[1, 3, 2], [s1, s2, s3])
@@ -91,6 +90,7 @@ let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentia
# Create a fallback stream with the main stream and emergency track
radio = fallback(id="switcher", track_sensitive=true, [requests_queue, s, emergency])
thread.run(every=60., queue_processing)
# Handle metadata events
handle_metadata = fun (m) -> begin