mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 00:01:36 +01:00
Correct env
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
## 0.13-53 (15-06-2024)
|
||||
- Several upstream improvements
|
||||
- Feat : analysis in 24bits with 24BITS_ANALYSIS. The model is however trained in 16bits. Increases resources, and to use only if you have a 24 bits stream
|
||||
- Feat : analysis in 24bits with ANALYSIS_24BITS. The model is however trained in 16bits. Increases resources, and to use only if you have a 24 bits stream
|
||||
|
||||
## 0.13-52 (10-06-2024)
|
||||
- Fix : improve timedatectl management in options
|
||||
|
||||
@@ -50,7 +50,7 @@ Options can be configured through three ways :
|
||||
- Addon options
|
||||
|
||||
```yaml
|
||||
24BITS_ANALYSIS: analysis in 24bits. The model is however trained in 16bits. Increases resources, and to use only if you have a 24 bits stream
|
||||
ANALYSIS_24BITS: analysis in 24bits. The model is however trained in 16bits. Increases resources, and to use only if you have a 24 bits stream
|
||||
BIRDSONGS_FOLDER: folder to store birdsongs file # It should be an ssd if you want to avoid clogging of analysis
|
||||
LIVESTREAM_BOOT_ENABLED: start livestream from boot, or from settings
|
||||
SPECIES_CONVERTER_ENABLED: true/false. if enabled, will create a new setting in the birdnet options where you can specify birds to convert. It will convert on the fly the specie when detected
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
"DAC_READ_SEARCH"
|
||||
],
|
||||
"schema": {
|
||||
"24BITS_ANALYSIS": "bool?",
|
||||
"ANALYSIS_24BITS": "bool?",
|
||||
"BIRDSONGS_FOLDER": "str?",
|
||||
"PROCESSED_FOLDER_ENABLED": "bool?",
|
||||
"SPECIES_CONVERTER_ENABLED": "bool?",
|
||||
@@ -113,6 +113,6 @@
|
||||
"udev": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
|
||||
"usb": true,
|
||||
"version": "0.13-53",
|
||||
"version": "0.13-54",
|
||||
"video": true
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ echo " "
|
||||
bashio::log.info "Adding new features"
|
||||
|
||||
# Add analysis in 24 bits
|
||||
if bashio::config.true "24BITS_ANALYSIS"; then
|
||||
if bashio::config.true "ANALYSIS_24BITS"; then
|
||||
echo "... using 24 bits instead of 64 bits for wav analysis. Use only if you feed a 24 bits stream. For info, the model is trained in 16bits"
|
||||
sed -i "s|s16le|s24le|g" "$HOME"/BirdNET-Pi/scripts/birdnet_recording.sh
|
||||
sed -i "s|S16_LE|S24_LE|g" "$HOME"/BirdNET-Pi/scripts/birdnet_recording.sh
|
||||
|
||||
Reference in New Issue
Block a user