Fornoth / spotify-connect-web

MIT License
436 stars 66 forks source link

Change song #123

Closed bnw closed 6 years ago

bnw commented 7 years ago

Hi,

I'm trying to create a hardware control for Spotify, e.g. a hardware-button, that starts a certain playlist. While you already expose a http api for controlling volume, pause, play, skip,... there does not seem to be one to control which song/playlist is played. If I read the code correctly, https://github.com/plietar/librespot already offers this functionality via Player::load. Would something like this be possible to add?

Thanks a lot Ben

tatoosh commented 7 years ago

+1

tml89 commented 7 years ago

+1

Fornoth commented 6 years ago

This isn't something I can add since the library doesn't expose this functionality, but you can do it via Spotify's Web API https://developer.spotify.com/web-api/start-a-users-playback/