aboutsummaryrefslogtreecommitdiff
path: root/emms-playing-time.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-playing-time.el')
-rw-r--r--emms-playing-time.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-playing-time.el b/emms-playing-time.el
index 6dd6eb6..36881d4 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -104,7 +104,7 @@ e.g., display 02:37 instead of 02:37/05:49.")
(sec (% emms-playing-time 60))
;; How to adapt `emms-info-format-info' here?
(struct
- (emms-info-get (emms-playlist-current-track)))
+ (emms-info-get (emms-playlist-selected-track)))
(total-min-only
(when struct (emms-info-playing-time-min struct)))
(total-sec-only