playlist/Queue: add one-shot to single mode
This commit is contained in:
committed by
Max Kellermann
parent
1fb358249b
commit
1628d801f9
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "Compiler.h"
|
||||
#include "IdTable.hxx"
|
||||
#include "SingleMode.hxx"
|
||||
#include "util/LazyRandomEngine.hxx"
|
||||
|
||||
#include <algorithm>
|
||||
@@ -92,7 +93,7 @@ struct Queue {
|
||||
bool repeat = false;
|
||||
|
||||
/** play only current song. */
|
||||
bool single = false;
|
||||
SingleMode single = SingleMode::OFF;
|
||||
|
||||
/** remove each played files. */
|
||||
bool consume = false;
|
||||
|
||||
Reference in New Issue
Block a user