9 Commits
Author SHA1 Message Date
Niklas GühneandClaude Sonnet 4.6 95aac1d809 Cleanup: interne IP durch öffentliche Domain ersetzen
- https://gitea.bitfire.workhttps://gitea.bitfire.work in allen Dateien
- Vorausgefülltes Default-Passwort aus config_flow.py entfernt
- DEFAULT_MOUNT auf /stream korrigiert (war noch /stream.mp3)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:32:06 +02:00
Niklas GühneandClaude Sonnet 4.6 f7136c0657 Add CHANGELOG.md für HA Add-on Änderungsprotokoll
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:20:50 +02:00
Niklas GühneandClaude Sonnet 4.6 a463403c43 Release v1.0.11: Pause-Fix, OAuth-Assistent, Docs, Cleanup
Pause-Fix (Silence-Injektor):
- Python-Skript zwischen librespot und ffmpeg
- Bei Pause füllt der Injektor die Stille mit Null-Bytes
- Icecast bleibt verbunden, Stream reißt nicht ab

OAuth-Einrichtungs-Assistent (Port 5589):
- oauth_helper.py: HTTP-Server mit geführtem Anmelde-Prozess
- Zeigt Spotify-Auth-Link automatisch sobald librespot ihn ausgibt
- URL-Fixer: Nutzer fügt 127.0.0.1-URL ein, Assistent korrigiert auf HA-IP
- Erkennt bereits vorhandene Credentials und zeigt Hinweis

Dokumentation:
- DOCS.md für die HA Add-on Detailseite erstellt
- README.md vollständig überarbeitet und aktualisiert

Cleanup:
- Leere Testdatei entfernt
- Veraltete example-config.yaml entfernt
- manifest.json der Custom Component auf v1.0.11 gebracht

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 12:14:56 +02:00
Niklas GühneandClaude Sonnet 4.6 fbebf84b76 Release v1.0.10: ffmpeg -re Flag für Echtzeit-Wiedergabe
Ohne -re liest ffmpeg den PCM-Stream von librespot so schnell wie
möglich. librespot meldet die Position dann zu schnell an Spotify,
was dazu führt dass Tracks im Sekundentakt wechseln und Stop/Skip
vom Handy nicht funktionieren.

Mit -re wird der Input auf native Framerate gedrosselt (44100 Hz
S16LE Stereo → ~176 kB/s), sodass Position korrekt gemeldet wird.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 10:22:49 +02:00
Niklas GühneandClaude Sonnet 4.6 53804877d5 Fix: Icecast source-timeout auf 30s erhöht
Bei Spotify-Pause fliesst kurz kein PCM → Icecast trennte ffmpeg
nach 10s. Mit 30s bleibt die Verbindung bei kurzen Pausen stabil.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 10:04:04 +02:00
Niklas GühneandClaude Sonnet 4.6 ecd90f08f4 Feature: AAC-Support und Bitrate auf Radiomaximum angepasst
Busch-Radio iNet 8216 U unterstützt max. 192 kbps und die Formate
MP3, AAC und OGG. Neue Konfigurationsoptionen:
- stream_format: mp3 (Standard) oder aac
- bitrate: 96/128/160/192 kbps (max. des Radios)

Default auf 160 kbps MP3 geändert (war 320 kbps – über Radio-Maximum).
Stream-URL im Log zeigt jetzt die echte HA-IP statt Platzhalter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 08:55:14 +02:00
Niklas GühneandClaude Sonnet 4.6 bc5f734be4 Release v1.0.9: librespot von v0.7.0 auf main-Branch aktualisiert
v0.7.0 hat Kompatibilitätsprobleme mit Spotifys aktuellem Backend:
Spotify liefert keine Audio-Datei-IDs mehr zurück, alle Tracks
werden als "not available" gemeldet. Der main-Branch enthält Fixes.

--locked entfernt (war nur für v0.7.0 wegen vergen-Konflikt nötig).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 08:49:15 +02:00
Niklas GühneandClaude Sonnet 4.6 15c71f1c38 Fix: --device-type computer für librespot
Behebt "context is not available. type: Default" Fehler,
bei dem librespot keine Tracks laden konnte. Die Angabe des
Device-Types hilft Spotify den Client korrekt zu klassifizieren.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 08:42:55 +02:00
Niklas GühneandClaude Sonnet 4.6 5b99f3fc17 Release v1.0.8: OAuth-URL im HA-Log sichtbar (stdout→stderr)
librespot schreibt die 'Browse to:'-URL mit println! auf stdout,
das direkt in die ffmpeg-Pipe geht – die URL war dadurch nie im
Log sichtbar, und ffmpeg erhielt Text statt PCM (Absturz-Schleife).

Fix: println! → eprintln! im librespot-Quellcode-Patch, sodass
die URL auf stderr landet und im HA-Log erscheint.

Außerdem: Patch-Verifikation schlägt jetzt mit exit 1 fehl statt
stillschweigend weiterzumachen (|| true → || exit 1).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 08:03:49 +02:00