Files
spotify/Cargo.toml
Tamas Csikel 740397ea59
Some checks failed
release / release (push) Failing after 13s
0.1.1: browse through Spotify's internal endpoints
The public Web API answers librespot's client id with 429 on every call
(and the old keymaster token endpoint with 403), so every page failed.
Browsing now goes through the same librespot session as playback:
metadata, /playlist/v2 (rootlist and lists), /collection/v2 (liked songs,
saved albums, followed artists and podcasts; save and like too),
recently played, the search context, and a Connect command for the queue.

- Home: recently played albums/playlists/artists, your playlists, your
  artists, saved albums, podcasts (no top lists or new releases there).
- Search finds songs; artists and albums come from them.
- Playlists without a picture get Spotify's mosaic cover.
- The queue panel is gone (the internal API does not show the queue).
- The Web API client stays for the mock server only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:15:02 +01:00

51 lines
2.1 KiB
TOML

[package]
name = "spotify-tv"
description = "Spotify for Fennec OS: native TV client with Liquid Glass, Spotify Connect and librespot playback"
version = "0.1.1"
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"] }
futures-util = { version = "0.3", default-features = false, features = ["std"] }
# 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: session, Connect (Spirc), zeroconf sign-in, playback.
librespot-core = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] }
librespot-connect = { version = "0.8", default-features = false, features = ["rustls-tls-webpki-roots"] }
librespot-discovery = { version = "0.8", default-features = false, features = ["with-libmdns"] }
librespot-metadata = { version = "0.8", default-features = false }
# Sound: GStreamer on the TV (PipeWire), rodio elsewhere (UI work on Windows).
[target.'cfg(target_os = "linux")'.dependencies]
librespot-playback = { version = "0.8", default-features = false, features = ["gstreamer-backend", "rustls-tls-webpki-roots"] }
[target.'cfg(not(target_os = "linux"))'.dependencies]
librespot-playback = { version = "0.8", default-features = false, features = ["rodio-backend", "rustls-tls-webpki-roots"] }
[build-dependencies]
slint-build = "1.18"
[profile.release]
lto = "thin"
strip = true
# Its own workspace (not part of any checkout around it).
[workspace]