aboutsummaryrefslogtreecommitdiff
path: root/emms-info-exiftool.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-info-exiftool.el')
-rw-r--r--emms-info-exiftool.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emms-info-exiftool.el b/emms-info-exiftool.el
index acd5520..90dabf3 100644
--- a/emms-info-exiftool.el
+++ b/emms-info-exiftool.el
@@ -90,6 +90,10 @@
emms-field
(cond ((eq emms-field 'info-playing-time)
(emms-info-exiftool-time))
+ ((memq emms-field '(info-tracknumber
+ info-year
+ info-discnumber))
+ (format "%s" (cdr track-field)))
(t (cdr track-field))))))))
emms-info-exiftool-field-map))
(error (message "error while reading track info")))