diff options
author | Vladimir S Eremin <me@hidded.name> | 2009-02-08 06:21:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-09 10:38:03 +0100 |
commit | cde4cb944ebcc5b4db46afa5458a5d0a728c4866 (patch) | |
tree | 35a6ad35be59d1ca323c575ff1cd32a4eca5dc33 /src/playlist.h | |
parent | b35896296043fb5612ea52f0fadda48479aca860 (diff) | |
download | mpd-cde4cb944ebcc5b4db46afa5458a5d0a728c4866.tar.gz mpd-cde4cb944ebcc5b4db46afa5458a5d0a728c4866.tar.xz mpd-cde4cb944ebcc5b4db46afa5458a5d0a728c4866.zip |
playlist: provide information about "next song"
In random mode, this patch allows clients to see the "next song" in
the queue.
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |