aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-09 23:54:31 +0100
committerMax Kellermann <max@duempel.org>2012-02-09 23:54:31 +0100
commitb0ea3f42619d4d831830502f12340105937bf533 (patch)
tree77e185a28e1519c1dcdef17a62fc172592b53fa1 /src/command.c
parent0103219f00bde7e5177c4bea4a2b9d21a61841ca (diff)
downloadmpd-b0ea3f42619d4d831830502f12340105937bf533.tar.gz
mpd-b0ea3f42619d4d831830502f12340105937bf533.tar.xz
mpd-b0ea3f42619d4d831830502f12340105937bf533.zip
playlist_save: add start/end_index parameters
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 568997cc7..1d26acd6b 100644
--- a/src/command.c
+++ b/src/command.c
@@ -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);
}