From 29d95518de8c3bfc8f00e7fe70acf41fbe8381e8 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Thu, 17 Jul 2008 01:40:23 -0700 Subject: emms-player-mpd: Fix compiler warning. --- lisp/emms-player-mpd.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emms-player-mpd.el') 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 -- cgit v1.2.3