aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-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);