Re: [mpd-devel] [Patch] Database proxy plugin: retry connection attempts at startup

2014-12-01 Thread Piotr Kozłowski
2014-11-30 19:54 GMT+01:00 Max Kellermann : > On 2014/11/30 19:52, Piotr Koz??owski wrote: > > Hi, > > > > I've written a patch that allows configurable number of attempts to connect > > to remote MPD server if there are any errors. > > > > I'm running MPD proxy on a headless single board computer

[mpd-devel] [PATCHv3 1/2] settings: support service names in MPD_PORT variable

2014-12-01 Thread Michal Nazarewicz
From: Michal Nazarewicz If $MPD_PORT is not a number, i.e. does not start with a digit, attempt to resolve it using getservbyname, i.e. by reading the /etc/services database. --- src/settings.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/settings.

[mpd-devel] [PATCHv3 2/2] settings: add support for reading ~/.authinfo file

2014-12-01 Thread Michal Nazarewicz
From: Michal Nazarewicz Instead of storing password in MPD_HOST environment variable (which is passed around everywhere) allow saving password in an ~/.authinfo file. This is especially useful if MPD is listening on default host:port, i.e. localhost:6600, in which case all one needs to do is to

Re: [mpd-devel] [PATCHv3 1/2] settings: support service names in MPD_PORT variable

2014-12-01 Thread Max Kellermann
On 2014/12/01 15:00, Michal Nazarewicz wrote: > From: Michal Nazarewicz > > If $MPD_PORT is not a number, i.e. does not start with a digit, > attempt to resolve it using getservbyname, i.e. by reading the > /etc/services database. Build failure on Windows: src/settings.c:32:23: fatal error: ar

Re: [mpd-devel] [PATCH] Output: start with a null mixer.

2014-12-01 Thread Max Kellermann
On 2014/11/24 14:02, Nix wrote: > There are code paths (mostly error cases) in which it is possible to > initialize an AudioOutput and then kill it without ever calling > audio_output_new(). In such a case, its destructor will attempt to > free a mixer that was never initialized, leading to an at

Re: [mpd-devel] [PATCHv3 2/2] settings: add support for reading ~/.authinfo file

2014-12-01 Thread Michal Nazarewicz
On Mon, Dec 01 2014, Michal Nazarewicz wrote: > From: Michal Nazarewicz > > Instead of storing password in MPD_HOST environment variable (which > is passed around everywhere) allow saving password in an ~/.authinfo > file. This is especially useful if MPD is listening on default > host:port, i.e

[mpd-devel] systemd and "zeroconf: No global port, disabling zeroconf"

2014-12-01 Thread Punky
Hi all, I am now trying Debian jessie with 0.19.1. However, zeroconf is not enabled, and /var/log/mpd/mpd.log shows "zeroconf: No global port, disabling zeroconf". Further looking into the code, I found the following in zeroconf/ZeroconfGlue.cxx, line 52-57: if (listen_port <= 0) { LogW