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

bool mpd_send_add_id ( struct mpd_connection connection,
const char *  file 
)

Appends a song to the playlist, and returns its id.

Definition at line 168 of file queue.c.

References mpd_send_add_id(), and mpd_send_command().

Referenced by mpd_run_add_id(), and mpd_send_add_id().

{
      return mpd_send_command(connection, "addid", file, NULL);
}


Generated by  Doxygen 1.6.0   Back to index