diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..160740e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bbcbbe7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/README.md b/README.md index e062b65..75b71c9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ BirdNET-Pi
-A realtime acoustic bird classification system for the Raspberry Pi 4B +A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2
@@ -50,22 +50,23 @@ Currently listening in these countries . . . that I know of . . .
* Live audio stream & spectrogram
* [BirdWeather](https://app.birdweather.com) integration -- you can request a BirdWeather ID from BirdNET-Pi's "Tools" > "Settings" page
* Web interface access to all data and logs provided by [Caddy](https://caddyserver.com)
-* Web Terminal
+* [GoTTY](https://github.com/yudai/gotty) Web Terminal
* [Tiny File Manager](https://tinyfilemanager.github.io/)
* FTP server included
* SQLite3 Database
-* Adminer database maintenance
+* [Adminer](https://www.adminer.org/) database maintenance
* [phpSysInfo](https://github.com/phpsysinfo/phpsysinfo)
* [Apprise Notifications](https://github.com/caronc/apprise) supporting 70+ notification platforms
* Localization supported
## Requirements
-* A Raspberry Pi 4B or Raspberry Pi 3B+ (The 3B+ must run on RaspiOS-ARM64-**Lite**)
-* An SD Card with the **_64-bit version of RaspiOS_** installed (please use Bullseye) -- Lite is recommended, but the installation works on RaspiOS-ARM64-Full as well. [(Download the latest here)](https://downloads.raspberrypi.org/raspios_lite_arm64/images/)
+* A Raspberry Pi 4B, Raspberry Pi 3B+, or Raspberry Pi 0W2 (The 3B+ and 0W2 must run on RaspiOS-ARM64-**Lite**)
+* An SD Card with the **_64-bit version of RaspiOS_** installed (please use Bullseye) -- Lite is recommended, but the installation works on RaspiOS-ARM64-Full as well. Downloads available within the [Raspberry Pi Imager](https://www.raspberrypi.com/software/).
* A USB Microphone or Sound Card
## Installation
[A comprehensive installation guide is available here](https://github.com/mcguirepr89/BirdNET-Pi/wiki/Installation-Guide).
+[Raspberry Pi 0W2 installation guide available here](https://github.com/mcguirepr89/BirdNET-Pi/wiki/RPi0W2-Installation-Guide)
The system can be installed with:
```
diff --git a/birdnet.conf-defaults b/birdnet.conf-defaults
index e53af20..3ada803 100644
--- a/birdnet.conf-defaults
+++ b/birdnet.conf-defaults
@@ -150,6 +150,10 @@ EXTRACTION_LENGTH=
AUDIOFMT=mp3
+## DATABASE_LANG is used to set the language for the database
+
+DATABASE_LANG=en
+
## These are just for debugging
LAST_RUN=
THIS_RUN=
diff --git a/homepage/style.css b/homepage/style.css
index 88ac29e..61b4109 100644
--- a/homepage/style.css
+++ b/homepage/style.css
@@ -82,6 +82,12 @@ button {
transition:background-color 0.2s;
}
+.disabled{
+ cursor: not-allowed;
+ pointer-events: none;
+ opacity:0.5;
+}
+
button:hover {
color: blue;
}
@@ -687,4 +693,22 @@ dialog::backdrop {
#gain.centered {
margin-bottom:10px;
+}
+
+.updatenumber {
+ margin-left:5px;
+ position:absolute;
+ display:inline-block;
+ background-color:#c8191a;
+ color:white;
+ width:20px;
+ line-height:20px;
+ border-radius:12px;
+ text-align:center;
+ font-size:small;
+}
+
+form#views button .updatenumber {
+ position:initial;
+ margin-left:0px;
}
\ No newline at end of file
diff --git a/homepage/views.php b/homepage/views.php
index 49c0537..30468c2 100644
--- a/homepage/views.php
+++ b/homepage/views.php
@@ -1,3 +1,19 @@
+ /dev/null 2>&1 && git -C ".$home."/BirdNET-Pi status | sed -n '2 p' | cut -d ' ' -f 7"));
+}
+if(intval($_SESSION['behind']) >= 99) {?>
+
+