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

bool mpd_search_add_db_songs ( struct mpd_connection connection,
bool  exact 
)

Search for songs in the database and adds the result to the queue. Constraints may be specified with mpd_search_add_tag_constraint(). Send the search command with mpd_search_commit().

Parameters:
connection the connection to MPD
exact if to match exact (only "true" supported by MPD 0.16)
Returns:
true on success, false on error

Definition at line 77 of file search.c.

References mpd_search_add_db_songs().

Referenced by mpd_search_add_db_songs().

{
      return mpd_search_init(connection,
                         exact ? "findadd" : "searchadd");
}


Generated by  Doxygen 1.6.0   Back to index