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