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.
>=0 The position of the current entry.
-1 An error occurred (call mmplaylist_last_error_get() for details).