From 1a75f5588db62f7ebb35f82c74b00625be3c7e1f Mon Sep 17 00:00:00 2001 From: Migatu Date: Mon, 22 Apr 2024 13:10:47 +0200 Subject: [PATCH] Fix fix --- conjurer_musician/radio_conjurer.liq | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/conjurer_musician/radio_conjurer.liq b/conjurer_musician/radio_conjurer.liq index 4724d62..2ab2a10 100644 --- a/conjurer_musician/radio_conjurer.liq +++ b/conjurer_musician/radio_conjurer.liq @@ -57,22 +57,7 @@ let json.parse credentials = file.contents("/home/pi/Conjurer/icecast_credentia # Skip blank sections in the stream s = blank.skip(max_blank=2., s) - l = playlog() - l.duration = 14400 - l.persistency = "/Conjurer/persistence.log/" - def check(r) - m = request.metadata(r) - if l.last(m) < 3600. then - log.info("Rejecting #{m['filename']} (played #{l.last(m)}s ago).") - false - else - l.add(m) - true - end - end - - - # Configure logging settings + # Configure logging settings log_to_stdout = true log_to_file = true logpath = "/home/pi/Conjurer/radio_log.log"