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/playlist_queue.h | |
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 '')
-rw-r--r-- | src/playlist_queue.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |