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.el: Quote argument to "u


From: mwolson
Subject: [Emms-patches] [commit][master] emms-player-mpd.el: Quote argument to "update" command.
Date: Wed, 04 Jun 2008 20:20:06 -0400

commit 86a830f81a2688428ac03e0e4733866ff79b7e12
Author: Michael Olson <address@hidden>
Date:   Wed Jun 4 07:10:44 2008 -0700

    emms-player-mpd.el: Quote argument to "update" command.

diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index c31c48b..ba31df4 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -1178,7 +1178,7 @@ order to prime the cache."
   (unless (string= dir "")
     (setq dir (emms-player-mpd-get-mpd-filename dir)))
   (emms-player-mpd-send
-   (concat "update " dir) nil
+   (concat "update " (emms-player-mpd-quote-file dir)) nil
    (lambda (closure response)
      (let ((id (cdr (assoc "updating_db"
                            (emms-player-mpd-get-alist




reply via email to

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