Skip to content

A live bird collage card for your Home Assistant dashboard.

be a bit more patient so ffmpeg can restart

frederikea7cdd668686
diff --git a/scripts/birdnet_analysis.py b/scripts/birdnet_analysis.py
index ea2a5cea..c730d9bb 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