<?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>Jeremy Visser &#187; python</title>
	<atom:link href="http://jeremy.visser.name/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://jeremy.visser.name</link>
	<description></description>
	<lastBuildDate>Fri, 16 Jul 2010 03:39:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='https://jeremy.visser.name/?pushpress=hub'/>
<cloud domain='jeremy.visser.name' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Updated Python-iView: iView v359, no GTK+ for iview-cli, and bonus CGI script</title>
		<link>https://jeremy.visser.name/2010/07/16/updated-python-iview-iview-v359-no-gtk-for-iview-cli-and-bonus-cgi-script/</link>
		<comments>https://jeremy.visser.name/2010/07/16/updated-python-iview-iview-v359-no-gtk-for-iview-cli-and-bonus-cgi-script/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 03:39:52 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[IANAL]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python-iView]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">https://jeremy.visser.name/?p=1528</guid>
		<description><![CDATA[I have updated Python-iView to un-break changes the ABC made to iView the other day. If you’re using the Python-iView PPA, then you should have the update available already. If you’re using Bzr, as always, type the following to get the latest update: $ bzr pull Changes in this release include: Supports iView version 359. [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated <a href="https://jeremy.visser.name/2009/08/30/python-iview/">Python-iView</a> to un-break changes the ABC made to <a href="http://www.abc.net.au/iview/">iView</a> the other day.</p>
<p>If you’re using the <a href="https://launchpad.net/~jeremy-visser/+archive/python-iview">Python-iView PPA</a>, then you should have the update available already. If you’re using Bzr, as always, type the following to get the latest update:</p>
<blockquote><pre>$ bzr pull</pre>
</blockquote>
<p>Changes in this release include:</p>
<ul>
<li>Supports iView version 359. The changes were trivial, but broke compatibility.</li>
<li>Remove dependence on PyGTK for <code>iview-cli</code>, meaning you don’t need GTK+ installed to use it. This also means warnings aren’t thrown if you run it on a headless system.</li>
<li>As a free bonus, for you hackers out there, I have thrown in a script called <code>iview.cgi</code>. To use it, read the (simplistic) installation instructions (for what is a simplistic script) in the actual file, but basically the lowdown is this: when the CGI script is active, you can retrieve iView videos over HTTP via a URL like <code>http://localhost/cgi-bin/iview.cgi/730report_10_01_01.flv</code>. As you can see, that would be very handy for integrating into your home media centre and the like. Obviously you need to adjust your web server ACLs to only allow localhost and <a href="http://tools.ietf.org/html/rfc1918">RFC 1918</a> addresses to access the script. The script is not designed to be user-friendly — it’s meant to be versatile.</li>
<li>Just a minor change, but some extra metadata is parsed out of the programme. The frontends don’t make use of it (…yet), but it’s there.</li>
<li>Another minor change is that <code>set_local_only(False)</code> is set on the <code>iview-gtk</code> save dialog. This lets you save to GVFS locations (e.g. <code>sftp://</code> or <code>ftp://</code>). Why that is not default in GTK+ I am really not sure.</li>
</ul>
<p>On a side note, Whirlpool purged all material related to alternative iView access on their wiki and forums this week because they are of the opinion that alternative iView access constitutes bypassing copy protection and is thus illegal.</p>
<p>While I am not a lawyer, and I doubt Whirlpool consulted lawyers to reach that conclusion — and it’s better ask for forgiveness than permission — the fact remains that Python-iView is a project <strong>solely for interoperability purposes</strong>, not copyright infringement.</p>
<p>I pour my heart and soul into Python-iView not because I enjoy writing software, enjoy reverse engineering copy protection, or anything like that. I write Python-iView because it fulfills a need I have, and I released the software because I know there are fellow power users like me who are in the same situation and would benefit from the software in the same way.</p>
<p>Enjoy the new release, and viva la non mainstream!</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2010/07/16/updated-python-iview-iview-v359-no-gtk-for-iview-cli-and-bonus-cgi-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
<enclosure url="http://localhost/cgi-bin/iview.cgi/730report_10_01_01.flv" length="0" type="video/x-flv" />
		</item>
		<item>
		<title>Python-iView supports new JSON index from iView 327</title>
		<link>https://jeremy.visser.name/2010/02/03/python-iview-supports-new-json-index-from-iview-327/</link>
		<comments>https://jeremy.visser.name/2010/02/03/python-iview-supports-new-json-index-from-iview-327/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 22:15:43 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python-iView]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1371</guid>
		<description><![CDATA[Python-iView users are invited to update their setups to support the latest JSON–based index the ABC pushed yesterday. The index is in a more compact format, which means that loading the GTK+ interface should be faster for you. Not only that, but the ABC have cleaned up all their blank programmes from the index, which [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jeremy.visser.name/2009/08/30/python-iview/">Python-iView</a> users are invited to update their setups to support the latest JSON–based index the ABC pushed yesterday. The index is in a more compact format, which means that loading the GTK+ interface should be faster for you.</p>
<p>Not only that, but the ABC have cleaned up all their blank programmes from the index, which should make picking and choosing something to watch.</p>
<p>Without further ado, here is the usual to get you to the latest version:</p>
<pre style="padding-left: 30px;">$ bzr pull</pre>
<p>This latest update requires the use of the json module, which is only available for Python 2.6 users. I fall back to the user of simplejson if json is not available, so you may need to install the module manually (either from the <a href="http://pypi.python.org/pypi/simplejson/2.0.9">simplejson website</a>, or from your distribution&#8217;s package manager, e.g. python-simplejson for Debian or Ubuntu) if you use Python 2.5.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2010/02/03/python-iview-supports-new-json-index-from-iview-327/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>MP4 (for real this time) and Akamai support in Python-iView</title>
		<link>https://jeremy.visser.name/2010/01/17/mp4-for-real-this-time-and-akamai-support-in-python-iview/</link>
		<comments>https://jeremy.visser.name/2010/01/17/mp4-for-real-this-time-and-akamai-support-in-python-iview/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 22:30:54 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python-iView]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1353</guid>
		<description><![CDATA[You may have seen the workaround I presented to Python-iView users who wanted MP4 support, and wanted it now. Also, (this has probably got to be the biggest duh moment for me in a year) I discovered Python-iView actually didn&#8217;t support those of you who use Akamai-based servers with iView. This includes all users who [...]]]></description>
			<content:encoded><![CDATA[<p>You may have seen the <a href="http://jeremy.visser.name/2009/12/26/mp4-in-python-iview/">workaround</a> I presented to <a href="http://jeremy.visser.name/2009/08/30/python-iview/">Python-iView</a> users who wanted MP4 support, and wanted it now.</p>
<p>Also, (this has probably got to be the biggest <em>duh</em> moment for me in a year) I discovered Python-iView actually didn&#8217;t support those of you who use Akamai-based servers with iView. This includes all users who don&#8217;t have iView unmetered, as well as iiNet users. Sorry about that!</p>
<p>Well, now, if you type <code>bzr pull</code>, both MP4 and Akamai support work beautifully.</p>
<p>One thing to keep in mind is that the <code>iview-cli</code> programme has been changed to print out <code>.flv</code> and <code>.mp4</code> extensions, which you mustn&#8217;t strip off when you paste it on to <code>iview-cli --download</code>. This is so it knows which version to ask for. No, they are not interchangeable — keep it what it prints out. (<code>iview-gtk</code> users don&#8217;t have to worry about any of this.)</p>
<p>Now all I need is Save dialog support for <code>iview-gtk</code>, and to package it up in <code>.deb</code> and <code>.rpm</code> formats, and it&#8217;ll take over the world! Oh, category support would be nice too.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2010/01/17/mp4-for-real-this-time-and-akamai-support-in-python-iview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MP4 in Python-iView</title>
		<link>https://jeremy.visser.name/2009/12/26/mp4-in-python-iview/</link>
		<comments>https://jeremy.visser.name/2009/12/26/mp4-in-python-iview/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 02:51:30 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1349</guid>
		<description><![CDATA[G&#8217;day Python-iView&#8217;ers. As you might know, the ABC has been transitioning to MP4 (with H.264 video) for a lot of their videos. iview-gtk doesn&#8217;t yet support it, but here&#8217;s how to do it with iview-cli. First, find an MP4 video: $ ./iview-cli --programme [...] Compass Series 23: Compass Series 23 Episode 47 (compass_09_23_47.mp4) [...] Then, [...]]]></description>
			<content:encoded><![CDATA[<p>G&#8217;day Python-iView&#8217;ers. As you might know, the ABC has been transitioning to MP4 (with <a href="http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC">H.264 video</a>) for a lot of their videos.</p>
<p><code>iview-gtk</code> doesn&#8217;t yet support it, but here&#8217;s how to do it with <code>iview-cli</code>.  First, find an MP4 video:</p>
<blockquote><pre>$ ./iview-cli --programme
[...]
Compass Series 23:
	Compass Series 23 Episode 47	(<strong>compass_09_23_47.mp4</strong>)
[...]</pre>
</blockquote>
<p>Then, download it like so:</p>
<blockquote><pre>$ ./iview-cli --download <strong>mp4:compass_09_23_47</strong></pre>
</blockquote>
<p>So, basically, strip the <code>.mp4</code> off the end, and add <code>mp4:</code> at the beginning.</p>
<p>The pattern seems to be slightly inconsistent, so I haven&#8217;t been able to code up something to do it automatically, but once I figure it out, I&#8217;ll make it all automagic for you. This is just something to use in the meantime.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/12/26/mp4-in-python-iview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python-iView updated to iView 316</title>
		<link>https://jeremy.visser.name/2009/12/01/python-iview-updated-to-iview-316/</link>
		<comments>https://jeremy.visser.name/2009/12/01/python-iview-updated-to-iview-316/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 08:30:08 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python-iView]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1336</guid>
		<description><![CDATA[I&#8217;ve updated Python-iView to support the latest iView version, 316. To get the latest update, change to your python-iview directory, and type: $ bzr pull In this update: New programme API supported, which permits faster loading times. The entire programme is no longer loaded. Instead, the individual series are loaded when you select them in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated <a href="http://jeremy.visser.name/2009/08/30/python-iview/">Python-iView</a> to support the latest <a href="http://www.abc.net.au/iview/">iView</a> version, 316. To get the latest update, change to your python-iview directory, and type:</p>
<blockquote>
<pre>$ bzr pull</pre>
</blockquote>
<p>In this update:</p>
<ul>
<li>New programme API supported, which permits faster loading times.</li>
<li>The entire programme is no longer loaded. Instead, the individual series are loaded when you select them in the GTK+ interface, making for faster startup times.</li>
<li><a href="http://jeremy.visser.name/2009/10/19/swf-verification-sucks/">SWF verification</a> keys updated.</li>
<li>RC4–encrypted programmes supported (was required in version 306, though subsequently disabled by the ABC again and made unnecessary).</li>
</ul>
<p>Here is a roadmap for what I would like to achieve in the next couple of releases:</p>
<ul>
<li><a href="http://library.gnome.org/devel/gio/stable/">GIO</a>–based saving (e.g. so you can save into an SFTP share).</li>
<li>Ability to run from read-only system directory (the previous point is a prerequisite for this), and packaged into .deb or .rpm format for easy installation.</li>
<li>Category browsing, thumbnail display, and metadata such as ratings, duration, size, etc.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/12/01/python-iview-updated-to-iview-316/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
