Who's
MyDJ?
Hear Here

Swapping virtual mixes

In my previous Mixer post, I showed how to use the mip protocol to connect the mixer to different search engines. In this post, I’d like to follow up on a promise I made there, and show how you can use the mixer to share playlists on a friendly website called FIQL. This is one way to pass around virtual mix tapes like I talked about in my first Mixer post.

If you’ve never seen the FIQL website, give it a look - I’ll still be here when you get back. You can see some playlists I’ve posted there (which will lead into my next post… sneaky huh?) Another nifty playlist sharing site is Webjay, and there’s plenty others too. For now, though, I’m going to focus on FIQL, because we’ve got some tricks I’d like to show you, thanks in part to some help from the FIQL guys in creating an API to work with their site. Note that the system has been evolving a bit, so you should really be using the most recent Windows release (1.7.1) if you want to follow along at home.

Ok, let’s start with the easy bit. If you’ve created that perfect mix, which you just have to share with everybody, the first thing you’ll need to do is create a FIQL account. Pretty simple, standard stuff. Next, you can use their tools to fill out forms, add links, and go through a bunch of steps to get it posted. It’s not super hard, but it’s not as easy as right-clicking on the playlist in MusicIP Mixer and selecting Post to FIQL. After any necessary logins, you’ll be at the same page, with everything already filled out. You’ll probably want to type in a more detailed description at the bottom explaining why your playlist is so cool, and then you’re done.

Now we get to the good stuff. The flipside of uploading playlists is downloading playlists. If you just want people to see your playlist, you can send them a link to the page where it’s hosted. And the FIQL guys can send your playlist to Napster or Rhapsody if they can match your songs to ones on those services. But if other people want to download your playlist into their own collection, they can use the FIQL URL to import it directly into MusicIP Mixer. This is almost as easy as uploading playlists - just use the File/Import Playlist menu, paste in the FIQL URL, and you’re good to go.

Something pretty cool happens next. The songs from your playlist get mapped to the same songs in my collection. So I can actually listen to your playlist from my own collection. Wait a minute…, you’re thinking, that’s pretty sweet I agree. But you probably don’t have all the same songs I do, so that’s not gonna work. Busted! That’s a good point - what’s a poor music junkie to do? Well, in the mixer, we do this:

prompt.jpg

For any song we recognize (which covers about 98% of the music we see), we can replace the song from your playlist with the closest match from your friend’s collection. That way they can get the gist or flow of your playlist even if they don’t have all the songs. (Songs we know nothing about will get dropped - if you analyzed your tracks first, though, that won’t be a problem.) In fact, if they like the modified playlist enough, they might even want to post it themselves. In this way, a playlist could move around the web, from colllection to collection, assuming a distinctive shape based on the collection in which it was currently residing. Hmmm… perhaps I’m anthromorphizing a bit too much.A few minor points to note: Playlists imported from FIQL show up with a different icon in the mixer, so they’re easy to spot. When you select one of these playlists, the album artwork viewer will show the avatar of the person who originally posted it to FIQL. You can right-click on the playlist to get links back to the original poster’s member info, or the original playlist, so you can post comments there.

For my money, we can make this process one step easier - and we do that with our old friend the mip protocol. In the previous post we saw mip:addsearch URLs. Now, I’d like to introduce the mip:import URL. It comes in two flavors:

mip:import?fiql=id Import the playlist by FIQL id. This is the name of the playlist in the FIQL URL.
mip:import?url=xxx Import a XSPF playlist from any URL. The only catch is the playlist must currently be in XSPF format, which contains enough information for us to do our matching. (There’s a quick overview on xspf.org)

Once you have your playlist expressed in a mip:import URL, you can just put that on your website, email or chat client, and your friends can just click on the URL to instantiate your playlist in their collection with no extra steps. How’s that for easy?

What if your friends don’t have MusicIP Mixer… the links won’t work for them right? That’s true, you’ll have to hook them up. I have some extra links I can share if you’re interested to make this a little bit more user friendly. But this post is already getting rather long, and I really want to make one last excuse to say cool. Therefore, I’m bringing out the black box for scary technical stuff…

Note: The technique in this section requires Firefox. Sorry to everyone using different browsers.What I’d really like to see is mip:import links right on the FIQL pages themselves, so I can just browse around the site and grab whichever playlists interest me most. While our friends at FIQL may get around to doing this themselves at some point, they are naturally concerned that most of their users don’t have MusicIP Mixer yet, and won’t understand what the links mean.So we’ll just do this ourselves (luckily it’s very easy to do with the FIQL site). There’s an awesome plugin for Firefox called Greasemonkey, which lets you write Javascript to modify pages as they load. Here, we’ll use that feature to put the mip:import links onto the playlist pages ourselves. Install Greasemonkey, then install the FIQL mip links script. Now whenever you browse FIQL, you’ll see this on the toolbar:

newmenu.jpg

Now that’s cool.

5 Responses to “Swapping virtual mixes”

  1. Carlos Says:

    You know what would be really useful - to be able to specify a Filter when the program replaces songs from the playlist. It would help you keep in ‘theme’ with the playlist you’re trying to load. For example, when I load a list of New Zealand music (eg. http://www.fiql.com/playlists/kiwi_music_25_mix_1/) I should be able to specify my NZ music Filter when replacing the handful of missing tracks so at least I get selections consistent with the original list.

    BTW, is it helpful to leave suggestions like this here, or would they be better received on the forum page?

  2. Wendell Says:

    Either place is fine, I read both places. A filter selection on import is an interesting idea I hadn’t thought of yet.

  3. Scott Says:

    I just started playing with this now, but I’m noticing that some tracks that are in the playlist and my library aren’t getting recognized. I’m not sure how strict the import filter is with song names. Sometimes it’s a typo with the playlist, or different versions of the song name. Sometimes I can’t figure out why it didn’t match. Instead of just replacing the missing songs with similar tracks, the first step should be to find tracks with similar names to see if the same song is actually in the library with a slightly different name.

  4. Wendell Says:

    The first pass is using text matching - in the second pass, we do the acoustic checks, so generally the songs which didn’t show up in the first match will still get connected properly if you use the Replace option. (i.e. if you select Replace, and we see the exact song acoustically, we will use the exact song, and not go out of the way to replace it with a different one).

  5. NorthSpace Says:

    […] A mixtape for the iPod generation- and beyond! A recent post from Wendell over on the official MusicIP blog, Hear Here, introduced me to a technology to swap virtual mixes (playlists) online using MusicIP and the FIQL website. FIQL is a pretty interesting idea by itself, but when combined with MusicIP, it becomes quite powerful. As Wendell explains, MusicIP can import any FIQL playlist by finding matches from your own music library. If it doesn’t find exact matches, it looks for something similar in musical style. These replacements are usually quite smart. For example, I was playing around with some 80s new wave playlists, and nearly all of the replacement songs were also 80s new wave (Mano Negra somehow snuck in). Impressive. […]

Leave a Reply

You must be logged in to post a comment.