aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2009-01-09 17:06:44 +0100
committerMax Kellermann <max@duempel.org>2009-01-10 16:50:34 +0100
commit6f0781f0396ab5e4bc8aece6986381dac8f03081 (patch)
treed20b32323c25d86c81f43af106952efbbdd5d3bb /src/playlist.h
parent8ed3cf3e6b31e48369a2007da8c95d686c62d184 (diff)
downloadmpd-6f0781f0396ab5e4bc8aece6986381dac8f03081.tar.gz
mpd-6f0781f0396ab5e4bc8aece6986381dac8f03081.tar.xz
mpd-6f0781f0396ab5e4bc8aece6986381dac8f03081.zip
command: playlistinfo now uses a range argument rather than just a song id
Loosely based on a patch provided by lesion in bug #1766. The playlistinfo command can now retrieve ranges of the playlist. The new argument indicates which entry is the last one that will be displayed. The number of displayed entries may be smaller than expected if the end of the playlist is reached. Previous usage: playlistinfo [start] New usage: playlistinfo [start[:end]]
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 59c37a788..87364cb4c 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -95,7 +95,7 @@ enum playlist_result deleteFromPlaylist(unsigned song);
enum playlist_result deleteFromPlaylistById(unsigned song);
-enum playlist_result playlistInfo(struct client *client, int song);
+enum playlist_result playlistInfo(struct client *client, int song, int max);
enum playlist_result playlistId(struct client *client, int song);