add support for consume mode
info about this feature can be found in mpd docs.
This commit is contained in:
@@ -175,6 +175,8 @@ typedef struct mpd_Status {
|
||||
int random;
|
||||
/* 1 if single mode is on, 0 otherwise */
|
||||
int single;
|
||||
/* 1 if consume mode is on, 0 otherwise */
|
||||
int consume;
|
||||
/* playlist length */
|
||||
int playlistLength;
|
||||
/* playlist, use this to determine when the playlist has changed */
|
||||
@@ -524,6 +526,8 @@ void mpd_sendRandomCommand(mpd_Connection * connection, int randomMode);
|
||||
|
||||
void mpd_sendSingleCommand(mpd_Connection * connection, int singleMode);
|
||||
|
||||
void mpd_sendConsumeCommand(mpd_Connection * connection, int consumeMode);
|
||||
|
||||
void mpd_sendSetvolCommand(mpd_Connection * connection, int volumeChange);
|
||||
|
||||
/* WARNING: don't use volume command, its depreacted */
|
||||
|
||||
Reference in New Issue
Block a user