Variable: mpc-host

mpc-host is a customizable variable defined in mpc.el.gz.

Value

"localhost"

Documentation

Host (and port) where the Music Player Daemon is running.

The format is "HOST", "HOST:PORT", "PASSWORD@HOST" or
"PASSWORD@HOST:PORT" where PASSWORD defaults to no password,
PORT defaults to 6600 and HOST defaults to localhost.

Source Code

;; Defined in /usr/src/emacs/lisp/mpc.el.gz
;;; Support for the actual connection and MPD command execution ;;;;;;;;;;;;

(defcustom mpc-host
  (concat (or (getenv "MPD_HOST") "localhost")
          (if (getenv "MPD_PORT") (concat ":" (getenv "MPD_PORT"))))
  "Host (and port) where the Music Player Daemon is running.
The format is \"HOST\", \"HOST:PORT\", \"PASSWORD@HOST\" or
\"PASSWORD@HOST:PORT\" where PASSWORD defaults to no password,
PORT defaults to 6600 and HOST defaults to localhost."
  :type 'string)