Archive for the 'Tips' Category

Enhanced Album Cloud

October 7, 2006

Andrew has just released an updated version of his album cloud script. The album cloud displays your top played albums and sizes each cover by the number of plays. You can find a link to your cloud on the tools page of your Musicmobs profile.

The new version comes with some simple instructions for embedding the cloud on external sites, as well as Last.fm support. Make sure to check it out here:

http://andrewhitchcock.org/musicmobs/albumcloud.pl

Playing XSPFs in Rhapsody – REST API

August 24, 2006

One of the main features of the new version of Musicmobs is the ability to play playlists in Rhapsody. What you might not know is that the REST API we’ve created can be used to open other XSPF files into Rhapsody as well.

If you look at any of the “Play” links on Musicmobs, you’ll notice URLs that look like this:

http://www.musicmobs.com/player?xspf=http://xspf.musicmobs.com/playlist/ellie117/Indie.xspf

The key is the ?xspf= query string. As long as the XSPF you’re trying to open is hosted on the web, and properly marked up with metadata (<creator>, <album> and <title> elements for each track) our player should be able to grab it and do its best to find the songs in Rhapsody.

Where do you find playlists to open? For now there are really only two places you can get properly marked up XSPFs: Musicmobs and Last.fm. Finding XSPFs on Musicmobs is easy enough, but Last.fm takes a little digging.

If you look at the Audioscrobbler Web Services page you’ll see that they expose various data feeds in XSPF format. Any of these URLs should be valid to use with our REST API.

For example this URL will play the top tracks tagged ‘Rock’ on Last.fm:

http://www.musicmobs.com/player?xspf=http://ws.audioscrobbler.com/1.0/tag/Rock/toptracks.xspf

The one caveat is that Last.fm doesn’t include the <album> element in their XSPFs. This means that our player will only find the song in Rhapsody after it’s been cached from the Rhapsody Web Services API at least once. Since our cache is continuously being filled, our matching will improve over time.

Finally, since it’s unlikely that you want the player to load (and therefore resize) your current window, it’s best to add target=”_blank” to any player URL. The finished product should look something like this:

<a href=”http://www.musicmobs.com/player?xspf=http://xspf.musicmobs.com/playlist/ellie117/Indie.xspf&#8221; target=”_blank”>Indie Playlist</a>

Also, if anyone knows of other web sites that you can get fully marked up XSPFs, please leave a comment and we’ll check it out.

SimilarTunes 1.0.1

August 24, 2006

We recently stumbled upon this nice little app built on top of the Musicmobs and Last.fm APIs:

SimilarTunes works a lot like the “In Your Library” column of Mobster. Basically, it will take the related artist results from Musicmobs and build a playlist out of the recommendations that are available in your iTunes collection. This app is Mac only, but it’s Universal Binary so that’s a plus. Overall, it’s pretty slick.

[Get SimilarTunes Here]

Top Albums RSS Feed

April 20, 2006

There’s a new RSS feed for your top played albums, you can grab it from the RSS button on your Albums page. One thing you may want to add to the URL is ?results=100 where 100 is the number of albums you want returned.

Once you have your feed url, be sure to check out Slide. You can make a scrolling flash badge like the page below by giving it the album RSS. Pretty neat!

See feed in action

Musicmobs on Linux

April 10, 2004

You can now use Musicmobs on Linux! It’s not the easiest thing in the world, but it’s excellent none the less. You’ll need Rhythmbox and Bryan’s Rhythmbox Sync Script. Thanks to Bryan Donovan for making the jump.

iTunes Catalog Musicmobs Support

April 5, 2004

There is a new version of iTunes Catalog available that features Musicmobs support (syncing stats), among many other features. Be sure to check it out if you get the chance.

More support from Kavasoft

April 1, 2004

Kavasoft has just released iTunes Catalog 1.6.1 with enhanced support for Musicmobs. In addition to being able to open artists up into their Musicmobs artist page, this new release adds the ability to update your stats! The updating feature is only available in the full version of iTunes Catalog, so be sure to register if you like it.

iTunes Catalog and Musicmobs

December 8, 2003

First of all I’d like to welcome all of the new iTunes Catalog users. KavaSoft was nice enough to include links to Musicmobs in their new 1.5 version. Be sure to check it out here.

As for the uploading, I’m working on a couple of new solutions. I think the next step will be to have client software the does the parsing on the client end and uploads the results to my site. I should be able to support a lot more users with my existing hardware if I do i that way. My estimate is that there will be some form of uploading solution in place by the end of the week. I appreciate everyone’s patience.