lib/socket: fix FFSocket::read to use malloc

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mpd: renames MPD::write to write_and_check

For a better distinction with Socket...::write

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mpd: do not crash when connection fails

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mpd: adds fields to the ServerStatus

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mpd: add the time field to SongInfo

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mpd: adds the load_playlist method

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: move script to its own folder

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: improves debug when server has problems

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: renames class LCD to HD44780

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: improves text display of HD44780

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: implements desired LCD display and removes debug

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: improves and comment HD44780 init

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: removes debug print

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
contrib/gpio-mpd-rpi: clean up setup function as alternates

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge remote-tracking branch 'alexis/gpio-mpd-rpi'