0.2.0: play through Spotify Soloist
All checks were successful
release / release (push) Successful in 10m37s

Spotify refuses librespot the audio keys ("error audio key 0 1",
librespot #1649), so nothing played. Playback now goes through Spotify
Soloist, Spotify's own headless Linux player:

- The TV downloads it from Spotify (redistribution is not allowed), keeps
  it fresh (builds expire after 90 days), runs and restarts it, and drives
  it over its local WebSocket API; its events feed Most szól.
- It needs the user's own Soloist API key: the key screen shows a QR code
  to a small page on the TV where the phone pastes it (or type it on the
  TV); asked once after sign-in, also in Settings. Then the TV is picked
  once in the phone's Spotify app (pairing); home shows that step.
- Soloist is the Connect device; librespot only signs in (pairing code)
  and browses. Its player, Connect and zeroconf are gone, and with them
  GStreamer.
- A track from a list plays and the next ones are queued (Soloist's play
  takes one URI). The queue panel is back (Soloist reports the queue).
- Settings: the player's state and key instead of quality/normalisation/
  autoplay (Soloist decides those).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-11-03 21:50:44 +01:00
parent 5a76e56fe1
commit 7fd7e242a7
24 changed files with 1274 additions and 1268 deletions

View File

@@ -2,7 +2,7 @@
id = "support.bluefox.spotify"
name = "Spotify"
# Release versions only (1.2.3). Bump it (and Cargo.toml) for every release.
version = "0.1.1"
version = "0.2.0"
kind = "exec"
category = "Zene"
description = "Zene és podcastok natívan, Spotify Connecttel: a telefonról is irányítható. Spotify Premium fiók kell hozzá."
@@ -15,6 +15,7 @@ accent = "#1ED760"
palette = ["#1ed760", "#0d5c2b", "#060a07"]
[sandbox]
# network: Spotify and Spotify Connect (zeroconf on the local network);
# network: Spotify, Spotify Connect (zeroconf on the local network), the
# Soloist download and the key page for the phone;
# gpu: the glass UI; audio: sound.
permissions = ["network", "gpu", "audio"]