Commit Graph

102 Commits

Author SHA1 Message Date
frederik 14be6e68ad add basic test 2025-11-17 18:44:27 +01:00
frederik b101f993dd the number of species a model can detect should not matter in the privacy filter 2025-11-12 21:45:00 +01:00
Alexandre 04db6d96ee Use legacy 1.21 for numpy (#505) 2025-11-01 14:46:55 +01:00
frederik 8c0885a13b NumPy 2.0 changed str representation of their floats, because we do not care about the added detail, force the old representation 2025-11-01 12:36:46 +01:00
frederik 2e9ab25107 make species lists agnostic to common name 2025-10-07 18:16:35 +02:00
Nachtzuster 59e378791c cleanup privacy filter, also make sure a human chunk their neighbour is also overwritten (#475) 2025-09-27 13:41:33 +02:00
frederik df15948083 flake8 fixes 2025-08-02 19:32:43 +02:00
frederik 812e6b1108 fix: update PREDICTED_SPECIES_LIST when week changes 2025-06-22 13:05:16 +02:00
no-username-found 09d5d9950d Bugfix: whitelist_species_list.txt will now overrule the Species Occurrence Frequency Threshold (#365)
* Bugfix: whitelist_species_list.txt will now overrule the Species Occurrence Frequency Threshold
2025-06-22 12:46:25 +02:00
Thibaut Voirand 3bc2c63a1f Use detection time instead of origin audio file time in DB 2024-11-20 22:24:26 +01:00
Alexandre a264eb9f8d Feat : error messages for detections rejections #138 (#190)
* Error messages for detections rejections

https://github.com/Nachtzuster/BirdNET-Pi/issues/138

* Update server.py

* Use log.warning
2024-09-30 20:42:17 +02:00
frederik 919dbaa0c6 fix executable bits 2024-07-13 10:49:24 +02:00
Alexandre 18693fae06 Feat : add species whitelist (#110)
* Add white_list to server.py

https://github.com/Nachtzuster/BirdNET-Pi/issues/108

* Create whitelist_list.php

* Add whitelist to views

* Make more explicit the usage

* Update views.php

* Align with uppercase

* Align with "species"

https://github.com/Nachtzuster/BirdNET-Pi/issues/108

* Update views.php

* Correct python code

https://github.com/Nachtzuster/BirdNET-Pi/issues/108

* Align clear_all_data.sh

* Align install_services.sh

* Embed whitelist_species_list in PREDICTED_SPECIES_LIST

* Only embed whitelist in predicted list

* Correct python append @dalogue1

https://github.com/Nachtzuster/BirdNET-Pi/issues/108#issuecomment-2183508903

* Update scripts/server.py

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Use preexisting functions

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Alert not a recommended WoW

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-06-30 10:18:32 +02:00
frederik 31e1379f14 server.py add support for Data_Model_V2 2024-02-19 16:54:25 +01:00
frederik b4e8fee59e cleanup loading of M_INTERPRETER 2024-02-19 16:54:25 +01:00
frederik f9460a429d fix: priv_thresh is a percentage, not a fraction 2024-02-15 15:20:03 +01:00
frederik a3a1bee7c6 logging server 2024-02-13 10:57:35 +01:00
frederik da80128436 remove obsolete services 2024-02-13 10:57:35 +01:00
frederik 5e590cd3bf optimize 2024-02-13 10:57:35 +01:00
frederik 1783328ebd run_analysis() created 2024-02-13 10:57:35 +01:00
frederik 3df8290e67 reshuffle code to make server.py importable 2024-02-13 10:57:35 +01:00
Steve Dodd 479bd272e9 Simplify handle_client loop / indent, check for EOF when reading from socket. 2023-07-01 21:39:11 +01:00
ehpersonal38 07adfa95a2 Update server.py 2023-06-05 14:16:08 -04:00
ehpersonal38 a724a25043 fix 2023-06-04 19:04:41 -04:00
ehpersonal38 fd7cdd4b57 Model Update: V2.4 2023-06-04 18:58:47 -04:00
ehpersonal38 5af7dd9ced Merge branch 'main' into feature/add-confidencepct-variable-to-apprise-notification 2023-05-30 12:30:14 -04:00
ehpersonal38 bddd8b3b9f Tim's requests
https://github.com/mcguirepr89/BirdNET-Pi/discussions/184#discussioncomment-5825259
2023-05-06 15:28:02 -04:00
ehpersonal38 59fea28a73 coldfix
Co-Authored-By: Datore7 <62485051+datore7@users.noreply.github.com>
2023-04-24 16:13:53 -04:00
ehpersonal38 c016427083 Model Update: V2.3
note for me:
for f in BirdNET_GLOBAL_3K_V2.3_Labels_*.txt; do mv -- "$f" "labels_${f#BirdNET_GLOBAL_3K_V2.3_Labels_}"; done
2023-04-24 14:09:24 -04:00
ehpersonal38 d0b328c07e Merge pull request #822 from patrikbwi/patrikbwi-patch-1
Update server.py
2023-04-10 21:41:05 -04:00
ehpersonal38 9b6d3d7f0a Merge pull request #821 from Normanras/audio_errors
Created try/except statement around reading the audio data
2023-04-06 20:15:10 -04:00
Norm Rasmussen 8afaf66ea7 Create try/except statement around reading the audio data from the recordings. See the issue linked in the PR. By clearing the text in analyzing_now, my system moves past the error-causing file and continues processing. 2023-04-03 22:04:38 -04:00
jaredb7 cded6dd031 Update spelling for the RTSP acronym 2023-04-01 22:46:05 +10:00
jaredb7 ae94cbc189 Enhancement to allow simultaneous RTSP stream recording
Updated birdnet_recording.sh
With a functional change around how ffmpeg is used to make use if it's functionality to accept multiple input streams and map each to a output file.
Due to the original implementation generating a  filename that contain the date/time streams would be writing to the same file - a small change was make each stream go to it's one file with unique filenames.

Updated livestream.sh & spectrogram.php
The Livestream service would fail if the RTSP stream setting was more than 1 stream (i.e comma separated list of streams)
Made some improvements so streaming is possible from any of the URL's, The Spectrogram page received a new control and some Javascript that allows the user to change between streams, the setting gets saved and the livestream service restarted so it uses's the correct stream.
This control is not visible if there are no RTSP streams configured
By default the livestream service will stream the the first RTSP URL, if the setting is not set or invalid

Updated advanced.php
With a small GUI change around RTSP steam entry by providing a input field for each URL and a button to add more fields.
In the background nothing changes as we use some Javascript to extract the valus entered and fill in the original rtsp_stream value with the correct comma separated string

Updated server.py
To work with the recording filename changes so that the correct filename is stored in the DB

Updated update_birdnet_snippets.sh
To support a new setting RTSP_STREAM_TO_LIVESTREAM on the Spectrogram page and in the livestream service
2023-04-01 22:29:02 +10:00
Patrik Winroth ceba1fdc27 Update server.py 2023-03-29 10:38:48 +02:00
Bdoner fdbcf92bd6 satisfy flake8 linter 2023-02-22 10:50:36 +01:00
Bdoner fac374e941 Add $confidencepct variable to apprise notification. 2023-02-22 10:37:57 +01:00
ehpersonal38 64e2efb3c9 Update server.py 2023-02-03 13:12:35 -05:00
ehpersonal38 8f15883298 Update server.py 2023-01-28 12:08:50 -05:00
ehpersonal38 bb764276ae Update server.py 2023-01-23 14:55:59 -05:00
ehpersonal38 2685171e75 Update server.py 2023-01-16 12:40:23 -05:00
ehpersonal38 1dcd4b4877 Update server.py 2023-01-15 13:58:57 -05:00
ehpersonal38 28ac9e172c moderately consequential bug that has henceforth been extinguished 2023-01-15 13:55:36 -05:00
ehpersonal38 112f40e192 Update server.py 2023-01-14 17:41:59 -05:00
ehpersonal38 84763bf5b7 New Model Implementation 2023-01-14 15:22:39 -05:00
mcguirepr89 e05025c42e linted 2022-06-25 15:18:37 -04:00
mcguirepr89 d83b71aeca accepts all DB variables and JSON objects 2022-06-25 15:04:51 -04:00
mcguirepr89 fe19a6de73 removing my testing customization 2022-06-24 09:31:03 -04:00
mcguirepr89 3d991d6cab linted 2022-06-24 09:15:36 -04:00
Joe Weiss 75a13f80d3 Move notifications utility into script.utils 2022-06-23 09:11:55 -04:00