From c263202a62e333189bf2878fafc79784b1c537e5 Mon Sep 17 00:00:00 2001
From: lloydbayley
Date: Fri, 18 Nov 2022 22:28:05 +1100
Subject: [PATCH 1/6] Update config.php
---
scripts/config.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/config.php b/scripts/config.php
index 476cc60..17174b6 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -23,7 +23,7 @@ if(isset($_GET["latitude"])){
$latitude = $_GET["latitude"];
$longitude = $_GET["longitude"];
$site_name = $_GET["site_name"];
- $site_name = preg_replace( '/[^A-Za-z0-9 ]/' , "", $site_name);
+ $site_name = preg_replace('/['|\'|\"|"]*/', '', $site_name);
$birdweather_id = $_GET["birdweather_id"];
$apprise_input = $_GET['apprise_input'];
$apprise_notification_title = $_GET['apprise_notification_title'];
From a71898e8782c99f6b61e3a617259db2656ca73fd Mon Sep 17 00:00:00 2001
From: lloydbayley
Date: Sat, 19 Nov 2022 00:13:15 +1100
Subject: [PATCH 2/6] Revert "Update config.php"
This reverts commit c263202a62e333189bf2878fafc79784b1c537e5.
---
scripts/config.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/config.php b/scripts/config.php
index 17174b6..14d4430 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -23,7 +23,8 @@ if(isset($_GET["latitude"])){
$latitude = $_GET["latitude"];
$longitude = $_GET["longitude"];
$site_name = $_GET["site_name"];
- $site_name = preg_replace('/['|\'|\"|"]*/', '', $site_name);
+ $site_name = str_replace('"', "", $site_name);
+ $site_name = str_replace('\'', "", $site_name);
$birdweather_id = $_GET["birdweather_id"];
$apprise_input = $_GET['apprise_input'];
$apprise_notification_title = $_GET['apprise_notification_title'];
From 2e56b94e3d6c2d01a7df9fa1e73c2658fdb983b6 Mon Sep 17 00:00:00 2001
From: lloydbayley
Date: Sat, 21 Jan 2023 01:27:02 +1100
Subject: [PATCH 3/6] Update index.php
---
homepage/index.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/homepage/index.php b/homepage/index.php
index 887c881..3c61d35 100644
--- a/homepage/index.php
+++ b/homepage/index.php
@@ -52,7 +52,7 @@ if(isset($_GET['stream'])){
- ";
+
$site_name
";
} else {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
From 3c421aae6270e65878deab7dcf2f11b4dfed9c2f Mon Sep 17 00:00:00 2001
From: lloydbayley
Date: Fri, 7 Apr 2023 23:22:38 +1000
Subject: [PATCH 4/6] Update advanced.php
Tidy Up UI
---
scripts/advanced.php | 91 +++++++++++++++++++++++++++-----------------
1 file changed, 56 insertions(+), 35 deletions(-)
diff --git a/scripts/advanced.php b/scripts/advanced.php
index a0ddf28..4d7a0c9 100644
--- a/scripts/advanced.php
+++ b/scripts/advanced.php
@@ -268,9 +268,10 @@ if (file_exists('./scripts/thisrun.txt')) {
$newconfig = parse_ini_file('./scripts/firstrun.ini');
}
?>
- Advanced Settings
+
Advanced Settings
From a4b18fb06663fbd5885c57d6577ce80ad0901a19 Mon Sep 17 00:00:00 2001
From: lloydbayley
Date: Fri, 7 Apr 2023 23:22:47 +1000
Subject: [PATCH 5/6] Update config.php
Tidy Up UI
---
scripts/config.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/config.php b/scripts/config.php
index 1d782ec..fb5c79d 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -472,9 +472,10 @@ function runProcess() {
BirdNET_6K_GLOBAL_MODEL (2020)
This is the BirdNET-Lite model, with bird sound recognition for more than 6,000 species worldwide. This is the default option and will generally work very for people in most of the world.
+
BirdNET_GLOBAL_3K_V2.2_Model_FP16 (2022)
This is the BirdNET-Analyzer model, a newer work-in-progress project with aims to improve on the BirdNET-Lite model. Currently it only supports about 3,500 species worldwide, meaning for some regions (North America, Europe, Australia) it will usually outperform the BirdNET-Lite model, but for other regions it will be worse.
- (in-depth technical write-up on the models here )
+ [ In-depth technical write-up on the models here ]
@@ -482,7 +483,7 @@ function runProcess() {
Location
Site Name:
(Optional)
- Latitude:
+ Latitude:
Longitude:
@@ -650,6 +651,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
?>
>
>
+
Select a Timezone:
From 0acb3cec620faac6a7fe7bd385a999fbf8add885 Mon Sep 17 00:00:00 2001
From: lloydbayley
Date: Fri, 7 Apr 2023 23:35:34 +1000
Subject: [PATCH 6/6] Update advanced.php
Missed a capitalisation...oops!
---
scripts/advanced.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/advanced.php b/scripts/advanced.php
index 4d7a0c9..deeca88 100644
--- a/scripts/advanced.php
+++ b/scripts/advanced.php
@@ -467,7 +467,7 @@ foreach($formats as $format){
Accessibility Settings
Birdsongs Frequency shifting configuration:
- this can be useful for hearing impaired people. Note: audio files will only be pitch shifted when the "FREQ SHIFT" button is manually clicked for a detection on the "Recordings" page.
+ This can be useful for hearing impaired people. Note: audio files will only be pitch shifted when the "FREQ SHIFT" button is manually clicked for a detection on the "Recordings" page.