Skip to content

A live bird collage card for your Home Assistant dashboard.

needs to install one even if "not-selected"

Patrick McGuire5e8eeea0202f
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index ef2025d2..1af579f7 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -76,6 +76,7 @@ if systemctl list-unit-files pushed_notifications.service &>/dev/null;then
fi
if [ ! -f $HOME/BirdNET-Pi/model/labels.txt ];then
+ [[ $DATABASE_LANG == 'not-selected' ]] && $DATABASE_LANG=en
$my_dir/install_language_label.sh -l $DATABASE_LANG \
&& logger "[$0] Installed new language label file for '$DATABASE_LANG'";
fi