scmpc is a client for MPD which submits your tracks to Last.fm.
“Another one?”, I hear you cry? Yes, I know about mpdscribble, but when I started this project it didn’t do entirely what I wanted it to. It didn’t run as a daemon, for example, and it didn’t work if you enable crossfading in MPD. I didn’t add the support for these in mpdscribble, partly because GNU coding style scares me, and I got slightly lost in the source code, but also because I created this as a way of teaching myself C programming.
Features
Can be run as a daemon, either as a user or as root.
Sends Now Playing notifications to Last.fm.
Keeps unsubmitted songs in a queue which is saved to a file at a configurable interval.
Will try to reconnect to MPD and Audioscrobbler if the network connection fails.
Works with a password-protected MPD server.
Works when crossfading is enabled.
News
scmpc-0.5.1 has been released!
A bugfix release: if the first Last.fm login fails, for example because
scmpc starts before the network is up, scmpc now logs in again instead of
waiting for a restart. Thanks to Simon Arlott for finding this. Downloads are
on the releases page.
scmpc-0.5.0 has been released! And has moved again!
The first release in a long time, with many bug fixes. See NEWS and
ChangeLog for the full list. Highlights:
scmpc builds with current compilers again (GCC 10 and later).
Last.fm is now contacted over HTTPS.
Password protected MPD servers work again.
Duplicate scrobbles caused by unreadable Last.fm responses are fixed, and
seeking no longer scrobbles a song twice.
Many crashes are fixed, and the daemon detaches properly from the terminal.
This is just a bugfix release! See NEWS and ChangeLog for changes.
Note that this version now requires libmpdclient-2.3 (down from 2.4 in 0.4.0).
Also, since github no longer allows file hosting, the downloads were moved to
bitbucket.
Older news
scmpc-0.4.0 has been released!
New major version! See NEWS and ChangeLog for changes.
Also note that this version starts using libmpdclient.
scmpc-0.3.1 has been released!
Black Friday release! See NEWS and ChangeLog for changes.
scmpc-0.3.0 has been released!
This is a complete rewrite. The command-line options and config files are still compatible, but you should test this thoroughly and report any bugs here. The dependencies have changed, please check README and NEWS.
scmpc-0.2.2 has been released!
This fixes a couple of bugs and adds a password_hash which accepts an md5-hash of your password for people who don’t like their passwords to be in clear text in configs. Thanks to Bart Trojanowski for that feature!
scmpc-0.2.1 has been released!
This is a bugfix and code cleanup release.
scmpc-0.2.0 has been released!
scmpc has been more-or-less completely rewritten for this version. It corrects all sorts of bugs, and makes the program behave more sensibly all round. No new features though, since I don’t know what features anyone else wants…
scmpc-0.1.1 has been released!
This contains some bugfixes, and should hopefully fix the problems with files getting created with 000 permissions.
scmpc-0.1.0 has been released!
This is the first release of the project, since it has now been sanctioned by Audioscrobbler.