spectrogram view now updates itself
This commit is contained in:
@@ -19,7 +19,7 @@ a {
|
|||||||
<p> <a href="https://github.com/mcguirepr89/BirdNET-Pi" target="_top">Project Page</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="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/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="external.html" target="content">Links to External Pages</a> |
|
||||||
<a href="https://www.accuweather.com" target="content">Weather</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>
|
<a href="https://www.birds.cornell.edu" target="_content">The Cornell Lab of Ornitology</a>
|
||||||
|
|||||||
@@ -432,7 +432,7 @@ footer {
|
|||||||
<tr class="file">
|
<tr class="file">
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>
|
<td>
|
||||||
<form action="/spectrogram.png">
|
<form action="/spectrogram.php">
|
||||||
<input type="submit" value="Spectrogram View">
|
<input type="submit" value="Spectrogram View">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ create_necessary_dirs() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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 $(dirname ${my_dir})/scripts/viewdb.php ${EXTRACTED}
|
||||||
sudo -u ${USER} ln -fs ${HOME}/phpsysinfo ${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
|
[ -L ${EXTRACTED}/phpsysinfo/phpsysinfo.ini ] || sudo -u ${USER} cp ${HOME}/phpsysinfo/phpsysinfo.ini.new ${HOME}/phpsysinfo/phpsysinfo.ini
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ create_necessary_dirs() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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 $(dirname ${my_dir})/scripts/viewdb.php ${EXTRACTED}
|
||||||
sudo -u ${USER} ln -fs ${HOME}/phpsysinfo ${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
|
[ -L ${EXTRACTED}/phpsysinfo/phpsysinfo.ini ] || sudo -u ${USER} cp ${HOME}/phpsysinfo/phpsysinfo.ini.new ${HOME}/phpsysinfo/phpsysinfo.ini
|
||||||
|
|||||||
Reference in New Issue
Block a user