<?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>Andrew M. Whalen &#187; hacks</title>
	<atom:link href="http://amwhalen.com/archives/tag/hacks/feed" rel="self" type="application/rss+xml" />
	<link>http://amwhalen.com</link>
	<description>Thoughts on the web, programming and other nerdery by Andrew M. Whalen.</description>
	<lastBuildDate>Thu, 29 Dec 2011 14:13:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Editing Songbird Add-ons</title>
		<link>http://amwhalen.com/archives/2009/04/08/editing-songbird-add-ons</link>
		<comments>http://amwhalen.com/archives/2009/04/08/editing-songbird-add-ons#comments</comments>
		<pubDate>Wed, 08 Apr 2009 19:35:58 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[add-on]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[songbird]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://amwhalen.com/blog/?p=594</guid>
		<description><![CDATA[The <a href="http://addons.songbirdnest.com/addon/1301">Notify Me</a> add-on allows you to get <a href="http://growl.info/">Growl</a> notifications when the song changes. Unfortunately, the add-on hadn't been updated in 4 months. Here's how I made it work with the latest version of Songbird.]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t seen it yet, <a href="http://getsongbird.com/">Songbird</a> is a Mozilla-based open-source music player. I&#8217;ve been using for some time now and it&#8217;s amazing.</p>
<p>Just like Firefox, it has a system of add-ons. The <a href="http://addons.songbirdnest.com/addon/1301">Notify Me</a> add-on allows you to get <a href="http://growl.info/">Growl</a> notifications when the song changes. Unfortunately, the add-on hasn&#8217;t been updated in 4 months. Here&#8217;s how I made it work with the latest version of Songbird.</p>
<p>Download the add-on from the <a href="http://addons.songbirdnest.com">Songbird Add-ons</a> page. The .xpi file is just a zip file, and we have to unzip it to modify the contents. In Terminal, change to the directory where the .xpi file is (mine was on my desktop). Make a temporary folder to put the add-on files into when they&#8217;re unzipped. Put the .xpi into that folder and unzip it, then move the .xpi file out of there. Here&#8217;s the process in Terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>Desktop
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> notifyme
<span style="color: #c20cb9; font-weight: bold;">mv</span> notifyme-osx-1.1.0.xpi notifyme<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> notifyme
<span style="color: #c20cb9; font-weight: bold;">unzip</span> notifyme-osx-1.1.0.xpi
<span style="color: #c20cb9; font-weight: bold;">mv</span> notifyme-osx-1.1.0.xpi ..<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Once unzipped you&#8217;ll find a file named <code>install.rdf</code>. Open that up in a plain-text editor (Not MS Word) and change the <code>maxVersion</code> variable to whatever version you want. I&#8217;m changing it from 1.1.0rc1 to 1.2.0a.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;em:maxVersion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1.1.0rc1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/em:maxVersion<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Save <code>install.rdf</code> and zip the add-on back up (notice I changed the file name):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">zip</span> <span style="color: #660033;">-r</span> ..<span style="color: #000000; font-weight: bold;">/</span>notifyme-osx-1.2.0a-unofficial.xpi .</pre></div></div>

<p>You can then go to Tools -> Add-ons&#8230; in Songbird, click Install&#8230; and find the .xpi file you just zipped. It shouldn&#8217;t warn you about the version being incompatible anymore.</p>
<p>Although I just detailed how to do this and it worked for this add-on, I don&#8217;t recommended it. The max version is there for a reason. There may have been changes to Songbird that make an add-on incompatible with a higher version. Don&#8217;t blame me if you try this and your computer catches fire.</p>
<p><strong>Here&#8217;s the finished product:</strong> <a href="http://amwhalen.com/blog/wp-content/uploads/2009/04/notifyme-osx-120a-unofficial.xpi" onClick="javascript:pageTracker._trackPageview('/downloads/notifyme-osx-120a-unofficial.xpi');" class="download">notifyme-osx-120a-unofficial.xpi</a></p>
]]></content:encoded>
			<wfw:commentRss>http://amwhalen.com/archives/2009/04/08/editing-songbird-add-ons/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

