From ea7cdd668686b3b549a09db14259eb0ff65b6ea5 Mon Sep 17 00:00:00 2001 From: frederik Date: Sun, 27 Oct 2024 11:02:14 +0100 Subject: [PATCH] be a bit more patient so ffmpeg can restart --- scripts/birdnet_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/birdnet_analysis.py b/scripts/birdnet_analysis.py index ea2a5ce..c730d9b 100644 --- a/scripts/birdnet_analysis.py +++ b/scripts/birdnet_analysis.py @@ -52,7 +52,7 @@ def main(): break if event is None: - if empty_count > (conf.getint('RECORDING_LENGTH') * 2): + if empty_count > (conf.getint('RECORDING_LENGTH') * 2 + 30): log.error('no more notifications: restarting...') break empty_count += 1