mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Logging fix in radio
This commit is contained in:
@@ -24,9 +24,9 @@ emergency = single("/home/pi/RetroPie/mp3/Youtube/Dr. Peacock - Trip to Ireland
|
||||
radio = fallback(id="switcher",track_sensitive = false, [s, emergency])
|
||||
|
||||
handle_metadata = fun (m) -> begin
|
||||
print(m["title"])
|
||||
print(m["artist"])
|
||||
print(m["filename"])
|
||||
log.info(m["title"])
|
||||
log.info(m["artist"])
|
||||
log.info(m["filename"])
|
||||
end
|
||||
radio.on_metadata(handle_metadata)
|
||||
interactive.persistent("script.params")
|
||||
|
||||
Reference in New Issue
Block a user