I'm currently developing a graphical client for mpd using libmpdclient (2.7) and I'm stuck with obtaining the content of a given playlist.
Based on the example code here I managed to get a list of names of all available playlists in the playlist directory. So far, so good.
Now I want to list the content of one of these playlists by using mpd_send_list_playlist(struct mpd_connection * connection, const char * name ) - is that correct so far?
If so, the function documentation says about it:
But it only returns true on success - so where is this list? How can I read from this list?List the content of a stored playlist.
Is there some kind of mpd_recv_playlist_entry() or similar method?
Thanks for any help or hints!