diff options
author | forcer <forcer> | 2005-09-22 14:54:00 +0000 |
---|---|---|
committer | forcer <mwolson@gnu.org> | 2005-09-22 14:54:00 +0000 |
commit | 06aa86fe5f5edc7664442c53bf994362c1bfee21 (patch) | |
tree | e6260f11c5be38a52cf1df29beec8c0c04096dc5 | |
parent | cd4d94affea79510389155df0ca486e3822b6c04 (diff) |
emms-info-mp3info: Use number for 'info-playing-time.
darcs-hash:20050922145403-2189f-3c7ec02551f2a965d18ca2350878c14694037c50.gz
-rw-r--r-- | emms-info-mp3info.el | 6 |
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) |