mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-19 08:12:09 +00:00
Tmp chng
This commit is contained in:
@@ -13,6 +13,8 @@ s1 = replaygain(playlist(reload_mode="watch", "/home/pi/Conjurer/all_playlist.pl
|
||||
s2 = replaygain(playlist(reload_mode="watch", "/home/pi/Conjurer/priority_queue.playlist"))
|
||||
s3 = replaygain(playlist(reload_mode="watch", "/home/pi/Conjurer/hit.playlist"))
|
||||
|
||||
requests_queue = request.queue()
|
||||
|
||||
# Randomly select a playlist with weights
|
||||
s = random(id="randomizer", weights=[1, 3, 2], [s1, s2, s3])
|
||||
|
||||
@@ -53,7 +55,7 @@ set("log.file.path", logpath)
|
||||
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 = fallback(id="switcher", track_sensitive=false, [s, emergency])
|
||||
radio = fallback(id="switcher", track_sensitive=false, [requests_queue, s, emergency])
|
||||
|
||||
# Handle metadata events
|
||||
handle_metadata = fun (m) -> begin
|
||||
|
||||
Reference in New Issue
Block a user