Skip to content

A live bird collage card for your Home Assistant dashboard.

removed some comments I made for myself

Patrick McGuire7f02419ceeef
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh
index 3ad5df51..d11662c2 100755
--- a/scripts/birdnet_analysis.sh
+++ b/scripts/birdnet_analysis.sh
@@ -80,7 +80,6 @@ run_analysis() {
[ -z ${RECORDING_LENGTH} ] && RECORDING_LENGTH=12
[ ${RECORDING_LENGTH} == "60" ] && RECORDING_LENGTH=01:00
FILE_LENGTH="$(ffmpeg -i ${1}/${i} 2>&1 | awk -F. '/Duration/ {print $1}' | cut -d':' -f3-4)"
-#################################################################### working on this
[ -z $FILE_LENGTH ] && sleep 2 && continue
echo "RECORDING_LENGTH set to ${RECORDING_LENGTH}"
if [ ${RECORDING_LENGTH} == "01:00" ];then
@@ -92,7 +91,6 @@ run_analysis() {
sleep 1
done
fi
-#################################################################### working on this
if [ -f ${1}/${i} ] && [ ! -f ${CUSTOM_LIST} ];then
echo "python3 analyze.py \