Open a session on a playlist
#include <mm/mmplaylist.h>
mmplaylist_t* mmplaylist_open(const char *base_name,
const char *playlist_name,
mmplaylist_validation_mode_t validation_mode,
mmplaylist_validation_fn_t *validate_fn,
void *cbk_data)
This function opens a session on a playlist. The library creates and returns a handle to represent the new playlist session. Internally, the library queries the available plugins to identify which ones support the playlist format. If multiple plugins support it, the highest-ranked one is selected for use with this session. The plugin selection is stored in the session handle.
A pointer to the new playlist session handle, on success (i.e., the playlist is supported).
NULL on failure.