Get the position of the current playlist entry.
#include <mm/mmplaylist.h>
int mmplaylist_current_pos_get( mmplaylist_t *pl )
Get 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.
A nonnegative value for the position of the current entry, on success
-1 on error (use mmplaylist_last_error_get() to get error information)