Commit Graph

7 Commits

Author SHA1 Message Date
Yudong Sun
312906997a fix(birdnet-pipy): fix icecast crash and Live Feed broken in ingress
Two fixes for the birdnet-pipy addon:

1. Icecast log permission error: 01-structure.sh creates /app/data/logs
   as root, but start-icecast.sh runs via gosu icecast2. The first log
   write fails with "Permission denied", crashing icecast in a restart
   loop (502 Bad Gateway on the Live Feed page). Fix: chown the log dir
   and file to icecast2 before dropping privileges.

2. Live Feed double-prefixed request in ingress mode: the "/stream/"
   sub_filter rule also matches 'api.get("/stream/config")' in the JS
   bundle, producing a request like
   /hassio_ingress/TOKEN/api/hassio_ingress/TOKEN/stream/config (404).
   The upstream frontend (BirdNET-PiPy >= 0.6.2) now strips the leading
   slash from stream URLs so they resolve via <base href> — the
   sub_filter rule is no longer needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:46:51 -04:00
copilot-swe-agent[bot]
db417e78d6 Fix Icecast service hardcoding /run/pulse/native and ignoring PULSE_SERVER
- Use ${PULSE_SERVER:-unix:/run/pulse/native} in icecast/run and main/run
  to respect the PULSE_SERVER env var set by HA supervisor
- Create /run/pulse/native symlink when PulseAudio socket is elsewhere
- Copy PulseAudio cookie for icecast2 user authentication
- Add icecast2 to audio group

Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
2026-02-22 23:31:55 +00:00
Alexandre
f24a815f4f Simplify nginx run script by removing checks
Removed conditional check for nginx disabled state.
2026-02-15 18:22:55 +01:00
Alexandre
27a64fd80b birdnet-pipy: disable nginx service when ingress is unavailable 2026-02-15 08:33:14 +01:00
Alexandre
6e4898e597 Change execution user for icecast startup script 2026-01-31 11:26:18 +01:00
Alexandre
8372be9c20 Update run 2026-01-29 17:14:07 +01:00
Alexandre
dca06b9a9d Add configurable data location 2026-01-28 19:41:00 +01:00