mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1075] [MERGED] Add activate and load functions to Spirc #1221
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
dev← Head:spirc-load-command📝 Commits (4)
94ab820Add activate and load commandaef9f0dAdd exampledce0884Merge remote-tracking branch 'upstream/dev' into spirc-load-command98f7741Update 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.