diff options
-rw-r--r-- | emms-info-mp3info.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-info-mp3info.el b/emms-info-mp3info.el index 07f371b..f56e7d2 100644 --- a/emms-info-mp3info.el +++ b/emms-info-mp3info.el @@ -66,7 +66,8 @@ This should be a list of info-flag=value lines." (defun emms-info-mp3info (track) "Add track information to TRACK. This is a useful element for `emms-info-functions'." - (when (eq 'file (emms-track-type track)) + (when (and (eq 'file (emms-track-type track)) + (string-match "\\.[Mm][Pp]3\\'" (emms-track-name track))) (with-temp-buffer (when (zerop (apply 'call-process emms-info-mp3info-program-name |