diff options
author | jao <jao@gnu.org> | 2021-06-03 00:52:32 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-06-03 00:52:32 +0100 |
commit | 0d03f558a3b9309f509e8de31844365e7e7f0586 (patch) | |
tree | b0726114ba2a838565d29060e843ae8490fde19d | |
parent | 6f18904b5f87dd4d32357f4a58f1d0a8f42b0e7e (diff) | |
download | elibs-0d03f558a3b9309f509e8de31844365e7e7f0586.tar.gz elibs-0d03f558a3b9309f509e8de31844365e7e7f0586.tar.bz2 |
mpc: position instead of track in minibuffer-str
-rw-r--r-- | lib/media/jao-mpc.el | 2 |
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)) |