[GH-ISSUE #177] Vagueness in device id. #116

Closed
opened 2026-02-27 19:26:09 +03:00 by kerem · 2 comments
Owner

Originally created by @shahzeb1 on GitHub (Dec 11, 2019).
Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/177

Hello. First of all thank you so much for this amazing library. While using it, I was reading the playback docs and I noticed that it isn't quite clear where$deviceId is coming from.

If this is a simple fix, I will gladly create a PR if you tell me what end-point can help gather $deviceId.

Originally created by @shahzeb1 on GitHub (Dec 11, 2019). Original GitHub issue: https://github.com/jwilsson/spotify-web-api-php/issues/177 Hello. First of all thank you so much for this amazing library. While using it, I was reading the [playback docs](https://github.com/jwilsson/spotify-web-api-php/blob/master/docs/examples/controlling-user-playback.md) and I noticed that it isn't quite clear where`$deviceId` is coming from. If this is a simple fix, I will gladly create a PR if you tell me what end-point can help gather $deviceId.
kerem 2026-02-27 19:26:09 +03:00
  • closed this issue
  • added the
    docs
    label
Author
Owner

@jwilsson commented on GitHub (Dec 11, 2019):

Hi!
Thank you!

The SpotifyWebAPI::getMyDevices() method can be used to get a list of the available devices. I'm thinking a "Getting the user's devices" (or similar) section at the top should do the trick? I'd be more than happy to merge a PR for it if you're interested!

<!-- gh-comment-id:564396396 --> @jwilsson commented on GitHub (Dec 11, 2019): Hi! Thank you! The `SpotifyWebAPI::getMyDevices()` method can be used to get a list of the available devices. I'm thinking a "Getting the user's devices" (or similar) section at the top should do the trick? I'd be more than happy to merge a PR for it if you're interested!
Author
Owner

@shahzeb1 commented on GitHub (Dec 11, 2019):

Cool. Consider this something that I will go ahead and work on. Will ping back within a day or so.

<!-- gh-comment-id:564411431 --> @shahzeb1 commented on GitHub (Dec 11, 2019): Cool. Consider this something that I will go ahead and work on. Will ping back within a day or so.
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/spotify-web-api-php#116
No description provided.