diff options
author | Max Kellermann <max@duempel.org> | 2012-02-09 23:44:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-02-09 23:44:33 +0100 |
commit | 0103219f00bde7e5177c4bea4a2b9d21a61841ca (patch) | |
tree | c83afdb4fba840ed9aba93eb666172e563d395b2 /src/command.c | |
parent | e15b4f40d6d5d9691c6321036aee13ab9962684d (diff) | |
download | mpd-0103219f00bde7e5177c4bea4a2b9d21a61841ca.tar.gz mpd-0103219f00bde7e5177c4bea4a2b9d21a61841ca.tar.xz mpd-0103219f00bde7e5177c4bea4a2b9d21a61841ca.zip |
playlist_queue: add start/end_index parameters
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index 9810049ea..568997cc7 100644 --- a/src/command.c +++ b/src/command.c @@ -800,7 +800,9 @@ handle_load(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) { enum playlist_result result; - result = playlist_open_into_queue(argv[1], &g_playlist, + result = playlist_open_into_queue(argv[1], + 0, G_MAXUINT, + &g_playlist, client->player_control, true); if (result != PLAYLIST_RESULT_NO_SUCH_LIST) return print_playlist_result(client, result); |