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.
Seek to a known position in a single track or a track within a playlist.
The required format of the position string depends on the attached input. For the track type, the position is simply the track position in milliseconds (for example, "2500"). For the playlist type, the position must be specified as two decimal numbers separated by a colon (such as "2:1200"), where the first number is the playlist index and the second number is the number of milliseconds from the beginning of the specified playlist item. For the autolist type, in which a single track is formatted as a playlist, you must use the playlist string format and set the first number to "1".
Zero on success, -1 on failure (use mmr_error_info()).