Merge pull request #2026 from alexbelgium/codex/investigate-audio-device-recognition-issue

birdnet-pi: ensure pi user can access audio devices
This commit is contained in:
Alexandre
2025-08-11 07:06:34 +02:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
## 2025.08.11 (11-08-2025)
- Fix audio group to detect USB sound cards
## 2025.08.10 (10-08-2025)
- Fix web terminal password when running container standalone

View File

@@ -110,8 +110,8 @@ RUN \
# Give access to caddy for files owned by the user, to allow files modification
groupmod -o -g 1000 caddy && usermod -o -u 1000 caddy && \
\
# Give access to audio group
groupmod -o -g 1000 audio && usermod -aG audio "$USER" && \
# Give access to audio devices
usermod -aG audio "$USER" && \
\
# Ensure always pi is used
grep -srl "/etc/passwd" "$HOME/BirdNET-Pi/" | while IFS= read -r file; do sed -i "s=/etc/passwd=/etc/passwd | head -1=g" "$file"; done && \

View File

@@ -121,6 +121,6 @@
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi",
"usb": true,
"version": "2025.07.09",
"version": "2025.08.11",
"video": true
}