From edc5a0745c38cce54d8e38747fcd11da30662cdb Mon Sep 17 00:00:00 2001 From: Gavin Troy Date: Tue, 19 Jan 2021 21:08:05 +0000 Subject: [PATCH] Add an album shuffle mode This is not implemented for playlists as currently they are not album-aware. I think this is a reasonable limitation for now, as playlists also don't offer AAA modes. Closes #641 --- Doc/cmus.txt | 19 +++++-- command_mode.c | 22 ++++++-- lib.c | 149 +++++++++++++++++++++++++++++++++++++++++-------- lib.h | 10 +++- options.c | 36 ++++++++---- options.h | 9 +++ pl.c | 4 +- player.c | 2 +- track.c | 18 ++++-- track.h | 4 +- tree.c | 16 ++++-- ui_curses.c | 2 +- 12 files changed, 229 insertions(+), 62 deletions(-) diff --git a/Doc/cmus.txt b/Doc/cmus.txt index 4c6f182fe..a3a0f57b1 100644 --- a/Doc/cmus.txt +++ b/Doc/cmus.txt @@ -654,8 +654,8 @@ source Reads and executes commands from . toggle