[PR #1075] [MERGED] Add activate and load functions to Spirc #1221

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

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/1075
Author: @oeed
Created: 11/21/2022
Status: Merged
Merged: 12/3/2022
Merged by: @roderickvd

Base: devHead: spirc-load-command


📝 Commits (4)

  • 94ab820 Add activate and load command
  • aef9f0d Add example
  • dce0884 Merge remote-tracking branch 'upstream/dev' into spirc-load-command
  • 98f7741 Update CHANGELOG.md

📊 Changes

3 files changed (+210 additions, -60 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 connect/src/spirc.rs (+113 -60)
examples/play_connect.rs (+96 -0)

📄 Description

This adds functions that activate (i.e. set 'is active' to true/makes it the active player) and load function to play specific tracks.

I've tried to follow the structure used in the rest of the struct, but if there are any issues I'm more than happy to change.


🔄 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/1075 **Author:** [@oeed](https://github.com/oeed) **Created:** 11/21/2022 **Status:** ✅ Merged **Merged:** 12/3/2022 **Merged by:** [@roderickvd](https://github.com/roderickvd) **Base:** `dev` ← **Head:** `spirc-load-command` --- ### 📝 Commits (4) - [`94ab820`](https://github.com/librespot-org/librespot/commit/94ab82029e3c622a0aec42f1954fa640b722255b) Add activate and load command - [`aef9f0d`](https://github.com/librespot-org/librespot/commit/aef9f0d7ba979f120019dff59dd2855578438d43) Add example - [`dce0884`](https://github.com/librespot-org/librespot/commit/dce088424b988cb215f84e937b950509db116118) Merge remote-tracking branch 'upstream/dev' into spirc-load-command - [`98f7741`](https://github.com/librespot-org/librespot/commit/98f774178b6568bd71eb0bdd1f6f3d2ee9db7aa2) Update CHANGELOG.md ### 📊 Changes **3 files changed** (+210 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `connect/src/spirc.rs` (+113 -60) ➕ `examples/play_connect.rs` (+96 -0) </details> ### 📄 Description This adds functions that activate (i.e. set 'is active' to true/makes it the active player) and load function to play specific tracks. I've tried to follow the structure used in the rest of the struct, but if there are any issues I'm more than happy to change. --- <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:37 +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#1221
No description provided.