About
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.
- 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.4.1 has been released! And was moved!
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
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.
Downloads
Downloads are available from our bitbucket project page.
Requirements
scmpc requires the following to be installed:
- confuse
- glib (>= 2.16)
- libcurl (>= 7.15.4)
- libmpdclient (>= 2.3)
Installation
Download the tarball, and then you just need to run ./configure; make; make install
as usual.
The following distributions already ship scmpc packages:
- Gentoo Linux
- Arch Linux (thanks to Mark Taylor)
- FreeBSD (thanks to Павел Мотырев)
- OpenBSD (thanks to Nicholas Marriott and Jasper Lievisse Adriaanse)
Your distribution ships it too? Tell me!
Development
If you want to get involved, have any feature requests or find any bugs, please write to the mailing list or open a new issue. You can also contact us via IRC on irc.freenode.net, #scmpc.