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

@@ -45,14 +45,10 @@ jobs:
printf 'Types: deb\nURIs: http://ports.ubuntu.com/ubuntu-ports/\nSuites: %s %s-updates %s-security\nComponents: main universe\nArchitectures: arm64\nSigned-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg\n' \
"$VERSION_CODENAME" "$VERSION_CODENAME" "$VERSION_CODENAME" >/etc/apt/sources.list.d/arm64-ports.sources
apt-get update -qq
# Multiarch dev packages for both architectures; for arm64 only the
# GStreamer runtime libraries: its dev packages can't be installed for
# two architectures at once (package.sh --arm links the libraries).
libs="libfontconfig1-dev libfreetype-dev libxkbcommon-dev libglib2.0-dev"
# Multiarch dev packages for both architectures.
libs="libfontconfig1-dev libfreetype-dev libxkbcommon-dev"
pkgs="build-essential pkg-config gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross
$libs $(for l in $libs; do printf '%s:arm64 ' "$l"; done)
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
libgstreamer1.0-0:arm64 libgstreamer-plugins-base1.0-0:arm64"
$libs $(for l in $libs; do printf '%s:arm64 ' "$l"; done)"
# tools/ci-apt.sh: when ports.ubuntu.com lags behind, it aligns the
# Multi-Arch libraries on both architectures to the arm64 version.
sh "$W/src/tools/ci-apt.sh" $pkgs