emms-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emms-patches] [commit][master] emms-player-mpd: Fix compiler warning.


From: mwolson
Subject: [Emms-patches] [commit][master] emms-player-mpd: Fix compiler warning.
Date: Thu, 17 Jul 2008 04:50:06 -0400

commit 29d95518de8c3bfc8f00e7fe70acf41fbe8381e8
Author: Michael Olson <address@hidden>
Date:   Thu Jul 17 01:40:23 2008 -0700

    emms-player-mpd: Fix compiler warning.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]