From b2955885cca4b4f91bca63fd2175929f1c684077 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 14 Oct 2022 03:53:22 +0100 Subject: jao-random-album-p -> -active (and don't trigger it at startup) --- attic/elisp/jao-mpdn.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'attic') diff --git a/attic/elisp/jao-mpdn.el b/attic/elisp/jao-mpdn.el index d707767..2e02d59 100644 --- a/attic/elisp/jao-mpdn.el +++ b/attic/elisp/jao-mpdn.el @@ -1,6 +1,6 @@ ;;; jao-mpdn.el --- Notifications using elmpd -*- lexical-binding: t; -*- -;; Copyright (C) 2021 jao +;; Copyright (C) 2021, 2022 jao ;; Author: jao ;; Keywords: convenience @@ -116,7 +116,7 @@ (setq jao-mpdn--current (jao-mpdn--parse-retort txt)) (jao-mpdn--update-minibuffer) (cond (next (funcall next)) - ((and (null jao-mpdn--current) jao-random-album-p) + ((and (null jao-mpdn--current) jao-random-album-active) (jao-random-album-next))))))) (jao-mpdn--send "currentsong" cb))) -- cgit v1.2.3