summaryrefslogtreecommitdiff
path: root/streamer.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-06 21:28:29 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-06 21:28:29 +0200
commit9dc1385f68f6b3349e1422044bec19339f52e8f5 (patch)
tree08e1677c11b8ddd5a4571761ad38ceaad5422068 /streamer.h
parentaa8a0e7eb57d8b3d2dabd86d9ac26a8ea400aca1 (diff)
fixed playqueue to work with multiple playlists
Diffstat (limited to 'streamer.h')
-rw-r--r--streamer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/streamer.h b/streamer.h
index 77076206..e3a35127 100644
--- a/streamer.h
+++ b/streamer.h
@@ -41,7 +41,10 @@ streamer_unlock (void);
// pstate indicates what to do with playback
// -1 means "don't do anything"
// -2 means "end of playlist"
-// otherwise "set state to this value"
+// 0 stop
+// 1 switch to current (gui) playlist, play if not playing
+// 2 pause
+// 3 play if not playing, don't switch playlist
void
streamer_set_nextsong (int song, int pstate);