<?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>Industry Best Practice is another way of saying "Follow the Herd" &#187; Peapod</title>
	<atom:link href="http://www.hlynes.com/category/peapod/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hlynes.com</link>
	<description></description>
	<lastBuildDate>Sun, 18 Sep 2011 20:51:51 +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>Resolutions</title>
		<link>http://www.hlynes.com/2009/01/04/resolutions/</link>
		<comments>http://www.hlynes.com/2009/01/04/resolutions/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 14:10:26 +0000</pubDate>
		<dc:creator>Huw Lynes</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Peapod]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.hlynes.com/?p=170</guid>
		<description><![CDATA[Or should that be vague plans? Attend FOSDEM. I&#8217;ve been incredibly lazy the last few years and haven&#8217;t attended. Try to prevent the PET Centre from eating my life. This is probably more of a vain hope than a resolution. &#8230; <a href="http://www.hlynes.com/2009/01/04/resolutions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Or should that be vague plans?</p>
<ul>
<li>Attend <a href="http://www.fosdem.org/">FOSDEM</a>. I&#8217;ve been incredibly lazy the last few years and haven&#8217;t attended.</li>
<li>Try to prevent the <a href="http://news.bbc.co.uk/1/hi/wales/6292921.stm">PET Centre</a> from eating my life. This is probably more of a vain hope than a resolution.</li>
<li>Buy a flat or learn to drive. Because unless I make it an either/or I will do neither.</li>
<li>Attend the spring <a href="http://www.ukuug.org/events/spring2009/">UKUUG meeting</a>. Understanding kerberos is probably a worthwhile endeavour even if I never use it.</li>
<li>Skate more. Assuming we actually get a summer this year it shouldn&#8217;t be to hard to top the dismal amount of skating I did last year.</li>
<li>Attend at least one observing night of the <a href="http://www.cardiff-astronomical-society.co.uk/">Cardiff Astronomical Society</a> to remember what the night sky is supposed to look like.</li>
<li>Migrate <a href="http://www.peapodpy.org.uk">Peapod</a> to a sensible modern XML library to fix some of its more annoying bugs</li>
<li>Make an effort to visit friends. Which is just code for be less of a social hermit.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hlynes.com/2009/01/04/resolutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peapod 0.7</title>
		<link>http://www.hlynes.com/2008/03/23/peapod-07/</link>
		<comments>http://www.hlynes.com/2008/03/23/peapod-07/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 15:37:32 +0000</pubDate>
		<dc:creator>Huw Lynes</dc:creator>
				<category><![CDATA[Peapod]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.hlynes.com/2008/03/23/peapod-07/</guid>
		<description><![CDATA[A long weekend is always a good time for a new release. So without further ado I give you Peapod 0.7 Notable bug-fixes include improved syncing with ipods and some clean-up of the verbose output so that it makes more &#8230; <a href="http://www.hlynes.com/2008/03/23/peapod-07/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A long weekend is always a good time for a new release. So without further ado I give you <a href="http://www.peapodpy.org.uk/2008/03/23/peapod-07-snow-day/">Peapod 0.7</a></p>
<p>Notable bug-fixes include improved syncing with ipods and some clean-up of the verbose output so that it makes more sense.</p>
<p>For those of you who don&#8217;t know: peapod is a command-line podcast downloader written in python. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hlynes.com/2008/03/23/peapod-07/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making a Minimalist Bittorrent Client</title>
		<link>http://www.hlynes.com/2005/10/17/making-a-minimalist-bittorrent-client/</link>
		<comments>http://www.hlynes.com/2005/10/17/making-a-minimalist-bittorrent-client/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Peapod]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I spent the weekend sorting out bittorrent support in Peapod so that it wasn&#39;t quite such a mess. Previously I had hacked a version of btdownloadheadless.py so that it would exit when the download completed. I was then shelling out &#8230; <a href="http://www.hlynes.com/2005/10/17/making-a-minimalist-bittorrent-client/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent the weekend sorting out bittorrent support in <a href="http://www.peapodpy.org.uk" target="_self">Peapod</a> so that it<br />
wasn&#39;t quite such a mess. Previously I had hacked a version of<br />
btdownloadheadless.py so that it would exit when the download<br />
completed. I was then shelling out to this from within Peapod.<br />
Obviously this is a less than ideal situation partly because it meant I had to escape URLs from the shell. So I hacked away at btdownloadheadless.py until I had a simple class I could call to do the bittorrent download. It gives almost no feedback<br />
except a return code upon completion of the download.</p>
<blockquote><p>from btclient import mytorrent<br />
url = &quot;http://www.evilgeniuschronicles.org/audio/egc-2005-10-10.mp3.torrent&quot;<br />
save_dir&#160; = /tmp<br />
torrent = mytorrent(url,save_dir)<br />
ret = torrent.run()<br />
sys.exit(ret)</p></blockquote>
<p>If you wanted to carry on seeding rather than exiting on completion you could do:</p>
<blockquote><p>torrent = mytorrent(url,save_dir,selfish=0)<br />
torrent.run()</p></blockquote>
<p>I then added a name == &quot;__main__&quot; section into btclient so that it can be used a simple bittorrent client.<br />
<strong>btclient.py http://www.evilgeniuschronicles.org/audio/egc-2005-10-10.mp3.torrent /tmp</strong><br />
or to seed:<br />
<strong>btclient.py http://www.evilgeniuschronicles.org/audio/egc-2005-10-10.mp3.torrent /tmp seed</strong></p>
<p>btclient.py&#160; can be <a target="_self" href="../../../archive/scripts/btclient.py">downloaded from here</a> or alternatively see our <a target="_self" href="http://www.peapodpy.org.uk/downloading-peapod/">subversion repository</a> where the latest version can always be found.</p>
<p>Hopefully someone will find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hlynes.com/2005/10/17/making-a-minimalist-bittorrent-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Pythonic Podcatcher</title>
		<link>http://www.hlynes.com/2005/10/12/a-pythonic-podcatcher/</link>
		<comments>http://www.hlynes.com/2005/10/12/a-pythonic-podcatcher/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Peapod]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[A friend and I have been hacking on a replacement for bashpodder. It&#39;s taken a while but it&#39;s now very usable. Any thoughts greatly appreciated. I present Peapod]]></description>
			<content:encoded><![CDATA[<p>A friend and I have been hacking on a replacement for bashpodder. It&#39;s<br />
taken a while but it&#39;s now very usable. Any thoughts greatly<br />
appreciated.</p>
<p>I present <a target="_self" href="http://www.peapodpy.org.uk">Peapod</a></p>
<p><span id="more-25"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hlynes.com/2005/10/12/a-pythonic-podcatcher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

