aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-info-mp3info.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emms-info-mp3info.el b/emms-info-mp3info.el
index f56e7d2..cf94a43 100644
--- a/emms-info-mp3info.el
+++ b/emms-info-mp3info.el
@@ -80,7 +80,11 @@ This is a useful element for `emms-info-functions'."
(value (match-string 2)))
(when (> (length value)
0)
- (emms-track-set track name value)))
+ (emms-track-set track
+ name
+ (if (eq name 'info-playing-time)
+ (string-to-number value)
+ value))))
(forward-line 1))))))
(provide 'emms-info-mp3info)