mpdas is an AudioScrobbler client for MPD written in C++. It uses libcurl and libmpd. It supports the latest AudioScrobbler protocol (1.21). In case of a downtime or connectivity problems, mpdas will cache the played songs to ~/.mpdascache. Please read the README at: https://github.com/hrkfdn/mpdas/tree/master/README