playlist_save: add start/end_index parameters

This commit is contained in:
Max Kellermann
2012-02-09 23:54:31 +01:00
parent 0103219f00
commit b0ea3f4261
3 changed files with 12 additions and 4 deletions

View File

@@ -809,7 +809,8 @@ handle_load(struct client *client, G_GNUC_UNUSED int argc, char *argv[])
GError *error = NULL;
return playlist_load_spl(&g_playlist, client->player_control,
argv[1], &error)
argv[1], 0, G_MAXUINT,
&error)
? COMMAND_RETURN_OK
: print_error(client, error);
}