last.fm Plugin

"David Hough" <[email protected]> Thu, 22 Dec 2005 15:33:01 -0000
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <[email protected]>
Hi,

Heres an early christmas present for everyone, I've written a fairly =20
simple last.fm plugin for Zinf.

A quick summary of last.fm (used to be called audioscrobbler) for those o=
f =20
you who have never heard of it (taken from their website):

"Join the social music revolution at Last.fm. It's fun, it's free, it's =20
all about the music.

You get your own online music profile that you can fill up with the music=
 =20
you like. This information is used to create a personal radio station and=
 =20
to find users who are similar to you. Last.fm can even play you new =20
artists and songs you might like. It's addictive, it's growing, it's free=
, =20
it's music."
-- http://www.last.fm

Basically, the plugin submits what music you listen to, then last.fm work=
s =20
out what other music you might like, based on what other people who like =
=20
the same music listen to.

The plugin is avaliable from my arch repository as
[email protected]/zinf--lastfm--0.1

It uses a copy of libscrobbler (released under GNU from last.fm) to =20
actually talk with the servers.

To get it to work, you need to compile with --enable-experimental  (it =20
uses musicdb to get track metadata), then add lastfm.ui to SecondryUIs in=
 =20
your preferences, as well as add your username and password.

e.g.

SecondaryUI: lastfm.ui
LastFMUsername: username
LastFMPassword: password


There are currently a few issues which I know of,
  - It ignores any proxy settings you may have
  - It can easily get confused if your metadata isn't valid UTF-8
  - It's currently using the "tst" plugin id when talking to the server, =
as =20
Zinf hasn't been assigned an ID yet
  - There is no way to set the username/password in the preferences dialo=
g

Feel free to play around with it and tell me if you have problems.

Happy Christmas,
David

--=20
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick