mmp_track_info_t

Track information.

Synopsis:

#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;

Data:

int index
Position of the track within the tracksession
uint64_t tsid
ID of the associated tracksession
mmp_ms_node_t *media_node
Media node the track is contained in
mmp_ms_node_metadata_t *metadata
Track metadata

Library:

mmplayerclient

Description:

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.