Release v1.1.1: fehlendes iproute2 im Debian-Image (1.1.0 brach nach Icecast-Start ab)
Vor dem Release auf ENTON mit Ersatz-Supervisor durchgetestet: Icecast, OAuth-Seite, librespot-Anmelde-URL und Stream (HTTP 200 mit Daten) laufen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CGNdWh2jLNNb3tb9v1WEuK
This commit is contained in:
1 parent
99c910f488
commit
ee7ce2e598
4 files changed
+10
-5
No files matched your search
@@ -53,7 +53,7 @@ else
|
||||
fi
|
||||
|
||||
bashio::log.info "╔══════════════════════════════════════════════╗"
|
||||
bashio::log.info "║ Busch-Radio Spotify Bridge v1.1.0 ║"
|
||||
bashio::log.info "║ Busch-Radio Spotify Bridge v1.1.1 ║"
|
||||
bashio::log.info "╚══════════════════════════════════════════════╝"
|
||||
bashio::log.info "Gerätename : ${DEVICE_NAME}"
|
||||
bashio::log.info "Empfänger : ${MODUS}"
|
||||
@@ -179,9 +179,9 @@ CREDENTIAL_CACHE="/data/librespot-cache"
|
||||
mkdir -p "${CREDENTIAL_CACHE}"
|
||||
|
||||
# ── IP-Adresse des Hosts ermitteln ───────────────────────────────────────────
|
||||
HA_IP=$(ip route get 1 2>/dev/null | awk '{for(i=1;i<=NF;i++) if($i=="src") print $(i+1)}' | head -1)
|
||||
HA_IP=$(ip route get 1 2>/dev/null | awk '{for(i=1;i<=NF;i++) if($i=="src") print $(i+1)}' | head -1 || true)
|
||||
if [ -z "${HA_IP}" ]; then
|
||||
HA_IP=$(hostname -I 2>/dev/null | awk '{print $1}')
|
||||
HA_IP=$(hostname -I 2>/dev/null | awk '{print $1}' || true)
|
||||
fi
|
||||
if [ -z "${HA_IP}" ]; then
|
||||
HA_IP="<homeassistant-ip>"
|
||||
|
||||
Reference in new issue
Block a user