lastfmsubmitd is an alternative to the standard Last.fm plugin approach, serving as a project replacement.
The software provides an efficient way to write new player plugins that as painless as possible. Two examples of these plugins are LastMP and lastcd. LastMP is a player plugin for MPD that uses lastfmsubmitd, and it requires py-libmpdclient2, which can be downloaded at Pygmy. Lastcd, on the other hand, is a plugin that enables users to submit a CD that was played on other stereo equipment. This plugin includes some additional tools to retrieve CD information from MusicBrainz.
If you frequently play music on a home or car stereo system that is not connected to your computer, you may still want to submit these songs to Last.fm. In this case, mbget can be used to read the CD in your computer's CD-ROM drive, query MusicBrainz for its album information, and output it in YAML. This format is similar to the one lastfmsubmitd uses, except that it does not contain the time of submission. You can also specify an album with --discid or --albumid. If a list of track numbers is also given, only those tracks will be printed.
If you don't want to put the CD in, mbfind can be used instead. You can specify the album name with --album and choose the album's MBID from there. However, specifying --artist is not currently functional, and it cannot be used in combination with --album. Lastcd takes a list of songs encoded in this format, adds submission times to them as if they had all just been played in order, and writes them to lastfmsubmitd's spool or stdout.
To use this software, you only need to meet the following requirements: Python, py-libmpdclient2, and python-musicbrainz. The latest release includes the following updates: closing file descriptors, etc. when daemonizing and adding missing imports in client.py. In summary, Lastfmsubmitd is a simple, effective, and versatile approach to submitting your favorite songs to Last.fm.
Version 0.37: N/A