Not sure the proper handling of searching playlists, have no problem with artists, tracks , albums. The developer resources seem to not include this and of course that's the part I seem to be struggling with.
https://developer.spotify.com/technologies/libspotify/docs/12.1.45/search_8c-example.html Does search but doesn't process playlists results.
spshell in search.c has this reference, but the name alone isn't going to help, I see sp_search_playlist commented out, but it's undocumented. I assumed it would returned something I can pass to sp_playlist_num_tracks, sp_playlist_name etc.. but that doesn't seem to work.
for (i = 0; i < sp_search_num_playlists(search); ++i) {
// print some readily available metadata, the rest will
// be available from the sp_playlist object loaded through
// sp_search_playlist().
printf(" Playlist \"%s\"\n", sp_search_playlist_name(search, i));
}
So how does one properly turn a search for playlists into some metadata and tracks ?
Any help or advice would be awesome !!