<?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>guys like dolls &#187; code</title>
	<atom:link href="http://guyslikedolls.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://guyslikedolls.com</link>
	<description>an exploration of something</description>
	<lastBuildDate>Tue, 06 Jul 2010 23:21:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Importing Playlists from iTunes to Banshee</title>
		<link>http://guyslikedolls.com/2009/10/24/importing-playlists-from-itunes-to-banshee/</link>
		<comments>http://guyslikedolls.com/2009/10/24/importing-playlists-from-itunes-to-banshee/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 23:23:51 +0000</pubDate>
		<dc:creator>jcdoll</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[banshee]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[playlist import]]></category>

		<guid isPermaLink="false">http://www.guyslikedolls.com/?p=503</guid>
		<description><![CDATA[I&#8217;ve been using Banshee for my music listening needs the past few months after using iTunes for a very, very long time. I never got around to importing my iTunes playlist, mainly because there weren&#8217;t any good solutions when I first looked into it a few months ago. This weekend I finally imported all of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://banshee-project.org/">Banshee</a> for my music listening needs the past few months after using iTunes for a very, very long time. I never got around to importing my iTunes playlist, mainly because there weren&#8217;t any good solutions when I first looked into it a few months ago. This weekend I finally imported all of my iTunes info (play counts, playlists, ratings) using a great script found <a href="http://contentment.org/2009/05/converting-from-itunes-to-bans.html">here</a>.</p>
<p>However, it didn&#8217;t work for me right off the bat. For some reason, the file size in my iTunes library didn&#8217;t match the file size reported by Banshee. Also, the database format appears to have changed slightly since the script was originally written. Here is a copy of the <a href="http://www.guyslikedolls.com/uploadedFiles/joey/itunes-to-banshee-modified.pl">modified script</a>, which just has two changed lines of code. Hopefully this is helpful to somebody and be sure to thank the author of the original script if it is!</p>
]]></content:encoded>
			<wfw:commentRss>http://guyslikedolls.com/2009/10/24/importing-playlists-from-itunes-to-banshee/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>This American Life</title>
		<link>http://guyslikedolls.com/2007/11/11/this-american-life/</link>
		<comments>http://guyslikedolls.com/2007/11/11/this-american-life/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 06:32:08 +0000</pubDate>
		<dc:creator>jcdoll</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you enjoy listening to This American Life on NPR and don&#8217;t find their weekly free podcast enough, here&#8217;s a little script to download all of their old episodes. It probably isn&#8217;t condoned, but I figure that if I had listened to the show from the start and taped them off of the radio they [...]]]></description>
			<content:encoded><![CDATA[<p>If you enjoy listening to <a href="http://www.thislife.org/">This American Life</a> on NPR and don&#8217;t find their weekly free podcast enough, here&#8217;s a little script to download all of their old episodes. It probably isn&#8217;t condoned, but I figure that if I had listened to the show from the start and taped them off of the radio they wouldn&#8217;t have minded, so trying to charge listeners to dip into past shows seems pretty arbitrary. I&#8217;d rather just donate to NPR as a whole. I adapted some code from <a href="http://www.dirtygreek.org/journal/journalId/2006">here</a> so that it works on any system with python installed . Here are step-by-step instructions for MacOSX/Linux/whatever:</p>
<ol>
<li>Copy and paste the code below into a file called &#8221;&#8217;download.py&#8221;&#8217;. Save it in your home directory.</li>
<li>Start up the terminal (/Applications/Utilities/Terminal.app), type &#8221;&#8217;python download.py&#8221;&#8217; and hit enter.</li>
<li>All of the shows (up to #342) will be downloaded to your home folder. Shows #5 and #8 don&#8217;t seem to exist.</li>
</ol>
<p><code>#!/usr/bin/env python<br />
from urllib import urlretrieve<br />
import urllib2<br />
for i in range(1,5) + range(6,8) + range(9,389):<br />
urllib2.urlopen("http://audio.thisamericanlife.org/jomamashouse/ismymamashouse/%d.mp3" % i)<br />
urlretrieve("http://audio.thisamericanlife.org/jomamashouse/ismymamashouse/%d.mp3" % i, "%d.mp3" % i)<br />
print "Succesfully downloaded %d.mp3" % i</code></p>
<p><strong>Update (Sept 12, 2009):</strong> I verified that the script still works and it goes up to episode #389 now.</p>
]]></content:encoded>
			<wfw:commentRss>http://guyslikedolls.com/2007/11/11/this-american-life/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
