Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

bool mpd_send_seek_pos ( struct mpd_connection connection,
unsigned  song_pos,
unsigned  t 
)

Seeks the specified song.

Parameters:
connection the connection to MPD
song_pos the position of the song in the queue
t the position within the song, in seconds
Returns:
true on success, false on error

Definition at line 173 of file player.c.

References mpd_send_seek_pos().

Referenced by mpd_send_seek_pos().

{
      return mpd_send_int2_command(connection, "seek", song_pos, t);
}


Generated by  Doxygen 1.6.0   Back to index