From dd5d4caa8ce673753546e74eb7f036884de72721 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 15 May 2025 10:54:50 +0200 Subject: [PATCH] Update 01-structure.sh --- birdnet-go/rootfs/etc/cont-init.d/01-structure.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh b/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh index 0f95dce42..92adefddd 100755 --- a/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh +++ b/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh @@ -100,10 +100,3 @@ bashio::log.info "Correcting configuration for defaults" # Update database location in config files yq -i -y ".output.sqlite.path = \"/config/birdnet.db\"" "$CONFIG_LOCATION" bashio::log.info "... database is located in /config/birdnet.db" - -# Adjust microphone volume if needed -current_volume="$(amixer sget Capture | grep -oP '\[\d+%\]' | tr -d '[]%' | head -1 2>/dev/null || echo "100")" || true -if [[ "$current_volume" -eq 0 ]]; then - amixer sset Capture 70% - bashio::log.warning "Microphone was off, volume set to 70%." -fi || true