mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 18:43:39 +02:00
Correct env
This commit is contained in:
@@ -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