Release v1.0.2: Passwort-Auth entfernt, Zeroconf-only
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user