aboutsummaryrefslogtreecommitdiff
path: root/emms-info-opusinfo.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms-info-opusinfo.el')
-rw-r--r--emms-info-opusinfo.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms-info-opusinfo.el b/emms-info-opusinfo.el
index af1a9b8..7f28387 100644
--- a/emms-info-opusinfo.el
+++ b/emms-info-opusinfo.el
@@ -43,7 +43,7 @@ program"
(defun emms-info-opusinfo (track)
"Add track information to TRACK.
This is a useful element for `emms-info-functions'."
- (when (and (eq 'file (emms-track-type track))
+ (when (and (emms-track-file-p track)
(or (string-match "\\.[Oo][Gg][Gg]\\'" (emms-track-name track))
(string-match "\\.[Oo][Pp][Uu][Ss]\\'" (emms-track-name track))))