diff --git a/birdnet-pi/CHANGELOG.md b/birdnet-pi/CHANGELOG.md index 23ce53627..8c98e72e6 100644 --- a/birdnet-pi/CHANGELOG.md +++ b/birdnet-pi/CHANGELOG.md @@ -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 diff --git a/birdnet-pi/README.md b/birdnet-pi/README.md index 21bd07705..a5ba45e3c 100644 --- a/birdnet-pi/README.md +++ b/birdnet-pi/README.md @@ -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 diff --git a/birdnet-pi/config.json b/birdnet-pi/config.json index 10495d13c..8ae9effb7 100644 --- a/birdnet-pi/config.json +++ b/birdnet-pi/config.json @@ -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 } diff --git a/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh b/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh index 6876fc85d..32007d5e8 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh @@ -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