A live bird collage card for your Home Assistant dashboard.
spectrogram view now updates itself
Patrick McGuire274729a82776
diff --git a/homepage/footer.html b/homepage/footer.htmlindex 0afb85be..8e0dd3a2 100644--- a/homepage/footer.html+++ b/homepage/footer.html@@ -19,7 +19,7 @@ a {<p> <a href="https://github.com/mcguirepr89/BirdNET-Pi" target="_top">Project Page</a> |<a href="https://birdnetwiki.pmcgui.xyz" target="content">Wiki Help Page</a> |<a href="http://birdnetpi.local/stream" target="footer">Live Audio Stream</a> |- <a href="http://birdnetpi.local/spectrogram.png" target="content">Realtime Spectrogram</a> |+ <a href="http://birdnetpi.local/spectrogram.php" target="content">Realtime Spectrogram</a> |<a href="external.html" target="content">Links to External Pages</a> |<a href="https://www.accuweather.com" target="content">Weather</a> |<a href="https://www.birds.cornell.edu" target="_content">The Cornell Lab of Ornitology</a>diff --git a/homepage/mobile.html b/homepage/mobile.htmlindex e0d74851..832b58fb 100644--- a/homepage/mobile.html+++ b/homepage/mobile.html@@ -432,7 +432,7 @@ footer {<tr class="file"><td></td><td>- <form action="/spectrogram.png">+ <form action="/spectrogram.php"><input type="submit" value="Spectrogram View"></form>diff --git a/scripts/install_services.sh b/scripts/install_services.shindex ffa83032..d5341721 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -128,7 +128,7 @@ create_necessary_dirs() {donefi- sudo -u ${USER} ln -fs $(dirname ${my_dir})/scripts/spectrogram.* ${EXTRACTED}+ sudo -u ${USER} ln -fs $(dirname ${my_dir})/scripts/spectrogram.php ${EXTRACTED}sudo -u ${USER} ln -fs $(dirname ${my_dir})/scripts/viewdb.php ${EXTRACTED}sudo -u ${USER} ln -fs ${HOME}/phpsysinfo ${EXTRACTED}[ -L ${EXTRACTED}/phpsysinfo/phpsysinfo.ini ] || sudo -u ${USER} cp ${HOME}/phpsysinfo/phpsysinfo.ini.new ${HOME}/phpsysinfo/phpsysinfo.inidiff --git a/scripts/update_services.sh b/scripts/update_services.shindex 9ebbb43c..b48c502c 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -128,7 +128,7 @@ create_necessary_dirs() {donefi- sudo -u ${USER} ln -fs $(dirname ${my_dir})/scripts/spectrogram.* ${EXTRACTED}+ sudo -u ${USER} ln -fs $(dirname ${my_dir})/scripts/spectrogram.php ${EXTRACTED}sudo -u ${USER} ln -fs $(dirname ${my_dir})/scripts/viewdb.php ${EXTRACTED}sudo -u ${USER} ln -fs ${HOME}/phpsysinfo ${EXTRACTED}[ -L ${EXTRACTED}/phpsysinfo/phpsysinfo.ini ] || sudo -u ${USER} cp ${HOME}/phpsysinfo/phpsysinfo.ini.new ${HOME}/phpsysinfo/phpsysinfo.ini