v1.1.2: fertige Images aus der Gitea-Registry statt Build auf dem Gerät
Images / images (push) Failing after 3s
Images / images (push) Failing after 3s
- .gitea/workflows/images.yml baut amd64 + aarch64 (QEMU) bei v*-Tags und pusht nach
gitea.bitfire.work/retr0/busch-radio-spotify-{arch}
- config.yaml: image: gesetzt, armhf/armv7 entfernt (rust:alpine gibt es dort nicht, Build ging nie)
- io.hass-Labels im Dockerfile, Doku angepasst
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
ee7ce2e598
commit
8350b08368
8 files changed
+82
-19
No files matched your search
@@ -1,5 +1,12 @@
|
||||
# Änderungsprotokoll
|
||||
|
||||
## 1.1.2
|
||||
|
||||
- **Fertige Images**: Das Add-on wird nicht mehr auf dem Gerät gebaut, sondern als fertiges Image aus der
|
||||
Gitea-Registry geladen. Installation und Updates dauern Sekunden statt 15 Minuten (Pi: über eine Stunde)
|
||||
- 32-Bit (armhf/armv7) aus der Architektur-Liste entfernt – der Build hat dort nie funktioniert,
|
||||
weil es das Rust-Basisimage für 32-Bit-ARM nicht gibt
|
||||
|
||||
## 1.1.1
|
||||
|
||||
- **Fix**: 1.1.0 brach auf amd64/aarch64 direkt nach dem Icecast-Start ab – im Debian-Image fehlte `ip` (iproute2)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Streamt Spotify-Musik als Internetradio-Stream für das Busch-Jäger Unterputz-Internetradio.
|
||||
|
||||
Ein virtuelles Spotify Connect-Gerät nimmt Audio entgegen und stellt es per Icecast als HTTP-Stream bereit.
|
||||
Empfänger ist **Spotify Soloist** (Spotifys offizieller Client); ohne API-Key oder auf 32-Bit-Geräten **librespot**.
|
||||
Empfänger ist **Spotify Soloist** (Spotifys offizieller Client); ohne API-Key **librespot**.
|
||||
|
||||
```
|
||||
Spotify-App → Soloist / librespot → ffmpeg → Icecast → Busch-Jäger Radio
|
||||
@@ -46,7 +46,7 @@ das Add-on prüft alle 12 Stunden auf neue und wechselt, sobald gerade nichts sp
|
||||
| `stream_port` | `8000` | HTTP-Port des Icecast-Streams |
|
||||
| `stream_mount` | `/stream` | URL-Pfad des Streams |
|
||||
| `icecast_password` | – | Internes Icecast-Passwort (bitte ändern) |
|
||||
| `soloist_api_key` | leer | Soloist-API-Key; leer = librespot. Nur amd64/aarch64 |
|
||||
| `soloist_api_key` | leer | Soloist-API-Key; leer = librespot |
|
||||
|
||||
---
|
||||
|
||||
@@ -83,7 +83,7 @@ das Add-on prüft alle 12 Stunden auf neue und wechselt, sobald gerade nichts sp
|
||||
|
||||
## Technische Hinweise
|
||||
|
||||
- amd64/aarch64 laufen auf Debian (Soloist braucht glibc), 32-Bit auf Alpine (nur librespot)
|
||||
- librespot wird beim Build aus dem Quellcode kompiliert (Rust) – der erste Build dauert ca. 10–15 Minuten
|
||||
- Läuft auf amd64 und aarch64 (Debian-Basis, Soloist braucht glibc); 32-Bit wird nicht unterstützt
|
||||
- Das Add-on kommt als fertiges Image aus der Gitea-Registry – Installation und Updates gehen in Sekunden
|
||||
- Audio wird nicht gespeichert – ausschließlich live gestreamt
|
||||
- Spotify Premium ist für Spotify Connect erforderlich
|
||||
@@ -87,4 +87,9 @@ COPY oauth_helper.py /oauth_helper.py
|
||||
COPY soloist-fetch.sh /usr/local/bin/soloist-fetch
|
||||
RUN chmod a+x /run.sh /oauth_helper.py /usr/local/bin/soloist-fetch
|
||||
|
||||
ARG BUILD_ARCH
|
||||
ARG BUILD_VERSION
|
||||
LABEL io.hass.type="addon" io.hass.arch="${BUILD_ARCH}" io.hass.version="${BUILD_VERSION}" \
|
||||
io.hass.name="Busch-Radio Spotify Bridge"
|
||||
|
||||
CMD ["/run.sh"]
|
||||
@@ -1,8 +1,6 @@
|
||||
---
|
||||
# Multi-Architektur Build-Konfiguration für das HA Add-on.
|
||||
# amd64/aarch64 auf Debian (glibc, für Spotify Soloist), 32-Bit bleibt Alpine (nur librespot).
|
||||
# Debian (glibc, für Spotify Soloist). 32-Bit entfällt: rust:alpine gibt es dort nicht.
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/debian-base:9.5.0
|
||||
amd64: ghcr.io/hassio-addons/debian-base:9.5.0
|
||||
armhf: ghcr.io/home-assistant/armhf-base:latest
|
||||
armv7: ghcr.io/home-assistant/armv7-base:latest
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: "Busch-Radio Spotify Bridge"
|
||||
version: "1.1.1"
|
||||
version: "1.1.2"
|
||||
slug: busch_radio_spotify
|
||||
description: >
|
||||
Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio.
|
||||
@@ -10,8 +10,9 @@ url: "https://gitea.bitfire.work/retr0/Busch-Radio-Spotify"
|
||||
arch:
|
||||
- aarch64
|
||||
- amd64
|
||||
- armhf
|
||||
- armv7
|
||||
# Fertige Images aus der Gitea-Registry (gebaut von .gitea/workflows/images.yml).
|
||||
# HA lädt nur herunter statt selbst zu bauen. Tag = version.
|
||||
image: "gitea.bitfire.work/retr0/busch-radio-spotify-{arch}"
|
||||
init: false
|
||||
homeassistant: "2023.1.0"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# 1. Icecast2 – HTTP-Stream-Server
|
||||
# 2. Spotify-Empfänger, je nach Modus:
|
||||
# soloist – Spotifys offizieller Client → PipeWire-Senke → pw-record (PCM auf stdout)
|
||||
# librespot – Rückfall ohne API-Key bzw. auf 32-Bit (PCM auf stdout),
|
||||
# librespot – Rückfall ohne API-Key (PCM auf stdout),
|
||||
# dazu OAuth-Einrichtungs-Assistent auf Port 5589
|
||||
# 4. Silence-Injektor– Fügt Stille ein wenn Spotify pausiert (hält Stream aufrecht)
|
||||
# 5. ffmpeg – Kodiert PCM → MP3/AAC und schickt es als Icecast-Quelle
|
||||
@@ -53,7 +53,7 @@ else
|
||||
fi
|
||||
|
||||
bashio::log.info "╔══════════════════════════════════════════════╗"
|
||||
bashio::log.info "║ Busch-Radio Spotify Bridge v1.1.1 ║"
|
||||
bashio::log.info "║ Busch-Radio Spotify Bridge v1.1.2 ║"
|
||||
bashio::log.info "╚══════════════════════════════════════════════╝"
|
||||
bashio::log.info "Gerätename : ${DEVICE_NAME}"
|
||||
bashio::log.info "Empfänger : ${MODUS}"
|
||||
|
||||
Reference in new issue
Block a user