From a6c9577440582dd22ee02501aeae09673eb2b97c Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 27 Sep 2026 19:10:49 +0100 Subject: mpc nits --- lib/media/jao-mpc.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el index 23b2dda..6c5fffd 100644 --- a/lib/media/jao-mpc.el +++ b/lib/media/jao-mpc.el @@ -229,8 +229,8 @@ (setq total (+ total (jao-mpc--time-to-secs time)))))) ;;;###autoload -(defun jao-mpc-playlist-duration-string (&optional current) - (format-seconds "%hh %mm %ss" (jao-mpc--playlist-duration current))) +(defun jao-mpc-playlist-duration-string (&optional current fmt) + (format-seconds (or fmt "%hh %mm %ss") (jao-mpc--playlist-duration current))) ;;;###autoload (defun jao-mpc-show-playlist-duration () -- cgit v1.2.3