[ Content | Sidebar ]

Posts tagged ruby

Adding similar songs from LastFM to your MPD queue

November 30th, 2009

Here’s a cute hack which uses LastFM to find songs similar to the one currently playing in MPD and add them to your playlist: more-like-this.rb.

To use it just run more-like-this while MPD is playing and 10 similar songs will be appended to the playlist. Give it a numeric argument to add a different number.

You’ll need a few Ruby gems for this to work:

gem install librmpd scrobbler

So, yes, I’ve finally switched from Amarok to MPD. Sadly after the greatness of Amarok 1.4, each new release takes giant backward steps in usability – at least for my use cases :(. GMPC is OK as a client, and I’m really liking the programability.

Updated Ruby BibTeX parser

November 6th, 2009

I’ve updated my Ruby BibTeX parser as the version on this site was quite old and a number of people had sent patches and other suggestions.

The latest version: rbib-0.2.tar.gz