Check if XBMC host is up before scanning DB
To avoid useless pauses a simple ping will check if the XBMC host is up
Merge remote-tracking branch 'origin/master'