summaryrefslogtreecommitdiffhomepage
path: root/lib/media
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-01-17 01:30:35 +0000
committerjao <jao@gnu.org>2023-01-17 01:33:45 +0000
commit79b323f55862d61422bfc0c1188a5067076327c4 (patch)
tree250badc93c35a8ab68c209bd61e0395831b6d54b /lib/media
parentaddea55c8a9371b30b282e1c26a853950b9ac7eb (diff)
downloadelibs-79b323f55862d61422bfc0c1188a5067076327c4.tar.gz
elibs-79b323f55862d61422bfc0c1188a5067076327c4.tar.bz2
nits
Diffstat (limited to 'lib/media')
-rw-r--r--lib/media/jao-mpris.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/media/jao-mpris.el b/lib/media/jao-mpris.el
index 47a35a7..e98709b 100644
--- a/lib/media/jao-mpris.el
+++ b/lib/media/jao-mpris.el
@@ -130,6 +130,7 @@
(defun jao-mpris--track (&optional info)
(let ((info (or info (jao-playerctl--status))))
+ (setq jao-mpris--current info)
(if (string= "Playing" (jao-mpris--get 'status info))
(setq jao-mpris-track-string (jao-mpris--format info))
(setq jao-mpris-track-string "")))