Correct env

This commit is contained in:
Alexandre
2024-06-15 23:28:05 +02:00
committed by GitHub
parent 0268eabf6e
commit 7576898b69
4 changed files with 5 additions and 5 deletions

View File

@@ -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