summaryrefslogtreecommitdiffstats
path: root/core/parser-mpcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/parser-mpcmd.c')
-rw-r--r--core/parser-mpcmd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/parser-mpcmd.c b/core/parser-mpcmd.c
index fd22a1e054..223b487a2a 100644
--- a/core/parser-mpcmd.c
+++ b/core/parser-mpcmd.c
@@ -202,6 +202,10 @@ bool m_config_parse_mp_command_line(m_config_t *config, struct playlist *files,
shuffle = parse_flag(p.arg, p.param);
continue;
}
+ if (bstrcmp0(p.arg, "no-shuffle") == 0) {
+ shuffle = false;
+ continue;
+ }
if (bstrcmp0(p.arg, "playlist") == 0) {
// append the playlist to the local args