FrontierPsychiatrist / node-spotify

A module for node.js to use libspotify.
MIT License
142 stars 20 forks source link

Follow Playlist Support #68

Closed nzoschke closed 5 years ago

nzoschke commented 10 years ago

In the desktop UI, a user can follow any playlist object. I do not see how to do this with the node-spotify API, short of making a new playlist and adding all of another playlists tracks to it.

I believe in libspotify you do this by loading a playlist by a link and appending that Playlist object to the playlist container. But I am not sure.

FrontierPsychiatrist commented 10 years ago

Yes, there is sp_playlistcontainer_add_playlist(sp_playlistcontainer* pc, sp_link* link) which could be used to write such a method.

In node-spotify I guess I would add a playlistcontainer.followPlaylist(playlist) method that extracts the link from the sp_playlist object thats embedded in the NodePlaylist.

WeeJeWel commented 9 years ago

+1, would love this functionality

FrontierPsychiatrist commented 9 years ago

Yep, it would be a cool feature. But unfortunately it's not in libspotify :(