diff --git a/busch_radio_spotify/CHANGELOG.md b/busch_radio_spotify/CHANGELOG.md index 1987cbb..7cf532d 100644 --- a/busch_radio_spotify/CHANGELOG.md +++ b/busch_radio_spotify/CHANGELOG.md @@ -1,5 +1,10 @@ # Änderungsprotokoll +## 1.1.1 + +- **Fix**: 1.1.0 brach auf amd64/aarch64 direkt nach dem Icecast-Start ab – im Debian-Image fehlte `ip` (iproute2) + für die Ermittlung der HA-Adresse. Paket ergänzt, Adress-Ermittlung kann das Add-on nicht mehr beenden + ## 1.1.0 - **Spotify Soloist** als neuer Empfänger: Spotifys offizieller Linux-Client ersetzt librespot, sobald diff --git a/busch_radio_spotify/Dockerfile b/busch_radio_spotify/Dockerfile index adcfc4c..4042b7f 100644 --- a/busch_radio_spotify/Dockerfile +++ b/busch_radio_spotify/Dockerfile @@ -66,7 +66,7 @@ RUN if command -v apk >/dev/null; then \ else \ apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - jq curl python3 ffmpeg icecast2 \ + jq curl python3 ffmpeg icecast2 iproute2 procps \ pipewire pipewire-bin wireplumber libpipewire-0.3-modules libspa-0.2-modules \ libpulse0 libatomic1 \ && apt-get clean && rm -rf /var/lib/apt/lists/*; \ diff --git a/busch_radio_spotify/config.yaml b/busch_radio_spotify/config.yaml index 8f03ca2..edff6b9 100644 --- a/busch_radio_spotify/config.yaml +++ b/busch_radio_spotify/config.yaml @@ -1,6 +1,6 @@ --- name: "Busch-Radio Spotify Bridge" -version: "1.1.0" +version: "1.1.1" slug: busch_radio_spotify description: > Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio. diff --git a/busch_radio_spotify/run.sh b/busch_radio_spotify/run.sh index bab9ba9..3880c1c 100644 --- a/busch_radio_spotify/run.sh +++ b/busch_radio_spotify/run.sh @@ -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=""