aboutsummaryrefslogtreecommitdiffstats
path: root/src/QueueCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/QueueCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QueueCommands.cxx b/src/QueueCommands.cxx
index 3e24f0c92..58792fd1a 100644
--- a/src/QueueCommands.cxx
+++ b/src/QueueCommands.cxx
@@ -70,8 +70,8 @@ handle_add(Client *client, G_GNUC_UNUSED int argc, char *argv[])
}
GError *error = NULL;
- return findAddIn(client->playlist, client->player_control,
- uri, nullptr, &error)
+ return AddFromDatabase(client->partition,
+ uri, nullptr, &error)
? COMMAND_RETURN_OK
: print_error(client, error);
}