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
@@ -19,7 +19,7 @@ Das **Busch-Jäger Unterputz-Internetradio** kann nur Internetradio-Streams absp
|
||||
Dieses Home Assistant Add-on erstellt ein virtuelles Spotify Connect-Gerät und stellt das Audio als MP3- oder AAC-Stream über Icecast bereit.
|
||||
|
||||
Als Spotify-Empfänger dient ab Version 1.1.0 **[Spotify Soloist](https://developer.spotify.com)**, Spotifys offizieller Client für Linux.
|
||||
Ohne Soloist-API-Key (und auf 32-Bit-Geräten) läuft weiterhin **[librespot](https://github.com/librespot-org/librespot)** als Rückfall.
|
||||
Ohne Soloist-API-Key läuft weiterhin **[librespot](https://github.com/librespot-org/librespot)** als Rückfall.
|
||||
|
||||
> **Warum Soloist?** Spotify verweigert librespot seit 2025/26 bei vielen Konten die Audio-Schlüssel.
|
||||
> Im Log erscheint dann bei jedem Titel `error audio key 0 1` und es bleibt still
|
||||
@@ -40,7 +40,7 @@ Spotify-App → [Spotify Connect] → Soloist → PipeWire → pw-record ─┐
|
||||
|---|---|
|
||||
| Home Assistant | OS, Supervised oder Container |
|
||||
| Spotify Premium | Pflicht für Spotify Connect und für den Soloist-API-Key |
|
||||
| Architektur | Soloist: amd64 oder aarch64 (z. B. Raspberry Pi 4/5 mit 64-Bit-OS); 32-Bit nur librespot |
|
||||
| Architektur | amd64 oder aarch64 (z. B. Raspberry Pi 4/5 mit 64-Bit-OS); 32-Bit wird nicht unterstützt |
|
||||
| Internet | Soloist wird beim Start von Spotify geladen und alle 12 h aktualisiert |
|
||||
| Busch-Jäger Radio | Muss benutzerdefinierte Stream-URLs unterstützen |
|
||||
|
||||
@@ -54,7 +54,7 @@ Spotify-App → [Spotify Connect] → Soloist → PipeWire → pw-record ─┐
|
||||
2. Drei Punkte oben rechts → **Repositories**
|
||||
3. URL eintragen: `https://gitea.bitfire.work/retr0/Busch-Radio-Spotify`
|
||||
4. **Busch-Radio Spotify Bridge** erscheint im Store
|
||||
5. Installieren (der erste Build dauert ~10–15 Minuten wegen Rust-Kompilierung)
|
||||
5. Installieren (fertiges Image, dauert nur so lange wie der Download)
|
||||
|
||||
### 2. Add-on konfigurieren
|
||||
|
||||
@@ -175,8 +175,9 @@ librespot: Spotify → librespot (dekodiert, PCM auf stdout)
|
||||
|
||||
### Hinweise zum Build
|
||||
|
||||
- amd64/aarch64 nutzen ein Debian-Basisimage (Soloist braucht glibc ≥ 2.38), 32-Bit bleibt Alpine
|
||||
- librespot wird aus dem Quellcode kompiliert (Rust, ~10–15 Min.), statisch gelinkt – läuft auf beiden Basisimages
|
||||
- Debian-Basisimage (Soloist braucht glibc ≥ 2.38); librespot wird aus dem Quellcode kompiliert und statisch gelinkt
|
||||
- Die Images baut `.gitea/workflows/images.yml` bei jedem `v*`-Tag (aarch64 per QEMU) und legt sie in die Gitea-Registry;
|
||||
HA lädt sie nur herunter. Reihenfolge beim Release: auf einem Branch taggen, Images abwarten, dann nach main
|
||||
- Soloist liegt in `/data/soloist/bin`; Builds laufen nach 90 Tagen ab, das Add-on lädt rechtzeitig neue
|
||||
und wechselt, sobald gerade nichts spielt
|
||||
- Der OAuth-Callback-Server bindet an `0.0.0.0` statt `127.0.0.1`, damit der Browser-Login aus dem Heimnetz funktioniert
|
||||
@@ -196,7 +197,7 @@ librespot: Spotify → librespot (dekodiert, PCM auf stdout)
|
||||
| Stream bricht bei Pause ab | Auf Version 1.0.11+ aktualisieren |
|
||||
| Songs wechseln zu schnell | Auf Version 1.0.10+ aktualisieren |
|
||||
| Neu autorisieren | Add-on stoppen → `/data/librespot-cache/credentials.json` löschen → neu starten |
|
||||
| Build schlägt fehl | Logs im Add-on Store prüfen |
|
||||
| Installation schlägt fehl | Erreicht HA `gitea.bitfire.work`? Logs im Add-on Store prüfen |
|
||||
|
||||
---
|
||||
|
||||
@@ -205,7 +206,7 @@ librespot: Spotify → librespot (dekodiert, PCM auf stdout)
|
||||
```
|
||||
busch-radio-spotify/
|
||||
├── busch_radio_spotify/ # Home Assistant Add-on
|
||||
│ ├── Dockerfile # Multi-Stage Build (Rust → Debian bzw. Alpine)
|
||||
│ ├── Dockerfile # Multi-Stage Build (Rust → Debian)
|
||||
│ ├── config.yaml # Add-on Manifest & Optionen
|
||||
│ ├── build.yaml # Multi-Arch Konfiguration
|
||||
│ ├── DOCS.md # Add-on Dokumentation (in HA angezeigt)
|
||||
@@ -223,6 +224,7 @@ busch-radio-spotify/
|
||||
│ ├── media_player.py
|
||||
│ ├── config_flow.py
|
||||
│ └── translations/
|
||||
├── .gitea/workflows/images.yml # Baut die fertigen Images
|
||||
├── repository.yaml # HA Repository-Manifest
|
||||
└── README.md
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user