summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aeedcd6)
raw | patch | inline | side by side (parent: aeedcd6)
author | Max Kellermann <max@duempel.org> | |
Sat, 3 Oct 2009 16:26:51 +0000 (18:26 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 3 Oct 2009 16:26:51 +0000 (18:26 +0200) |
It's unused.
src/mpdclient.c | patch | blob | history | |
src/mpdclient.h | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index bbc8df8eec88e79b28442ba3c7fb5d90bb4db68e..c7b016845ae1746bb3018e8128565d0ae9c5d02c 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
return filelist;
}
-struct filelist *
-mpdclient_filelist_search(struct mpdclient *c,
- int exact_match,
- enum mpd_tag_type tag,
- gchar *filter_utf8)
-{
- if (MPD_ERROR(c))
- return NULL;
-
- mpd_search_db_songs(c->connection, exact_match);
- mpd_search_add_tag_constraint(c->connection, MPD_OPERATOR_DEFAULT,
- tag, filter_utf8);
- mpd_search_commit(c->connection);
-
- return mpdclient_recv_filelist_response(c);
-}
-
bool
mpdclient_filelist_add_all(struct mpdclient *c, struct filelist *fl)
{
diff --git a/src/mpdclient.h b/src/mpdclient.h
index d66bf5b1ae5ba56f701f1bce6ec7bbc6d5d76f18..4b1b361083a89aec2801d77082d33968518b4446 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
struct filelist *
mpdclient_filelist_get(struct mpdclient *c, const gchar *path);
-struct filelist *
-mpdclient_filelist_search(struct mpdclient *c, int exact_match,
- enum mpd_tag_type tag,
- gchar *filter_utf8);
-
/* add all songs in filelist to the playlist */
bool
mpdclient_filelist_add_all(struct mpdclient *c, struct filelist *fl);