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

bool mpd_send_rescan ( struct mpd_connection connection,
const char *  path 

Like mpd_send_update(), but also rescans unmodified files.

connection the connection to MPD
path optional path to update; if NULL, then all of the music directory is updated
true on success, false on error

Definition at line 64 of file database.c.

References mpd_send_command(), and mpd_send_rescan().

Referenced by mpd_run_rescan(), and mpd_send_rescan().

      return mpd_send_command(connection, "rescan", path, NULL);

Generated by  Doxygen 1.6.0   Back to index