rigoneri/syte — pull request #67 by durden (2012-07-08 16:48:02+00:00)
Title: Lastfm integration

First shot at adding support for lastfm service. I have it running on [my syte](http://lukelee-syte.herokuapp.com/) without any issues.

It could be improved by adding the number of loved tracks and other additional information to the popout dialog. However, getting this data from the lastfm API would require several more calls. Currently the code does 2 roundtrips to the lastfm API, 1 for user information and 1 for most recent tracks.

Unfortunately, the number of loved tracks, number of friends, shouts, etc. are all separate calls. It seems best to minimize the number of calls to the API since it can severely slow down the loading of the dialog.

I have also updated the README and included a demo image of the lastfm integration. However, for consistency maybe it would be better for this image to be taken from your account (if you have one) so that all the images look similar in content/size/etc.