-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: enhance BirdNET model management with validation and reload functionality - Added validateModelAndLabels method to ensure the number of labels matches the model's output size, improving error handling and debugging. - Implemented ReloadModel method to safely reload the BirdNET model and labels, including mutex locking for thread safety and cleanup of old interpreters upon failure. - Removed unused SpeciesListUpdated timestamp field to streamline the BirdNET struct. - Improved error messages for model and label loading failures, enhancing clarity during debugging. * feat: integrate notification handling in real-time audio analysis - Updated RealtimeAnalysis to accept a notification channel for handling status updates. - Enhanced startControlMonitor to send notifications for range filter rebuild and model reload events, improving user feedback during real-time analysis. - Modified HTTP server and handlers to include the notification channel, ensuring consistent notification management across components. * feat: enhance settings saving with BirdNET and range filter notifications - Implemented checks to detect changes in BirdNET settings and send notifications for model reloads. - Added notifications for range filter rebuilds when related settings change. - Improved error handling and logging during settings updates, ensuring better user feedback and traceability. - Introduced functions to check for specific changes in BirdNET settings, enhancing configuration management.
- Loading branch information
Showing
6 changed files
with
198 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters