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

bool mpd_send_play_pos ( struct mpd_connection connection,
unsigned  song_pos 

Starts playing the specified song from the beginning.

song_pos the position of the song in the queue
connection the connection to MPD
true on success, false on error

Definition at line 79 of file player.c.

References mpd_send_play_pos().

Referenced by mpd_send_play_pos().

      return mpd_send_int_command(connection, "play", song_pos);

Generated by  Doxygen 1.6.0   Back to index