diff --git a/scripts/advanced.php b/scripts/advanced.php index 4ddd915..39e0be8 100644 --- a/scripts/advanced.php +++ b/scripts/advanced.php @@ -14,7 +14,7 @@ width: calc(50% - 70px); } .second { - width: calc(50% - 30px); + width: calc(50% - 70px); } . /* Clear floats after the columns */ @@ -62,17 +62,19 @@ input { font-size:large; } @media screen and (max-width: 800px) { - h2 { - margin-bottom:0px; + h2,h3 { text-align:center; - } form { - text-align:left; - margin-left:0px; - } + } + form { + margin:0; + } .column { float: none; width: 100%; } + input, label { + width: 100%; + { } @@ -83,9 +85,9 @@ input {

Defaults

@@ -106,7 +108,7 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {
-
+

Custom URLs


@@ -123,13 +125,13 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {



@@ -137,6 +139,10 @@ if(isset($_SESSION['success'])){ +
+
+ +
diff --git a/scripts/config.php b/scripts/config.php index 3bdacc5..b27283e 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -52,6 +52,7 @@ form { text-align:left; margin-left:20px; } + h2 { margin-bottom:0px; } @@ -70,6 +71,9 @@ input { font-size:large; } @media screen and (max-width: 800px) { + select { + width:100%; + } h2 { margin-bottom:0px; text-align:center; @@ -79,9 +83,12 @@ input { margin-left:0px; } .column { - float: none; - width: 100%; - } + float: none; + width: 100%; + } + input, label { + width:100%; + { } @@ -106,7 +113,7 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {

- +
+ +
+

Optional Services

+

The services below are not required, but they are pretty cool.

+ +
+

app.BirdWeather.com is a weather map for bird sounds. Stations around the world supply audio and video streams to BirdWeather where they are then analyzed by BirdNET and compared to eBird Grid data. BirdWeather catalogues the detections and visualizations so that you can listen to, view, and read about the birds in various regions across the globe! Pretty cool!

+ +
+ +
+

Pushed.co is used to offer New Species notifications. Sorry Android users, but the Pushed.co Application is only for iOS.

+ + +

+ + + diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 98fc20d..cf5c915 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -12,7 +12,7 @@ gotty_url="https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_a config_file="$(dirname ${my_dir})/birdnet.conf" set_hostname() { - if [ "$(hostname)" != "birdnetpi" ];then + if [ "$(hostname)" == "raspberrypi" ];then echo "Setting hostname to 'birdnetpi'" hostnamectl set-hostname birdnetpi sed -i 's/raspberrypi/birdnetpi/g' /etc/hosts @@ -326,7 +326,7 @@ ExecStart=/bin/bash -c "/usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' ' [Install] WantedBy=multi-user.target EOF - systemctl enable avahi-alias@birdnetpi.local.service +systemctl enable avahi-alias@$(hostname).local.service } install_spectrogram_service() { diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 1b18f05..2c7b664 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -11,24 +11,12 @@ nomachine_url="https://download.nomachine.com/download/7.7/Arm/nomachine_7.7.4_1 gotty_url="https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_arm.tar.gz" config_file="$(dirname ${my_dir})/birdnet.conf" -set_hostname() { - if [ "$(hostname)" != "birdnetpi" ];then - echo "Setting hostname to 'birdnetpi'" - hostnamectl set-hostname birdnetpi - sed -i 's/raspberrypi/birdnetpi/g' /etc/hosts - fi -} - install_ftpd() { if ! [ -f /etc/ftpuseres ];then apt -y install ftpd fi } -update_system() { - apt update && apt -y upgrade -} - install_scripts() { echo "Installing BirdNET-Pi scripts to /usr/local/bin" ln -sf ${my_dir}/* /usr/local/bin/ @@ -331,7 +319,7 @@ ExecStart=/bin/bash -c "/usr/bin/avahi-publish -a -R %I $(hostname -I |cut -d' ' [Install] WantedBy=multi-user.target EOF - systemctl enable avahi-alias@birdnetpi.local.service +systemctl enable avahi-alias@$(hostname).local.service } install_spectrogram_service() { @@ -514,8 +502,6 @@ install_cleanup_cron() { } install_selected_services() { - set_hostname - update_system install_scripts install_birdnet_analysis