mirror of
https://github.com/owntone/owntone-server.git
synced 2025-12-05 15:22:31 -05:00
[player] Add 'consume' mode
If consume mode is active the current song is removed from the queue at eof or if the next song action is triggered.
This commit is contained in:
@@ -44,6 +44,7 @@ struct player_status {
|
||||
enum play_status status;
|
||||
enum repeat_mode repeat;
|
||||
char shuffle;
|
||||
char consume;
|
||||
|
||||
int volume;
|
||||
|
||||
@@ -130,6 +131,9 @@ player_repeat_set(enum repeat_mode mode);
|
||||
int
|
||||
player_shuffle_set(int enable);
|
||||
|
||||
int
|
||||
player_consume_set(int enable);
|
||||
|
||||
|
||||
void
|
||||
player_queue_clear_history(void);
|
||||
|
||||
Reference in New Issue
Block a user