Track information.
#include <mmplayer/types.h> typedef struct mmp_track_info { int index; uint64_t tsid; mmp_ms_node_t *media_node; mmp_ms_node_metadata_t *metadata; } mmp_track_info_t;
The mmp_track_info_t structure stores details on an individual track. This structure is filled in by the mm_player_get_current_track_info() function.
The "current" track is the track either actively being played or selected to be played next, based on the player's shuffle and repeat settings and the indexing of tracks at the media source. The index field indicates the playback position within the tracksession identified by tsid.