A live bird collage card for your Home Assistant dashboard.
edits to replace links in index for now
Patrick McGuiree5a27ac5cad0
diff --git a/scripts/update_services.sh b/scripts/update_services.shindex 80dee837..126a9446 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -109,6 +109,8 @@ create_necessary_dirs() {[ -d ${EXTRACTED}/By_Scientific_Name ] || sudo -u ${USER} mkdir -p ${EXTRACTED}/By_Scientific_Name[ -d ${PROCESSED} ] || sudo -u ${USER} mkdir -p ${PROCESSED}[ -L ${EXTRACTED}/index.html ] || sudo -u ${USER} ln -s $(dirname ${my_dir})/templates/index.html ${EXTRACTED}+ sudo sed -i "s/http://birdnetpi.local:8080/${BIRDNETLOG_URL}/g" $(dirname ${my_dir})/templates/index.html+ sudo sed -i "s/http://birdnetpi.local:8888/${EXTRACTIONLOG_URL}/g" $(dirname ${my_dir})/templates/index.html[ -L ${EXTRACTED}/scripts ] || sudo -u ${USER} ln -s $(dirname ${my_dir})/scripts ${EXTRACTED}[ -L ${EXTRACTED}/spectrogram.php ] || sudo -u ${USER} ln -s $(dirname ${my_dir})/scripts/spectrogram.* ${EXTRACTED}[ -L ${EXTRACTED}/viewdb.php ] || sudo -u ${USER} ln -s $(dirname ${my_dir})/scripts/viewdb.php ${EXTRACTED}