C* Music Player Audioscrobbler/Last.fm patch
Frank Terbeck wrote a patch for cmus that adds support for Audioscrobbler/Last.fm. He doesn’t use/maintain it any more, and was kind enough to allow me to take it over for him. I’ve updated it to reflect the current changes to the cmus codebase. I plan to take some time this summer to get it ready for mainline cmus inclusion. Until then, it’s just a patchset.
Download link and useage after the jump.
Applying the patch:
Just get a current copy of the git repository:
git clone git://repo.or.cz/cmus.git
Download the patch (version beta 4.1) into the cmus source dir, and patch it:
patch < cmus_audioscrobblerBETA41-githead.diff
Then configure/make/install, and you're set.
Usage:
It's pretty simple. Just add the lines
set as_enable=true
set as_user=(Your Last.fm Username)
set as_pass=(Your Last.fm Password)
to the cmus config file. Or just type them as ":set " commands in cmus.
Toggling listening statistics reporting off/on is accomplished by ":set as_enable=false"/"set as_enable=true" respectively.
5 Comments to C* Music Player Audioscrobbler/Last.fm patch
Leave a Reply
About the New Interface Advocate
Recent Entries
- Revised and Expanded RegEx Reference Chart (v2.0)
- New Blog Design
- Less is More—Interface Simplification for Vending Machines
- Lessons from an Etch-a-Sketch—Implications for HCI
- Improved Error Dialog Box
- Lumiera Timeline First Draft
- C* Music Player Audioscrobbler/Last.fm patch
- Everybody Loves Regular Expressions!
- Search Done Right—A *Progressive* Progressive Find
- Handy scripts!
- The only two interface designs ever conceived:
- The misused mouse, part 2: A proposal for a nearly mouseless interface.
- The misused mouse, part 1: The story of the mouse’s decline
- Throw out that mouse—you upgraded to a keyboard!
- Fitts’ law vs. mice, tablets, & trackballs
I just wanted to let you know that this is awesome. It seemed like it wasn’t functioning properly at first, but I’ve since left a windows last.fm client logged in perpetually on a different box and now it does. Is that coincidental? I may have made some other config changes around the same time so I’m not sure.
compared to that terrible program, this plugin and cmus shine!
The patch doesn’t work with cmus’s current HEAD. I updated the patch. Here is a link:
http://omploader.org/vcDNz/as.patch
[...] – bookmarked by 2 members originally found by Sana12 on 2008-08-01 C* Music Player Audioscrobbler/Last.fm patch http://www.hci-matters.com/blog/2008/05/06/c-music-player-audioscrobblerlastfm-patch/ – bookmarked [...]
Is it possible to apply this patch if Cmus was installed via MacPorts? It appears that MacPorts hasn’t retained the source files (I have no /etc/local/src/). Perhaps I need to remove the port and install this by hand?
[...] CMus does not come with Last.fm song submission support by default, there is a script available here as a patch, which you can apply to the source, compile CMus again and enable Last.fm [...]