aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-player-mpd.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emms-player-mpd.el')
-rw-r--r--lisp/emms-player-mpd.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emms-player-mpd.el b/lisp/emms-player-mpd.el
index 692bd83..98d44d0 100644
--- a/lisp/emms-player-mpd.el
+++ b/lisp/emms-player-mpd.el
@@ -1126,7 +1126,7 @@ This is a useful addition to `emms-info-functions'."
(if info
(emms-info-mpd-process track info)
(when (and (eq 'file (emms-track-type track))
- (not (string-match "\\`http://" file)))
+ (not (string-match "\\`http://" (emms-track-name track))))
(let ((file (emms-player-mpd-get-mpd-filename (emms-track-name track))))
(when (or emms-player-mpd-music-directory
(and file