aboutsummaryrefslogtreecommitdiff
path: root/emms-info-metaflac.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-info-metaflac.el')
-rw-r--r--emms-info-metaflac.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-info-metaflac.el b/emms-info-metaflac.el
index 79131cb..f03925f 100644
--- a/emms-info-metaflac.el
+++ b/emms-info-metaflac.el
@@ -70,7 +70,7 @@ external metaflac program"
(defun emms-info-metaflac (track)
"Get the FLAC tag of file TRACK, using `emms-info-metaflac-program'
and return an emms-info structure representing it."
- (when (and (eq 'file (emms-track-type track))
+ (when (and (emms-track-file-p track)
(string-match "\\.\\(flac\\|FLAC\\)\\'" (emms-track-name track)))
(with-temp-buffer
(when (zerop