mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[GH-ISSUE #103] give up playback | disconnect #31
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#31
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 @jgabriel98 on GitHub (Jul 24, 2020).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/103
I know that it is possible to give the playback to another device.
But it would be nice if was possible to work in a slightly different way: give up on playback control (or just disconnect).
why is this different from giving playback to any other device?:
but it makes sense to throw away the playback control (or just disconnects).
Maybe i am talking nonsense here, or just requesting something that already exists, since i've come from searching this spotifyd repository, and saw that it was missing the
Stop()Mpris implementation, because there was no explicit disconnect implementation from rspotify.So i have near zero experience with the rspotify.
@ramsayleung commented on GitHub (Jul 26, 2020):
Sorry for not getting your point, do you mean swapping playback control between two devices by using
rspotify?It seems
spotifyweb API does not have such an endpoint.@jgabriel98 commented on GitHub (Jul 26, 2020):
I think i was unclear, sorry for that.
No, i meant to disconnect the current (self) rspotify playback device.
an example in more details:
and one current active, which in this case is a device ran by rspotify, as an zeroconf device (spotiffy connect).
example 2:
the second example is closer to my real application (the reason to open this issue),
where i have multiple options to play audio (spotify connect, airplay, bluetooth), and when i choose one, i want to the other ones close theirs connections ( if they have one) but then be ready to accept a new one.
@kstep commented on GitHub (Nov 25, 2020):
I think, there's some misunderstanding here.
rspotifyis not a playback device, it's just Web API library to control playback, it doesn't provide any device to play music on, so there's no way to "connect" or "disconnect" rspotify "device".@marioortizmanero commented on GitHub (Feb 25, 2021):
I assume this can be closed now.