mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #252] read current volume? #135
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#135
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 @tatoosh on GitHub (Feb 9, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/252
With the help of the docu i can set my spotify volume right now in percentage.
results = sp.volume(volume)but i did not get an result - is there also a get method for reading the current volume?
Thx Tatoosh
@ritiek commented on GitHub (Feb 9, 2018):
I don't think this is currently possible. There is no mention of anything related in official docs either.
@tatoosh commented on GitHub (Feb 9, 2018):
THX @ritiek for linking. I think i can solve it by the devices command: https://developer.spotify.com/web-api/get-a-users-available-devices/
@ritiek commented on GitHub (Feb 10, 2018):
Ah yes. You're right.
@gawaineo commented on GitHub (Feb 16, 2018):
@tatoosh you can also get the current playback info: http://spotipy.readthedocs.io/en/latest/#spotipy.client.Spotify.current_playback
Here's the doc reference: https://developer.spotify.com/web-api/get-information-about-the-users-current-playback/
You can look at the "device" key in the dict that's returned.
@tatoosh commented on GitHub (Feb 17, 2018):
THX @gawaineo, good solution and the device key delivers good information!