diff options
author | jao <jao@gnu.org> | 2021-12-03 02:08:23 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-12-03 02:09:02 +0000 |
commit | a83235f9be461e50f1d922f5f38ac9fe0b70bcc9 (patch) | |
tree | ce0b7f8973d2e35fc625214cdb8e44fe23872f9b /lib | |
parent | cf828fc14c3fbef09f4f569482d820aa53f34ef7 (diff) | |
download | elibs-a83235f9be461e50f1d922f5f38ac9fe0b70bcc9.tar.gz elibs-a83235f9be461e50f1d922f5f38ac9fe0b70bcc9.tar.bz2 |
jao-mpris: titleless tracks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/media/jao-mpris.el | 4 |
1 files changed, 2 insertions, 2 deletions
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) "")))) |