From 8acf996d90e3be551ebffc98de7248a5bee5b69c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 27 Oct 2015 20:35:40 +0100 Subject: command/queue: add range parameter to plchanges and plchangesposid --- src/PlaylistPrint.cxx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/PlaylistPrint.cxx') diff --git a/src/PlaylistPrint.cxx b/src/PlaylistPrint.cxx index 80f348710..c8abd89be 100644 --- a/src/PlaylistPrint.cxx +++ b/src/PlaylistPrint.cxx @@ -104,17 +104,21 @@ playlist_print_find(Response &r, Partition &partition, void playlist_print_changes_info(Response &r, Partition &partition, const playlist &playlist, - uint32_t version) + uint32_t version, + unsigned start, unsigned end) { - queue_print_changes_info(r, partition, playlist.queue, version); + queue_print_changes_info(r, partition, playlist.queue, version, + start, end); } void playlist_print_changes_position(Response &r, const playlist &playlist, - uint32_t version) + uint32_t version, + unsigned start, unsigned end) { - queue_print_changes_position(r, playlist.queue, version); + queue_print_changes_position(r, playlist.queue, version, + start, end); } #ifdef ENABLE_DATABASE -- cgit v1.2.3