<?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>Marius Gundersen &#187; Wake Me Up Spotify</title>
	<atom:link href="http://www.mariusgundersen.net/category/project/wakemeupspotify/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mariusgundersen.net</link>
	<description>MariusGundersen.net</description>
	<lastBuildDate>Fri, 06 Aug 2010 00:34:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Wake Me Up Spotify 0.2</title>
		<link>http://www.mariusgundersen.net/2010/01/25/wake-me-up-spotify-0-2/</link>
		<comments>http://www.mariusgundersen.net/2010/01/25/wake-me-up-spotify-0-2/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 13:22:23 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Wake Me Up Spotify]]></category>

		<guid isPermaLink="false">http://www.mariusgundersen.net/?p=121</guid>
		<description><![CDATA[I&#8217;ve fixed the biggest bug from the previous version of Wake Me Up Spotify; it is now possible to use a playlist to wake you up! The fix was simple, and like the rest of the app, a hack. It just closes spotify 2 minutes before you want to wake up. Then it reopens it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve fixed the biggest bug from the previous version of Wake Me Up Spotify; it is now possible to use a playlist to wake you up! The fix was simple, and like the rest of the app, a hack. It just closes spotify 2 minutes before you want to wake up. Then it reopens it again (T minus 1 minute), and starts playing at the specified wake up time.</p>
<p>The latest version can be downloaded here: <a href="http://www.mariusgundersen.net/downloadsWakeMeUpSpotify_0_2_0_1.zip" title="zip, 65.79 kB">WakeMeUpSpotify</a> (0.2)</p>
<h3>Using Wake Me Up Spotify</h3>
<p><a href="http://www.mariusgundersen.net/wp-content/uploads/2010/01/locate.png"><img class="aligncenter size-medium wp-image-122" title="Using Wake Me Up Spotify" src="http://www.mariusgundersen.net/wp-content/uploads/2010/01/locate-230x300.png" alt="" width="230" height="300" /></a></p>
<p>When you start Wake Me Up Spotify for the first time, a yellow banner<strong><span style="color: #ff0000;"> (1)</span></strong> at the top of the app will indicate that you need to locate Spotify on your computer. Click on the banner, and find the folder where Spotify is installed (usually C:\Program Files\Spotify). You only have to do this once.</p>
<p>Now you need to specify the time you want to wake up at. Enter the time (in hours:minutes) in the small text box <strong><span style="color: #ff0000;">(2)</span></strong>. Next you need to find a song or playlist that you want to wake up to. Open Spotify and find a song or playlist, right click it, and click &#8220;Copy Spotify URI&#8221;. Then paste it in the large textbox in Wake Me Up Spotify <strong><span style="color: #ff0000;">(3)</span></strong>. Now you are ready to go to sleep!</p>
<p>You can hide Wake Me Up Spotify by clicking the minimize arrow on the toolbar. This will minimize the app to the taskbar (the bottom right corner of Windows). The app will still run from here. If you close it, it will not wake you up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mariusgundersen.net/2010/01/25/wake-me-up-spotify-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wake Me Up Spotify</title>
		<link>http://www.mariusgundersen.net/2009/11/19/wake-me-up-spotify/</link>
		<comments>http://www.mariusgundersen.net/2009/11/19/wake-me-up-spotify/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 12:51:39 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Wake Me Up Spotify]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Spotify]]></category>

		<guid isPermaLink="false">http://www.mariusgundersen.net/?p=79</guid>
		<description><![CDATA[This simple app lets you wake up to your favorite song or playlist by using Spotify as an alarm clock. Just set the time you want to wake up and the Spotify URI you want it to play, and your done. It will automatically open Spotify and start playing, and you can minimize it to [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_78" class="wp-caption aligncenter" style="width: 240px"><a href="http://www.mariusgundersen.net/wp-content/uploads/2009/11/screenshot.png"><img class="size-medium wp-image-78" title="WakeMeUpSpotify" src="http://www.mariusgundersen.net/wp-content/uploads/2009/11/screenshot-230x300.png" alt="Wake Me Up Spotify Screenshot" width="230" height="300" /></a><p class="wp-caption-text">Wake Me Up Spotify</p></div>
<p>This simple app lets you wake up to your favorite song or playlist by using <a title="Spotify" href="http://www.spotify.com" target="_blank">Spotify </a>as an alarm clock. Just set the time you want to wake up and the Spotify URI you want it to play, and your done. It will automatically open Spotify and start playing, and you can minimize it to the tray so it stays out of the way.</p>
<p>This is the first program I&#8217;ve ever made in C# and WinForms, so it&#8217;s pretty simple. Most of the development time was spent making WinForms look nice, something it&#8217;s definitively not designed for. For example, to add the nice shadow around the app, I had to sacrifice the blinking caret in the textboxes. Styling textboxes is also pretty difficult, so the simplest thing is to position so they line up with a background picture of the form. The rest of the time was  spent making it work with Spotify, using the <a title="Spotify Remote API, from CodePlex" href="http://spotifyremote.codeplex.com/" target="_blank">Spotify Remote API</a>. Spotify gives you very little control; I&#8217;m only able to play, pause, stop, play next and previous song and change the volume. To play a song specified by a Spotify URI I have to <a title="Use Spotify as alarm-clock!" href="http://www.delay.no/use-spotify-as-alarm-clock/" target="_blank">start Spotify with that URI as argument</a>.</p>
<p>The program still has a few bugs, so don&#8217;t use it as the only way to wake up. For example, while it is possible to play a song at any time by starting Spotify with a song URI, it is not possible to make it play playlist when it is already open. If you want to wake up to a playlist, make sure you close the Spotify before you go to bed!<a href="http://www.mariusgundersen.net/wp-content/uploads/2009/11/WakeMeUpSpotify.zip"></a></p>
<p>Download <a href="http://www.mariusgundersen.net/wp-content/uploads/2009/11/WakeMeUpSpotify.zip">WakeMeUpSpotify</a> (65kB)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mariusgundersen.net/2009/11/19/wake-me-up-spotify/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
