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}"