[GH-ISSUE #252] read current volume? #135

Closed
opened 2026-02-27 23:21:00 +03:00 by kerem · 5 comments
Owner

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

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
kerem 2026-02-27 23:21:00 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@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.

<!-- gh-comment-id:364486538 --> @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](https://developer.spotify.com/web-api/endpoint-reference/) either.
Author
Owner

@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/

<!-- gh-comment-id:364577029 --> @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/
Author
Owner

@ritiek commented on GitHub (Feb 10, 2018):

Ah yes. You're right.

<!-- gh-comment-id:364621479 --> @ritiek commented on GitHub (Feb 10, 2018): Ah yes. You're right.
Author
Owner

@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.

<!-- gh-comment-id:366356965 --> @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.
Author
Owner

@tatoosh commented on GitHub (Feb 17, 2018):

THX @gawaineo, good solution and the device key delivers good information!

<!-- gh-comment-id:366423023 --> @tatoosh commented on GitHub (Feb 17, 2018): THX @gawaineo, good solution and the device key delivers good information!
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/spotipy#135
No description provided.