abarisain/dmix — pull request #160 by jcsaaddupuy (2012-12-08 23:03:44+00:00)
Title: Jmpdcomm

Here it is :)

Basicaly the idea is, when waiting for the server reply, to release the lock switched on by the call to a synchronized method. The bugfix is mainly done by [this method](https://github.com/jcsaaddupuy/dmix/blob/jmpdcomm/JMPDComm/src/org/a0z/mpd/MPDConnection.java#L220)
- Added a socket read/write timeout in MPDConnection which will throw SocketTimeoutException and no longer lock the mpdconnection instance
- Removed the expectAnswer boolean (added in [153](https://github.com/abarisain/dmix/pull/153 ))
and the call to mpd close on mpdIdle connection before closing the socket.

I also created a specific class for all MPD command and removed them from the class MPD.