aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2008-07-17 01:40:23 -0700
committerMichael Olson <mwolson@gnu.org>2008-07-17 01:40:23 -0700
commit29d95518de8c3bfc8f00e7fe70acf41fbe8381e8 (patch)
treeca51bcb1fee65e22b82ab4de6e85a8ec1f3e0ca1
parentd9e91adaff80faf0df2fc1f9199cc9f613bc1c98 (diff)
emms-player-mpd: Fix compiler warning.
-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