On 2014/11/30 19:52, Piotr Koz??owski <[email protected]> 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. It often happens
> that the first connection attempt fails, usually because of the delays in
> configuring the (wifi) network interface, but the following attempts
> succeed. This patch saves me a lot of time: I do not have to ssh to the
> board and do "service mpd start", so I think it may be useful to others,
> too.

Use of sleep() is unacceptable.  But why do you have to start MPD?
And why does your wifi network fail to transmit the first packet?  I
don't think I'll merge this patch, even with sleep() removed.
_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to