zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.34k stars 284 forks source link

Playback of a playlist? #150

Closed guney1911 closed 3 years ago

guney1911 commented 3 years ago

When trying to pass the URI of a playlist to the function PlayOpt() with the URIs array the error "Unsupported uri kind: playlist_v2" is returned. Is there any other way to start playback of a playlist?

guney1911 commented 3 years ago

My bad. For playlists you should use the "PlaybackContext" option. I feel really stupid now.