diff options
Diffstat (limited to 'lib/media/jao-mpc.el')
-rw-r--r-- | lib/media/jao-mpc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el index 9cdd5bd..74f9b5b 100644 --- a/lib/media/jao-mpc.el +++ b/lib/media/jao-mpc.el @@ -116,7 +116,7 @@ (let ((status (or (jao-mpc-status port) ""))) (setq jao-mpc-minibuffer-str (if (string= "playing" status) (jao-mpc--current-str port) "")) - (when (and jao-random-album-p + (when (and jao-random-album-active (string= status "paused") (string= "0\n" (jao-mpc--cmd "status %songpos%" port))) (jao-random-album-next))) @@ -301,7 +301,7 @@ #'jao-mpc--add-and-play #'jao-mpc-stop jao-notify-audio-icon) - (jao-mpc-connect) + (let ((jao-random-album-active nil)) (jao-mpc-connect)) (when secondary-port (jao-mpc-connect secondary-port)) (when priority (if (> priority 0) |