From 586bb1d1b206fa0ff0cbb1bef61e560fcbbd0f45 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 7 Jul 2024 07:16:51 +0200 Subject: [PATCH] Disable minimum volume --- birdnet-pi/rootfs/etc/cont-init.d/31-checks.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/birdnet-pi/rootfs/etc/cont-init.d/31-checks.sh b/birdnet-pi/rootfs/etc/cont-init.d/31-checks.sh index f9e2585f8b8..47ffa5b7753 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/31-checks.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/31-checks.sh @@ -33,14 +33,14 @@ done ################ # If default capture is set at 0%, increase it to 50% -current_volume="$(amixer sget Capture | grep -oP '\[\d+%]' | tr -d '[]%' | head -1)" 2>/dev/null || true -current_volume="${current_volume:-100}" +# current_volume="$(amixer sget Capture | grep -oP '\[\d+%]' | tr -d '[]%' | head -1)" 2>/dev/null || true +# current_volume="${current_volume:-100}" # Set the default microphone volume to 50% if it's currently at 0% -if [[ "$current_volume" -eq 0 ]]; then - amixer sset Capture 70% - bashio::log.warning "Microphone was off, volume set to 70%." -fi +# if [[ "$current_volume" -eq 0 ]]; then +# amixer sset Capture 70% +# bashio::log.warning "Microphone was off, volume set to 70%." +# fi ############## # CHECK PORT #