<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>George Brocklehurst's weblog &#187; cocoa</title>
	<atom:link href="http://blog.georgebrock.com/tag/cocoa/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.georgebrock.com</link>
	<description>Because some things are too long for Twitter</description>
	<lastBuildDate>Fri, 19 Feb 2010 00:15:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Last.fm Hack Day: Scrobbling Spotify</title>
		<link>http://blog.georgebrock.com/events/lastfm-hack-day-scrobbling-spotify</link>
		<comments>http://blog.georgebrock.com/events/lastfm-hack-day-scrobbling-spotify#comments</comments>
		<pubDate>Mon, 15 Dec 2008 06:13:02 +0000</pubDate>
		<dc:creator>George Brocklehurst</dc:creator>
				<category><![CDATA[events]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[hack day]]></category>
		<category><![CDATA[last.fm]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[SIMBL]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://blog.georgebrock.com/?p=10</guid>
		<description><![CDATA[Sunday was Last.fm&#8217;s first Hack Day (and my first Hack Day too) a great opportunity to get together with a bunch of other developers, enjoy a steady supply of free food, coffee and beer and spend the day hacking away at whatever Last.fm-related projects we could dream up. I particularly liked Neil Crosby&#8217;s Last Genius [...]]]></description>
			<content:encoded><![CDATA[<p>Sunday was <a href="http://www.last.fm/group/Hack+Day">Last.fm&#8217;s first Hack Day</a> (and my first Hack Day too) a great opportunity to get together with a bunch of other developers, enjoy a steady supply of free food, coffee and beer and spend the day hacking away at whatever Last.fm-related projects we could dream up. I particularly liked <span class="vcard"><a class="fn url" rel="friend met" href="http://neilcrosby.com/">Neil Crosby</a></span>&#8217;s <a href="http://github.com/NeilCrosby/last-genius/tree">Last Genius</a> which builds a playlist of simiar music based on a single starting track and <span class="vcard"><a class="fn url" rel="acquaintance met" href="http://www.last.fm/user/flaneur/">Matt Ogle</a>&#8217;s</span> <a href="http://playground.audioscrobbler.com/matt/hackday/">Songcolours</a> which draws pretty graphs based the most common words in the lyrics of your favourite songs.</p>
<p>I spent the day playing around with <a href="http://www.culater.net/software/SIMBL/SIMBL.php"><abbr title="Smart InputManager Bundle Loader">SIMBL</abbr></a>, <a href="http://www.spotify.com">Spotify</a> and, of course, the <a href="http://www.last.fm/api">Last.fm <acronym title="Application Programming Interface">API</acronym></a> trying to build a Spotify <a title="Last.fm FAQ: What is scrobbling?" href="http://www.last.fm/help/faq?category=Scrobbling">Scrobbler</a>.  Progress was slower than I would have liked and I spent most of the day trying to figure out Spotify&#8217;s internal APIs and following various dead-ends (reverse engineering compiled software is tricky), but it was good to learn how to write SIMBL bundles and by the end of the day I&#8217;d managed to hack together a working plugin that was aware of when a new track started and what the track and artist names were. It seemed a shame to leave it half done, so I spent some time when I got home adding scrobbling capabilities, and you can now find a <a href="http://github.com/georgebrock/spotify-scrobbler/tree/master">working Spotify Scrobbler over on GitHub</a> (if you want to use it you&#8217;ll find instructions in the <a href="http://github.com/georgebrock/spotify-scrobbler/tree/master/README.Markdown">read-me file</a>).  It&#8217;s not particularly polished, but I&#8217;m pretty pleased with how it turned out. All in all, a good first Hack Day.</p>
<p><strong>Update:</strong> As of 18th December 2008 <a href="http://www.spotify.com/blog/archives/2008/12/18/spotify-scrobbles/">Spotify has built-in scrobbling support</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.georgebrock.com/events/lastfm-hack-day-scrobbling-spotify/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
