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

bool mpd_run_delete_id ( struct mpd_connection connection,
unsigned  id 
)

Shortcut for mpd_send_delete_id() and mpd_response_finish().

Parameters:
connection the connection to MPD
id the id of the song to be deleted
Returns:
true on success, false on error

Definition at line 267 of file queue.c.

References mpd_response_finish(), mpd_run_delete_id(), and mpd_send_delete_id().

Referenced by mpd_run_delete_id().

{
      return mpd_run_check(connection) &&
            mpd_send_delete_id(connection, id) &&
            mpd_response_finish(connection);
}


Generated by  Doxygen 1.6.0   Back to index