Get the number of entries in a playlist
#include <mm/mmplaylist.h>
int mmplaylist_num_entries_get(mmplaylist_t *pl)
This function gets the number of entries in a playlist. This operation can be very expensive, so the application should first check the num_entries_get_fast field in the mmplaylist_props_t structure to determine whether this operation can be completed quickly.
Note that calling this function on an empty playlist returns a value of 0.
>=0 The number of playlist entries.
-1 An error occurred (call mmplaylist_last_error_get() for details).