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>
This commit is contained in:
Niklas Gühne
2026-04-07 08:03:49 +02:00
parent 6f4e408190
commit 5b99f3fc17
3 changed files with 15 additions and 5 deletions

View File

@@ -171,8 +171,9 @@ else
bashio::log.info "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
bashio::log.info "ERSTER START Spotify-Autorisierung erforderlich!"
bashio::log.info ""
bashio::log.info "1) librespot gibt gleich eine 'Browse to:'-URL aus."
bashio::log.info " Kopiere diese URL und öffne sie im Browser."
bashio::log.info "1) Gleich erscheint im Log eine Zeile:"
bashio::log.info " Browse to: https://accounts.spotify.com/authorize?..."
bashio::log.info " Kopiere diese URL vollständig und öffne sie im Browser."
bashio::log.info ""
bashio::log.info "2) Melde dich mit deinem Spotify-Konto an"
bashio::log.info " und erteile die Berechtigung."