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

bool mpd_send_sticker_find ( struct mpd_connection connection,
const char *  type,
const char *  base_uri,
const char *  name 
)

Searches for stickers with the specified name.

Parameters:
connection the connection to MPD
type the object type, e.g. "song"
base_uri the base URI to start the search, e.g. a directory; NULL to search for all objects of the specified type
name the name of the sticker
Returns:
true on success, false on error

Definition at line 104 of file sticker.c.

References mpd_send_command(), and mpd_send_sticker_find().

Referenced by mpd_send_sticker_find().

{
      assert(connection != NULL);
      assert(type != NULL);
      assert(name != NULL);

      if (base_uri == NULL)
            base_uri = "";

      return mpd_send_command(connection, "sticker", "find",
                        type, base_uri, name, NULL);
}


Generated by  Doxygen 1.6.0   Back to index