mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #1453] Add add_to_queue method to Spirc #652
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#652
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?
Originally created by @photovoltex on GitHub (Jan 20, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1453
Is your feature request related to a problem? Please describe.
Currently you need to use the api to add an item to the queue even when we are the active device. As the handling exists anyways for the dealer handling, we could now expose the option to the
Spirc.Describe the solution you'd like
Add a
add_to_queuemethod to theSpirc. The item should probably be aSpotifyId. This should (as most otherSpircmethods) only work when we are the active device.@kingosticks commented on GitHub (Jan 20, 2025):
Are you 100% sold on this? It seems like a useful thing for the library to be able to do. Maybe a rethink on some of this belongs in a separate issue.
@photovoltex commented on GitHub (Jan 20, 2025):
As it is only in the
Spircand currently we only executeSpircCommands when we are the active device, this seemed the logical conclusion to me.But we could also rethink the current state and maybe implement something that could also handle the commands when we are not the active device. I'm completely open for ideas and solution :D