Client: add Partition reference attribute
playlist and player_control are deprecated.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user