0.1.1: browse through Spotify's internal endpoints
Some checks failed
release / release (push) Failing after 13s

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>
This commit is contained in:
Tamas Csikel
2026-11-03 18:15:02 +01:00
parent 3a66e0c7c7
commit 740397ea59
16 changed files with 1011 additions and 252 deletions

5
Cargo.lock generated
View File

@@ -6659,17 +6659,20 @@ dependencies = [
[[package]]
name = "spotify-tv"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"anyhow",
"env_logger",
"futures-util",
"hyper",
"librespot-connect",
"librespot-core",
"librespot-discovery",
"librespot-metadata",
"librespot-playback",
"librespot-protocol",
"log",
"protobuf",
"qrcode",
"serde",
"serde_json",