[PR #805] [MERGED] Lay groundwork for new Spotify API client #1092

Closed
opened 2026-02-27 20:01:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/805
Author: @roderickvd
Created: 6/19/2021
Status: Merged
Merged: 6/28/2021
Merged by: @roderickvd

Base: new-apiHead: new-api-client


📝 Commits (10+)

  • ebea539 Add librespot-discovery crate
  • 1ec5dd2 Add discovery example
  • a7f9e0a Add an error type to librespot_discovery
  • 16de6a7 Improve api of discovery crate's builder
  • c49e132 Update workflow
  • 9b6ba49 Add "discovery" compat layer to "connect"
  • ceab363 Update changelog
  • 4448ce0 Set correct libraryVersion
  • eca505c Improve volume controls
  • 9efd886 Describe new mixer-card getopts behavior

📊 Changes

62 files changed (+3080 additions, -1816 deletions)

View changed files

📝 .github/workflows/test.yml (+12 -2)
📝 CHANGELOG.md (+34 -4)
📝 Cargo.lock (+159 -121)
📝 Cargo.toml (+7 -5)
📝 README.md (+1 -0)
📝 audio/src/fetch/mod.rs (+77 -75)
📝 audio/src/fetch/receive.rs (+34 -39)
📝 audio/src/lib.rs (+2 -2)
📝 connect/Cargo.toml (+7 -14)
📝 connect/src/discovery.rs (+15 -247)
📝 connect/src/lib.rs (+4 -0)
📝 connect/src/spirc.rs (+24 -73)
📝 contrib/librespot.service (+4 -3)
contrib/librespot.user.service (+12 -0)
📝 core/Cargo.toml (+2 -0)
📝 core/src/apresolve.rs (+117 -108)
📝 core/src/audio_key.rs (+7 -6)
📝 core/src/channel.rs (+13 -5)
📝 core/src/config.rs (+37 -50)
📝 core/src/connection/mod.rs (+8 -5)

...and 42 more files

📄 Description

The scope of this PR is the "client" part of the new Spotify API: getting registered as a Connect device, so we can start receiving messages from the dealer (which will be a subsequent PR).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/librespot-org/librespot/pull/805 **Author:** [@roderickvd](https://github.com/roderickvd) **Created:** 6/19/2021 **Status:** ✅ Merged **Merged:** 6/28/2021 **Merged by:** [@roderickvd](https://github.com/roderickvd) **Base:** `new-api` ← **Head:** `new-api-client` --- ### 📝 Commits (10+) - [`ebea539`](https://github.com/librespot-org/librespot/commit/ebea5397b9e763b5e2d3d5df824eae74ca7bbc62) Add librespot-discovery crate - [`1ec5dd2`](https://github.com/librespot-org/librespot/commit/1ec5dd21fa833d1c44805c29e807a0308d689c4a) Add discovery example - [`a7f9e0a`](https://github.com/librespot-org/librespot/commit/a7f9e0a20b512dcb7bb28e4eb31bd2c559c1b2d0) Add an error type to librespot_discovery - [`16de6a7`](https://github.com/librespot-org/librespot/commit/16de6a7f6876cf3fbc2f637f98272485eb0de9d5) Improve api of discovery crate's builder - [`c49e132`](https://github.com/librespot-org/librespot/commit/c49e1320d41d52375ebd65db813e3cff6a1bcce4) Update workflow - [`9b6ba49`](https://github.com/librespot-org/librespot/commit/9b6ba4902665ea9a908a7f14121f3c7ef3cb7216) Add "discovery" compat layer to "connect" - [`ceab363`](https://github.com/librespot-org/librespot/commit/ceab3634299b5e0e64482c030a808ae1afc63108) Update changelog - [`4448ce0`](https://github.com/librespot-org/librespot/commit/4448ce0c098252e509140c6cef0a4c7cbcac9669) Set correct libraryVersion - [`eca505c`](https://github.com/librespot-org/librespot/commit/eca505c3873e3e0a87b7dd4d56ab25d5d5d67cf2) Improve volume controls - [`9efd886`](https://github.com/librespot-org/librespot/commit/9efd886e9132c18667372ed0eaae80eff1656c17) Describe new `mixer-card` getopts behavior ### 📊 Changes **62 files changed** (+3080 additions, -1816 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yml` (+12 -2) 📝 `CHANGELOG.md` (+34 -4) 📝 `Cargo.lock` (+159 -121) 📝 `Cargo.toml` (+7 -5) 📝 `README.md` (+1 -0) 📝 `audio/src/fetch/mod.rs` (+77 -75) 📝 `audio/src/fetch/receive.rs` (+34 -39) 📝 `audio/src/lib.rs` (+2 -2) 📝 `connect/Cargo.toml` (+7 -14) 📝 `connect/src/discovery.rs` (+15 -247) 📝 `connect/src/lib.rs` (+4 -0) 📝 `connect/src/spirc.rs` (+24 -73) 📝 `contrib/librespot.service` (+4 -3) ➕ `contrib/librespot.user.service` (+12 -0) 📝 `core/Cargo.toml` (+2 -0) 📝 `core/src/apresolve.rs` (+117 -108) 📝 `core/src/audio_key.rs` (+7 -6) 📝 `core/src/channel.rs` (+13 -5) 📝 `core/src/config.rs` (+37 -50) 📝 `core/src/connection/mod.rs` (+8 -5) _...and 42 more files_ </details> ### 📄 Description The scope of this PR is the "client" part of the new Spotify API: getting registered as a Connect device, so we can start receiving messages from the dealer (which will be a subsequent PR). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:01:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#1092
No description provided.