aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 14:55:28 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 14:55:28 +0100
commitcf9595df187d005489f8b94ed27dba2a6c94fd78 (patch)
tree8ac4d3bb1216b3be378d7e50b8cdda0a16f23dbd /src/command.c
parent53e712aca40d631bd26a2af4c0731aa8924cde5b (diff)
downloadmpd-cf9595df187d005489f8b94ed27dba2a6c94fd78.tar.gz
mpd-cf9595df187d005489f8b94ed27dba2a6c94fd78.tar.xz
mpd-cf9595df187d005489f8b94ed27dba2a6c94fd78.zip
playlist: removed locate functions to queue_print.c
Now playlist.c does not contain any protocol specific code anymore.
Diffstat (limited to '')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 911b6e8d8..cd47491ab 100644
--- a/src/command.c
+++ b/src/command.c
@@ -914,7 +914,7 @@ handle_playlistfind(struct client *client, int argc, char *argv[])
return COMMAND_RETURN_ERROR;
}
- findSongsInPlaylist(client, numItems, items);
+ queue_find(client, playlist_get_queue(), numItems, items);
freeLocateTagItemArray(numItems, items);
@@ -934,7 +934,7 @@ handle_playlistsearch(struct client *client, int argc, char *argv[])
return COMMAND_RETURN_ERROR;
}
- searchForSongsInPlaylist(client, numItems, items);
+ queue_search(client, playlist_get_queue(), numItems, items);
freeLocateTagItemArray(numItems, items);