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

bool mpd_send_add_id_to ( struct mpd_connection connection,
const char *  uri,
unsigned  to 

Inserts a song into the playlist, and returns its id.

connection the connection to MPD
uri the URI of the song to be added
to the desired position of the song
true on success, false on error

Definition at line 174 of file queue.c.

References mpd_send_add_id_to().

Referenced by mpd_run_add_id_to(), and mpd_send_add_id_to().

      return mpd_send_s_u_command(connection, "addid", uri, to);

Generated by  Doxygen 1.6.0   Back to index