Files
spotify/Cargo.toml
Tamas Csikel 7fd7e242a7
All checks were successful
release / release (push) Successful in 10m37s
0.2.0: play through Spotify Soloist
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>
2026-11-03 21:50:44 +01:00

46 lines
1.7 KiB
TOML

[package]
name = "spotify-tv"
description = "Spotify for Fennec OS: native TV client with Liquid Glass; Spotify Soloist plays, librespot browses"
version = "0.2.0"
edition = "2024"
# sf-ui (and Slint) are GPL-3.0 on a TV box; librespot is MIT.
license = "GPL-3.0-only"
publish = false
[dependencies]
# The Fennec OS UI kit (Fennec SDK): Liquid Glass, TV components, images.
sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.1" }
slint = "1.18"
anyhow = "1"
log = "0.4"
env_logger = "0.11"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
ureq = { version = "3", features = ["json"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "signal", "process", "io-util", "net", "fs"] }
futures-util = { version = "0.3", default-features = false, features = ["std", "sink"] }
# The internal endpoints (playlists, collection) speak protobuf.
librespot-protocol = "0.8"
protobuf = "3"
hyper = { version = "1", default-features = false }
# The pairing QR code on the sign-in screen.
qrcode = { version = "0.14", default-features = false }
# Spotify: the session (sign-in, browsing, lyrics) and its metadata.
librespot-core = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] }
librespot-metadata = { version = "0.8", default-features = false }
# Playback: Spotify Soloist (downloaded on the TV), driven over its local WebSocket.
tokio-tungstenite = { version = "0.28", default-features = false, features = ["connect"] }
flate2 = "1"
tar = "0.4"
[build-dependencies]
slint-build = "1.18"
[profile.release]
lto = "thin"
strip = true
# Its own workspace (not part of any checkout around it).
[workspace]