<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Building a Spotify App</title>
	<atom:link href="http://musicmachinery.com/2011/12/02/building-a-spotify-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/</link>
	<description>a blog about music technology by Paul Lamere</description>
	<lastBuildDate>Fri, 24 May 2013 00:58:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Peter Watts (@ptrwtts)</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19829</link>
		<dc:creator><![CDATA[Peter Watts (@ptrwtts)]]></dc:creator>
		<pubDate>Thu, 29 Dec 2011 04:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19829</guid>
		<description><![CDATA[If anyone&#039;s interested, I&#039;ve whipped together a Kitchen Sink App that demonstrates how to do much of the basic functionality:

https://github.com/ptrwtts/kitchensink]]></description>
		<content:encoded><![CDATA[<p>If anyone&#8217;s interested, I&#8217;ve whipped together a Kitchen Sink App that demonstrates how to do much of the basic functionality:</p>
<p><a href="https://github.com/ptrwtts/kitchensink" rel="nofollow">https://github.com/ptrwtts/kitchensink</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Latham</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19679</link>
		<dc:creator><![CDATA[Josh Latham]]></dc:creator>
		<pubDate>Thu, 22 Dec 2011 21:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19679</guid>
		<description><![CDATA[Hey, I&#039;ve never built an app so this is all new to me. I started playing with the tutorial today. I got the &quot;Hello World&quot; to show up. I&#039;m confused as to where to put things like the following &quot;var sp = getSpotifyApi(1);

function getCurrentArtist() {
   var playerTrackInfo = sp.trackPlayer.getNowPlayingTrack();
   if (playerTrackInfo == null) {
      return null;
   } else {
      return track.album.artist;
   }
}&quot;

In which file do I post that and where? Thanks.]]></description>
		<content:encoded><![CDATA[<p>Hey, I&#8217;ve never built an app so this is all new to me. I started playing with the tutorial today. I got the &#8220;Hello World&#8221; to show up. I&#8217;m confused as to where to put things like the following &#8220;var sp = getSpotifyApi(1);</p>
<p>function getCurrentArtist() {<br />
   var playerTrackInfo = sp.trackPlayer.getNowPlayingTrack();<br />
   if (playerTrackInfo == null) {<br />
      return null;<br />
   } else {<br />
      return track.album.artist;<br />
   }<br />
}&#8221;</p>
<p>In which file do I post that and where? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19458</link>
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Mon, 12 Dec 2011 19:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19458</guid>
		<description><![CDATA[Solved!

Alex says in post #31 down below:

&quot;When I was building the app, I initially got tons of cancelled requests to the server. You need to add the url to the RequiredPermissions in the manifest and *restart* your Spotify client.&quot;

Restarted - voîlà!]]></description>
		<content:encoded><![CDATA[<p>Solved!</p>
<p>Alex says in post #31 down below:</p>
<p>&#8220;When I was building the app, I initially got tons of cancelled requests to the server. You need to add the url to the RequiredPermissions in the manifest and *restart* your Spotify client.&#8221;</p>
<p>Restarted &#8211; voîlà!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthias Buchetics</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19454</link>
		<dc:creator><![CDATA[Matthias Buchetics]]></dc:creator>
		<pubDate>Mon, 12 Dec 2011 11:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19454</guid>
		<description><![CDATA[Looks like you can&#039;t inspect the 3rd party and built-in apps anymore (latest preview build 0.8.0.873) ...]]></description>
		<content:encoded><![CDATA[<p>Looks like you can&#8217;t inspect the 3rd party and built-in apps anymore (latest preview build 0.8.0.873) &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19440</link>
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Sun, 11 Dec 2011 13:30:35 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19440</guid>
		<description><![CDATA[Would you mind sharing the method you are using for this?

I have tried the following to do jquery calls:
$.get(url, callback(), &#039;jsonp&#039;);

And the following on the PHP backend:
echo $_GET[&#039;callback&#039;] . &#039;(&#039;.json_encode($songs).&#039;)&#039;;

Works well in a regular Chrome browser, but in Spotify I get the dreaded &quot;canceled&quot; status...]]></description>
		<content:encoded><![CDATA[<p>Would you mind sharing the method you are using for this?</p>
<p>I have tried the following to do jquery calls:<br />
$.get(url, callback(), &#8216;jsonp&#8217;);</p>
<p>And the following on the PHP backend:<br />
echo $_GET['callback'] . &#8216;(&#8216;.json_encode($songs).&#8217;)';</p>
<p>Works well in a regular Chrome browser, but in Spotify I get the dreaded &#8220;canceled&#8221; status&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian Pimminger (@i_am_fabs)</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19391</link>
		<dc:creator><![CDATA[Fabian Pimminger (@i_am_fabs)]]></dc:creator>
		<pubDate>Thu, 08 Dec 2011 19:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19391</guid>
		<description><![CDATA[I&#039;m getting the same request cancelled error messages. That means you&#039;re out of luck if you&#039;re not using your own service and can configure the services to allow the sp:// protocol?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m getting the same request cancelled error messages. That means you&#8217;re out of luck if you&#8217;re not using your own service and can configure the services to allow the sp:// protocol?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19343</link>
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 08 Dec 2011 00:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19343</guid>
		<description><![CDATA[Hey guys,

I am one of the guys that made Mood Knobs, so here&#039;s my first experience with the platform.

When I was building the app, I initially got tons of cancelled requests to the server. You need to add the url to the RequiredPermissions in the manifest and *restart* your Spotify client. If that doesn&#039;t work, make sure that your manifest is correct. Spotify will silently ignore any wrong bits in the manifest and will not give you a warning - we&#039;ve made that point to the Spotify developers during Music Hack Day.

Also, many servers might not answer your requests - that happens because Spotify uses its own protocol (sp://) and many servers are configured to answer only on http or https origins. 

As a last point, sometimes the webkit inspector will show your requests in red, saying &#039;cancelled&#039; but you actually get a response back. This seems like a bug which surprised the Spotify guys.]]></description>
		<content:encoded><![CDATA[<p>Hey guys,</p>
<p>I am one of the guys that made Mood Knobs, so here&#8217;s my first experience with the platform.</p>
<p>When I was building the app, I initially got tons of cancelled requests to the server. You need to add the url to the RequiredPermissions in the manifest and *restart* your Spotify client. If that doesn&#8217;t work, make sure that your manifest is correct. Spotify will silently ignore any wrong bits in the manifest and will not give you a warning &#8211; we&#8217;ve made that point to the Spotify developers during Music Hack Day.</p>
<p>Also, many servers might not answer your requests &#8211; that happens because Spotify uses its own protocol (sp://) and many servers are configured to answer only on http or https origins. </p>
<p>As a last point, sometimes the webkit inspector will show your requests in red, saying &#8216;cancelled&#8217; but you actually get a response back. This seems like a bug which surprised the Spotify guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19285</link>
		<dc:creator><![CDATA[jay]]></dc:creator>
		<pubDate>Wed, 07 Dec 2011 08:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19285</guid>
		<description><![CDATA[i did reload exit and open back spotify app. still can&#039;t. I tried to display image from public server with manifest url. no luck. 

i cloned mood-knobs. From the debugger&#039;s network tab. it seems the app trying multiple times to be able to talk to the server.]]></description>
		<content:encoded><![CDATA[<p>i did reload exit and open back spotify app. still can&#8217;t. I tried to display image from public server with manifest url. no luck. </p>
<p>i cloned mood-knobs. From the debugger&#8217;s network tab. it seems the app trying multiple times to be able to talk to the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martinrosenlidholm</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19222</link>
		<dc:creator><![CDATA[martinrosenlidholm]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 20:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19222</guid>
		<description><![CDATA[How would one go about developing a Spotify app TDD style?]]></description>
		<content:encoded><![CDATA[<p>How would one go about developing a Spotify app TDD style?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aliekens</title>
		<link>http://musicmachinery.com/2011/12/02/building-a-spotify-app/#comment-19221</link>
		<dc:creator><![CDATA[aliekens]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 20:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://musicmachinery.com/?p=3740#comment-19221</guid>
		<description><![CDATA[Confirmed. Spotify doesn&#039;t seem to load changes to RequiredPermissions in the manifest unless you reload. I had this too when getting your code to work with my service.]]></description>
		<content:encoded><![CDATA[<p>Confirmed. Spotify doesn&#8217;t seem to load changes to RequiredPermissions in the manifest unless you reload. I had this too when getting your code to work with my service.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
