Skip to content

A live bird collage card for your Home Assistant dashboard.

this fixes the "TinyFileManager" "bug" (not a bug!!!)

mcguirepr899e6be6cfaa5e
diff --git a/scripts/update_species.sh b/scripts/update_species.sh
index 3989e733..954dd17b 100755
--- a/scripts/update_species.sh
+++ b/scripts/update_species.sh
@@ -2,4 +2,6 @@
# Update the species list
#set -x
source /etc/birdnet/birdnet.conf
+if [ -f $HOME/BirdNET-Pi/scripts/birds.db ];then
sqlite3 $HOME/BirdNET-Pi/scripts/birds.db "SELECT DISTINCT(Com_Name) FROM detections" | sort > ${IDFILE}
+fi