aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-info.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-info.el b/emms-info.el
index ab48b45..c4533bd 100644
--- a/emms-info.el
+++ b/emms-info.el
@@ -122,8 +122,9 @@ Return t when the track got changed."
(when (or (not cached-track)
(and cached-track
emms-info-auto-update
- (emms-time-less-p
- (emms-track-get track 'info-mtime) file-mtime)))
+ (let ((info-mtime (emms-track-get track 'info-mtime)))
+ (or (not (consp info-mtime))
+ (emms-time-less-p info-mtime file-mtime)))))
(setq updated t)
(run-hook-with-args 'emms-info-functions track))