问题
I'm creating a play list dynamically with m.Playlist() and then adds tracks with the .add() function. But it doesn't seems to work to add those play lists to the toolbar with the "+ Add as playlist" button and sp.core.library.addPlaylist($(this).val());.
Do you guys have any clue how to save the playlists?
回答1:
Just create another playlist but with a name m.Playlist("My Playlist")
and add the specific tracks. The playlist should then appear on the left.
来源:https://stackoverflow.com/questions/8522652/spotify-app-api-add-as-playlist