You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uris[i] = fmt.Sprintf("spotify:track:%s", id)
☝️ This limits from adding episodes of podcasts to the playlist, because the URI of episodes is like spotify:episode:XXXXXXXX
How about adding a new API AddItemsToPlaylist with the same approach of AddTracksToPlaylist,
the only difference is that AddItemsToPlaylist accepts URI instead of ID to gain more flexibility without breaking the AddTracksToPlaylist API behavior?
In
AddTracksToPlaylist
method, the arguments are provided in form of ID strings, instead of providing URI.The src code:
uris[i] = fmt.Sprintf("spotify:track:%s", id)
☝️ This limits from adding episodes of podcasts to the playlist, because the URI of episodes is like
spotify:episode:XXXXXXXX
After checking the playlist section of Spotify API doc
How about adding a new API
AddItemsToPlaylist
with the same approach ofAddTracksToPlaylist
,the only difference is that
AddItemsToPlaylist
acceptsURI
instead ofID
to gain more flexibility without breaking theAddTracksToPlaylist
API behavior?example:
I can help with adding this btw :)
p.s. Adding this new API with accepting
position
argument might resolve this issue as well: #174The text was updated successfully, but these errors were encountered: