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

bool mpd_search_queue_songs ( struct mpd_connection connection,
bool  exact 
)

Search for songs in the queue. Constraints may be specified with mpd_search_add_tag_constraint(). Send the search command with mpd_search_commit(), and read the response items with mpd_recv_song().

Parameters:
connection the connection to MPD
exact if to match exact
Returns:
true on success, false on error

Definition at line 84 of file search.c.

References mpd_search_queue_songs().

Referenced by mpd_search_queue_songs().

{
      return mpd_search_init(connection,
                         exact ? "playlistfind" : "playlistsearch");
}


Generated by  Doxygen 1.6.0   Back to index