diff options
Diffstat (limited to 'lib')
-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 70531e1..de737a3 100644 --- a/lib/media/jao-mpc.el +++ b/lib/media/jao-mpc.el @@ -80,10 +80,10 @@ (put-text-property 0 (length str) 'face face str) str) -(defun jao-mpc--current-timestr (times &optional current) +(defun jao-mpc--current-timestr (playing-times &optional current) (let* ((current (or current (jao-mpc--current))) (time (alist-get 'totaltime current ""))) - (if times + (if playing-times (format "%s/%s%s" (alist-get 'currenttime current "") time |