0

API v1, Spotify v 0.9.4.185

I don't seem to be able to append songs to a playlist.

This works:

playlist.tracks.insert(playlist_tracks.ref(playlist_tracks.length-1), tracks_to_append)

This doesn't:

playlist.tracks.insert(playlist_tracks.ref(playlist_tracks.length), tracks_to_append)

fail callback for the latter says " is not a track URI." in err.message

Thomas
  • 3,348
  • 4
  • 35
  • 49

1 Answers1

0

Well, based on the documentation, my code should work. However, I overlooked the add method of Collection. Thanks to ocip on irc.

Thomas
  • 3,348
  • 4
  • 35
  • 49