Seek to a position.
int mmr_seek(mmr_context_t *ctxt, const char *position)
A context handle.
The position to seek to, in a media-specific format.
Library:libmmrndclient (For the qcc command, use the -l mrndclient option to link against this library)
Seek to a known position in the currently attached input. The required format of the position string depends on the type of the attached input.
For the track type, the position is simply the number of milliseconds from the start of the track (for example, "2500").
For the playlist and autolist types, the position must be specified as two numbers separated by a colon (for example, "2:1200"), where the first number is the track index within the playlist and the second number is the number of milliseconds from the start of the track. The first number must be 1 for an autolist input.
Zero on success, -1 on failure (use mmr_error_info()).
Last modified: 2014-09-30