diff --git a/busch_radio_spotify/Dockerfile b/busch_radio_spotify/Dockerfile index e8edc4b..24bf0ea 100644 --- a/busch_radio_spotify/Dockerfile +++ b/busch_radio_spotify/Dockerfile @@ -23,8 +23,15 @@ RUN apk add --no-cache \ RUN git clone --depth 1 --branch v0.7.0 \ https://github.com/librespot-org/librespot.git /build && \ cd /build && \ - # OAuth-Server auf allen Interfaces binden (statt nur 127.0.0.1) - sed -i 's/127\.0\.0\.1/0.0.0.0/g' oauth/src/lib.rs && \ + # OAuth-Server auf allen Interfaces binden (statt nur localhost). + # Rust-Code kann die Adresse auf verschiedene Weisen schreiben: + sed -i \ + -e 's/127\.0\.0\.1/0.0.0.0/g' \ + -e 's/\[127, 0, 0, 1\]/[0, 0, 0, 0]/g' \ + -e 's/Ipv4Addr::LOCALHOST/Ipv4Addr::UNSPECIFIED/g' \ + oauth/src/lib.rs && \ + echo "--- oauth/src/lib.rs (Addr-Zeilen nach Patch) ---" && \ + grep -n "0\.0\.0\|UNSPECIFIED\|127\|LOCALHOST" oauth/src/lib.rs || true && \ cargo build \ --release \ --locked \ diff --git a/busch_radio_spotify/config.yaml b/busch_radio_spotify/config.yaml index 436e719..5a650d0 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.5" +version: "1.0.6" slug: busch_radio_spotify description: > Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio.