From 0103219f00bde7e5177c4bea4a2b9d21a61841ca Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 9 Feb 2012 23:44:33 +0100 Subject: playlist_queue: add start/end_index parameters --- src/playlist_queue.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/playlist_queue.h') diff --git a/src/playlist_queue.h b/src/playlist_queue.h index 3ae63bc16..24a851aab 100644 --- a/src/playlist_queue.h +++ b/src/playlist_queue.h @@ -38,9 +38,12 @@ struct player_control; * * @param uri the URI of the playlist, used to resolve relative song * URIs + * @param start_index the index of the first song + * @param end_index the index of the last song (excluding) */ enum playlist_result playlist_load_into_queue(const char *uri, struct playlist_provider *source, + unsigned start_index, unsigned end_index, struct playlist *dest, struct player_control *pc, bool secure); @@ -50,6 +53,7 @@ playlist_load_into_queue(const char *uri, struct playlist_provider *source, */ enum playlist_result playlist_open_into_queue(const char *uri, + unsigned start_index, unsigned end_index, struct playlist *dest, struct player_control *pc, bool secure); -- cgit v1.2.3