summaryrefslogtreecommitdiffhomepage
path: root/lib/media
diff options
context:
space:
mode:
Diffstat (limited to 'lib/media')
-rw-r--r--lib/media/jao-mpc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el
index 614557c..6f74243 100644
--- a/lib/media/jao-mpc.el
+++ b/lib/media/jao-mpc.el
@@ -71,7 +71,7 @@
(album (alist-get 'album current))
(artist (alist-get 'artist current))
(composer (alist-get 'composer current))
- (no (string-to-number (alist-get 'track current "0")))
+ (no (string-to-number (alist-get 'position current "0")))
(time (alist-get 'time current "")))
(format " %s%s %s%s%s%s"
(jao--put-face (if (zerop no) "" (format "%02d/%s " no len))