branch: externals/emms
commit 6985faba91b9d48c48da55d2adf4a54ca332c1cb
Author: Yoni Rabkin <[email protected]>
Commit: Yoni Rabkin <[email protected]>
* emms-info-exiftool.el: read track numbers as strings
From: Feng Shu <[email protected]>: tracknumber and year should be string.
---
THANKGNU | 1 +
emms-info-exiftool.el | 4 ++++
emms.el | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/THANKGNU b/THANKGNU
index ef2137b..c2d6f6f 100644
--- a/THANKGNU
+++ b/THANKGNU
@@ -17,3 +17,4 @@ Sascha Wilde <[email protected]>
Tom Rauchenwald <[email protected]>
fledermaus at #emacs
indio on #emacs
+Feng Shu <[email protected]>
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 <[email protected]>, the Emms developers (see AUTHORS
file)
;; Maintainer: Yoni Rabkin <[email protected]>
-;; 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))