MCPcopy Create free account
hub / github.com/dinofizz/diskplayer / PlayerDevices

Method PlayerDevices

client.go:26–28  ·  view source on GitHub ↗

PlayerDevices will return a list of available Spotify devices. An error is returned if encountered.

()

Source from the content-addressed store, hash-verified

24
25// PlayerDevices will return a list of available Spotify devices. An error is returned if encountered.
26func (sc *SpotifyClient) PlayerDevices() ([]spotify.PlayerDevice, error) {
27 return sc.client.PlayerDevices()
28}
29
30
31// Pause will pause playback for the currently active device.

Callers

nothing calls this directly

Calls 1

PlayerDevicesMethod · 0.65

Tested by

no test coverage detected