From cde4cb944ebcc5b4db46afa5458a5d0a728c4866 Mon Sep 17 00:00:00 2001 From: Vladimir S Eremin Date: Sun, 8 Feb 2009 06:21:00 +0100 Subject: playlist: provide information about "next song" In random mode, this patch allows clients to see the "next song" in the queue. --- src/playlist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/playlist.h') diff --git a/src/playlist.h b/src/playlist.h index b0e296bc5..7c3eb337a 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -180,6 +180,8 @@ void setPlaylistRandomStatus(struct playlist *playlist, bool status); int getPlaylistCurrentSong(const struct playlist *playlist); +int getPlaylistNextSong(const struct playlist *playlist); + unsigned getPlaylistSongId(const struct playlist *playlist, unsigned song); -- cgit v1.2.3