A live bird collage card for your Home Assistant dashboard.
avoid using ffmpeg: the loop is faster now, so slow down again
frederikc914c645a852
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.shindex a0312457..a2e755fd 100755--- a/scripts/birdnet_analysis.sh+++ b/scripts/birdnet_analysis.sh@@ -97,9 +97,9 @@ run_analysis() {echo "RECORDING_LENGTH set to ${RECORDING_LENGTH}"a=0until [ -z "$(lsof -t ${1}/${i})" ];do- sleep 1+ sleep 2[ $a -ge ${RECORDING_LENGTH} ] && rm -f ${1}/${i} && break- a=$((a+1))+ a=$((a+2))doneif ! grep 5050 <(netstat -tulpn 2>&1) &> /dev/null 2>&1;then