aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorQball Cow <qball@qballcow.nl>2007-08-19 14:46:00 +0000
committerQball Cow <qball@qballcow.nl>2007-08-19 14:46:00 +0000
commit3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25 (patch)
tree0924bc864d2721324abb6dec032ab3a1d9c34cd1 /src/playlist.h
parent5bd81af3a9abca6b316c5899596ba308287b47a6 (diff)
downloadmpd-3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25.tar.gz
mpd-3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25.tar.xz
mpd-3cee1f6a2ce66f4bb3b04db5ebb00b1dce9d6c25.zip
Queue patch
git-svn-id: https://svn.musicpd.org/mpd/branches/q-mpd@6757 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 0ae3a677f..6576ff27b 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -43,6 +43,7 @@ typedef struct _Playlist {
int repeat;
int random;
mpd_uint32 version;
+ mpd_uint32 queueversion;
} Playlist;
extern int playlist_saveAbsolutePaths;
@@ -79,6 +80,8 @@ int stopPlaylist(int fd);
int playPlaylist(int fd, int song, int stopOnError);
+int playNextPlaylistQueue(int fd, int stopOnError);
+
int playPlaylistById(int fd, int song, int stopOnError);
int nextSongInPlaylist(int fd);
@@ -123,6 +126,8 @@ int getPlaylistLength(void);
unsigned long getPlaylistVersion(void);
+unsigned long getPlaylistQueueVersion(void);
+
void playPlaylistIfPlayerStopped(void);
int seekSongInPlaylist(int fd, int song, float time);
@@ -141,4 +146,14 @@ void searchForSongsInPlaylist(int fd, int numItems, LocateTagItem * items);
void findSongsInPlaylist(int fd, int numItems, LocateTagItem * items);
+void clearPlaylistQueue(void);
+
+int addToPlaylistQueueById(int fd, int song, int toPosition);
+
+int deleteFromPlaylistQueue(int fd, int song);
+
+int deleteFromPlaylistQueueInternal(int song);
+
+int playlistQueueInfo(int fd);
+
#endif