aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--THANKGNU1
-rw-r--r--emms-info-exiftool.el4
-rw-r--r--emms.el2
3 files changed, 6 insertions, 1 deletions
diff --git a/THANKGNU b/THANKGNU
index ef2137b..c2d6f6f 100644
--- a/THANKGNU
+++ b/THANKGNU
@@ -17,3 +17,4 @@ Sascha Wilde <wilde@sha-bang.de>
Tom Rauchenwald <its.sec@gmx.net>
fledermaus at #emacs
indio on #emacs
+Feng Shu <tumashu@163.com>
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")))
diff --git a/emms.el b/emms.el
index 19603ab..3a0258c 100644
--- a/emms.el
+++ b/emms.el
@@ -5,7 +5,7 @@
;; Author: Jorgen Schäfer <forcer@forcix.cx>, the Emms developers (see AUTHORS file)
;; Maintainer: Yoni Rabkin <yrk@gnu.org>
-;; Version: 6.01
+;; Version: 6.02
;; Keywords: emms, mp3, ogg, flac, music, mpeg, video, multimedia
;; Package-Type: multi
;; Package-Requires: ((cl-lib "0.5") (seq))