From f13193958b96f74ba68e6a15bb3c237a162bee05 Mon Sep 17 00:00:00 2001 From: retr0 Date: Mon, 6 Apr 2026 16:45:52 +0200 Subject: [PATCH] Release v1.0.2: Passwort-Auth entfernt, Zeroconf-only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit librespot 0.7+ unterstützt --password nicht mehr (nur noch OAuth/Zeroconf). Der --password-Arg ließ librespot sofort abstürzen → leere Pipeline. - username/password aus config.yaml und run.sh entfernt - librespot nutzt jetzt ausschließlich Zeroconf/mDNS zur Erkennung - Gerät erscheint automatisch in der Spotify-App im lokalen Netz Co-Authored-By: Claude Sonnet 4.6 --- busch_radio_spotify/config.yaml | 6 +----- busch_radio_spotify/run.sh | 18 ++++-------------- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/busch_radio_spotify/config.yaml b/busch_radio_spotify/config.yaml index a00ff93..7698c13 100644 --- a/busch_radio_spotify/config.yaml +++ b/busch_radio_spotify/config.yaml @@ -1,6 +1,6 @@ --- name: "Busch-Radio Spotify Bridge" -version: "1.0.1" +version: "1.0.2" slug: busch_radio_spotify description: > Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio. @@ -22,8 +22,6 @@ options: stream_port: 8000 stream_mount: "/stream.mp3" icecast_password: "busch-radio-geheim" - username: "" - password: "" schema: device_name: str @@ -31,8 +29,6 @@ schema: stream_port: port stream_mount: str icecast_password: str - username: str? - password: password? # ---- Netzwerk ---- ports: diff --git a/busch_radio_spotify/run.sh b/busch_radio_spotify/run.sh index 8168b5a..ec5f631 100644 --- a/busch_radio_spotify/run.sh +++ b/busch_radio_spotify/run.sh @@ -135,6 +135,9 @@ fi bashio::log.info "Icecast läuft (PID: ${ICECAST_PID})" # ── Librespot-Argumente zusammenstellen ─────────────────────────────────────── +# Hinweis: librespot 0.7+ unterstützt keine Passwort-Authentifizierung mehr. +# Das Gerät wird automatisch via Zeroconf/mDNS im lokalen Netz gefunden. +# Die Spotify-App zeigt es als verfügbares Abspielgerät an. LIBRESPOT_ARGS=( "--name" "${DEVICE_NAME}" "--bitrate" "${BITRATE}" @@ -143,20 +146,7 @@ LIBRESPOT_ARGS=( "--initial-volume" "100" ) -# Optionale Spotify-Zugangsdaten -SP_USER=$(bashio::config 'username') -SP_PASS=$(bashio::config 'password') - -if [ -n "${SP_USER}" ]; then - LIBRESPOT_ARGS+=("--username" "${SP_USER}") - bashio::log.info "Spotify-Konto: ${SP_USER}" -else - bashio::log.info "Kein Spotify-Konto konfiguriert (Zeroconf/mDNS-Erkennung aktiv)" -fi - -if [ -n "${SP_PASS}" ]; then - LIBRESPOT_ARGS+=("--password" "${SP_PASS}") -fi +bashio::log.info "Authentifizierung: Zeroconf/mDNS (automatische Erkennung im Netz)" # ── Icecast-Source-URL ──────────────────────────────────────────────────────── ICECAST_SOURCE_URL="icecast://source:${ICECAST_PASSWORD}@localhost:${STREAM_PORT}${STREAM_MOUNT}"