Get the position of the current playlist entry
#include <mm/mmplaylist.h>
int mmplaylist_current_pos_get( mmplaylist_t *pl )
This function gets the position of the current playlist entry. When the current position is at the end of the playlist, this function returns -1 and sets an error code of mmplaylist_end_of_playlist.