Add ConsumeMode oneshot, closes #925

This commit is contained in:
jcorporation
2022-08-28 19:07:34 +02:00
parent b2fb920d28
commit 48a936ef5b
12 changed files with 138 additions and 14 deletions

View File

@@ -23,6 +23,7 @@
#include "util/Compiler.h"
#include "IdTable.hxx"
#include "SingleMode.hxx"
#include "ConsumeMode.hxx"
#include "util/LazyRandomEngine.hxx"
#include <cassert>
@@ -96,7 +97,7 @@ struct Queue {
SingleMode single = SingleMode::OFF;
/** remove each played files. */
bool consume = false;
ConsumeMode consume = ConsumeMode::OFF;
/** play back songs in random order? */
bool random = false;