mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 15:52:10 +00:00
test requests
This commit is contained in:
@@ -39,7 +39,6 @@ let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentia
|
|||||||
log.info("no requests")
|
log.info("no requests")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
thread.run(every=60., queue_processing)
|
|
||||||
|
|
||||||
# Randomly select a playlist with weights
|
# Randomly select a playlist with weights
|
||||||
s = random(id="randomizer", weights=[1, 3, 2], [s1, s2, s3])
|
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
|
# Create a fallback stream with the main stream and emergency track
|
||||||
radio = fallback(id="switcher", track_sensitive=true, [requests_queue, s, emergency])
|
radio = fallback(id="switcher", track_sensitive=true, [requests_queue, s, emergency])
|
||||||
|
thread.run(every=60., queue_processing)
|
||||||
|
|
||||||
# Handle metadata events
|
# Handle metadata events
|
||||||
handle_metadata = fun (m) -> begin
|
handle_metadata = fun (m) -> begin
|
||||||
|
|||||||
Reference in New Issue
Block a user