scmpc is a audioscrobbler client for mpd. See the man page and the example config file in /usr/share/scmpc for usage details. scmpc requires argtable, confuse, and libdaemon, all of which advailble at slackbuilds.org