From a83235f9be461e50f1d922f5f38ac9fe0b70bcc9 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 3 Dec 2021 02:08:23 +0000 Subject: jao-mpris: titleless tracks --- lib/media/jao-mpris.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/media') diff --git a/lib/media/jao-mpris.el b/lib/media/jao-mpris.el index fe89865..06f704f 100644 --- a/lib/media/jao-mpris.el +++ b/lib/media/jao-mpris.el @@ -87,8 +87,8 @@ ((numberp len) (jao-mpris--fmt-time (/ len 1e6) ""))))) (format " %s %s %s%s%s" (jao--put-face (format "%s" (or track "")) 'jao-themes-f00) - (jao--put-face title 'jao-themes-f01) - (jao--put-face artist 'jao-themes-f11) + (jao--put-face (or title "") 'jao-themes-f01) + (jao--put-face (or artist "") 'jao-themes-f11) (jao--put-face (if album (format " (%s)" album) "") 'jao-themes-f01) (if duration (format " %s" duration) "")))) -- cgit v1.2.3