all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19394: 25.0.50; mpc does not handle MPD_HOST=socket
@ 2014-12-16 17:54 Mark Oteiza
  2015-08-02 18:36 ` Mark Oteiza
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Oteiza @ 2014-12-16 17:54 UTC (permalink / raw)
  To: 19394


Hi,

mpc.el treats MPD_HOST only as an address or hostname, when it can also
be a socket. So, doing ‘M-x mpc RET’ here gives

    /run/user/1000/mpd/socket/6600 Name or service not known

From the mpd manual:

    bind_to_address <ip address or hostname or any>
           This specifies which address mpd binds to and listens on.
           Multiple bind_to_address parameters may be specified.  The
           default is "any", which binds to all available addresses.

           You can set a port that is different from the global port
           setting, e.g.  "localhost:6602".  IPv6 addresses must be
           enclosed in square brackets if you want to configure a
           port, e.g. "[::1]:6602".

           To bind to a Unix domain socket, specify an absolute path
           or a path starting with a tilde (~).  For a system-wide
           MPD, we suggest the path "/var/run/mpd/socket".

‘bind_to_address’ is the mpd config option corresponding to MPD_HOST.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-03 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16 17:54 bug#19394: 25.0.50; mpc does not handle MPD_HOST=socket Mark Oteiza
2015-08-02 18:36 ` Mark Oteiza
2015-08-02 19:09   ` Eli Zaretskii
2015-08-02 21:47     ` Mark Oteiza
     [not found]       ` <8737z4hcmi.fsf@udel.edu>
2015-09-02 17:29         ` Mark Oteiza
2015-09-03 15:47           ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.