aboutsummaryrefslogtreecommitdiff
path: root/src/QueueCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 10:59:56 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:59:56 +0100
commitd360f17a59fe6ed52ffa74c48c63164cf203d1e0 (patch)
treedea0df6cb96909f083f89e4d89a48ee82aef9f13 /src/QueueCommands.cxx
parenta6ee6be9602f64599b40e01321bd771b17d94f39 (diff)
Client: add Partition reference attribute
playlist and player_control are deprecated.
Diffstat (limited to 'src/QueueCommands.cxx')
-rw-r--r--src/QueueCommands.cxx4
1 files changed, 2 insertions, 2 deletions
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);
}