From d360f17a59fe6ed52ffa74c48c63164cf203d1e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 10:59:56 +0100 Subject: Client: add Partition reference attribute playlist and player_control are deprecated. --- src/QueueCommands.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/QueueCommands.cxx') diff --git a/src/QueueCommands.cxx b/src/QueueCommands.cxx index 3e24f0c9..58792fd1 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); } -- cgit v1.2.3