A live bird collage card for your Home Assistant dashboard.
use inotifywait update snippets
frederik19e68b5f0802
diff --git a/scripts/install_services.sh b/scripts/install_services.shindex 1cac431d..4173cddd 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -20,7 +20,7 @@ install_depends() {apt install -qqy caddy ftpd sqlite3 php-sqlite3 alsa-utils \pulseaudio avahi-utils sox libsox-fmt-mp3 php php-fpm php-curl php-xml \php-zip icecast2 swig ffmpeg wget unzip curl cmake make bc libjpeg-dev \- zlib1g-dev python3-dev python3-pip python3-venv lsof net-tools gcc python3-dev+ zlib1g-dev python3-dev python3-pip python3-venv lsof net-tools gcc python3-dev inotify-tools}diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex 4f8d1501..494a3fe7 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -66,6 +66,11 @@ fiensure_python_package inotify inotify+if ! which inotifywait &>/dev/null;then+ ensure_apt_updated+ apt-get -y install inotify-tools+fi+remove_unit_file birdnet_server.service /usr/local/bin/server.pyremove_unit_file extraction.service /usr/local/bin/extract_new_birdsounds.sh