Client: add Partition reference attribute

playlist and player_control are deprecated.
This commit is contained in:
Max Kellermann
2013-01-07 10:59:56 +01:00
parent a6ee6be960
commit d360f17a59
8 changed files with 30 additions and 31 deletions
+2 -2
View File
@@ -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);
}