<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>David Morris &#187; ubuntu-uk planet</title>
	<atom:link href="http://davemorris.wordpress.com/category/ubuntu-uk-planet/feed/" rel="self" type="application/rss+xml" />
	<link>http://davemorris.wordpress.com</link>
	<description>Make it idiot proof and someone will make a better idiot.</description>
	<lastBuildDate>Mon, 29 Jun 2009 14:49:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/9be6b7e5859260951db495e84c695262?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>David Morris &#187; ubuntu-uk planet</title>
		<link>http://davemorris.wordpress.com</link>
	</image>
			<item>
		<title>OpenSG Browser Plugin</title>
		<link>http://davemorris.wordpress.com/2009/06/29/opensg-browser-plugin/</link>
		<comments>http://davemorris.wordpress.com/2009/06/29/opensg-browser-plugin/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 14:49:18 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[OpenSG]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[novellab]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=57</guid>
		<description><![CDATA[Well the summer has finally arrived, and I&#8217;ve finally got around to publishing this on the research groups website.  It is a small application making use of the Qt4 browser-plugin API to provide an OpenSG canvas within a web browser.  It wouldn&#8217;t take much effort to make it easily installable for users.  (Just statically link [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=57&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well the summer has finally arrived, and I&#8217;ve finally got around to publishing this on the research groups website.  It is a small application making use of the Qt4 browser-plugin API to provide an OpenSG canvas within a web browser.  It wouldn&#8217;t take much effort to make it easily installable for users.  (Just statically link the whole thing into a single binary I&#8217;m guessing)</p>
<p>The advantage of using OpenSG rather than OpenGL as a canvas for web3d graphics is that you can build upon the scenegraph, take all of it&#8217;s functioanltiy, rather than you worrying about creating file loaders etc.  The URL for the plugin is <a href="http://novellab.brighton.ac.uk/?q=projects/opensgplugin">http://novellab.brighton.ac.uk/?q=projects/opensgplugin</a></p>
<p>P.S. If anyone is able to help me solve <a href="https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/389441">https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/389441</a> it&#8217;ll be great.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=57&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2009/06/29/opensg-browser-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Converting Access to mySQL</title>
		<link>http://davemorris.wordpress.com/2008/11/11/converting-access-to-mysql/</link>
		<comments>http://davemorris.wordpress.com/2008/11/11/converting-access-to-mysql/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 10:23:13 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[novellab]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=54</guid>
		<description><![CDATA[One of those joys within computing which we come across is the need to convert legacy data to a new shiny format.  My current task is to convet a legacy Access database to mySQL so it can be accessed via the web.  It contains data on various scupltures around sussex and will be available at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=54&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of those joys within computing which we come across is the need to convert legacy data to a new shiny format.  My current task is to convet a legacy Access database to mySQL so it can be accessed via the web.  It contains data on various scupltures around sussex and will be available at <a href="http://www.publicsculpturesofsussex.co.uk">http://www.publicsculpturesofsussex.co.uk</a></p>
<p>To convert the database I found a GPL&#8217;ed application (<a href="http://www.bullzip.com/products/a2m/info.php">http://www.bullzip.com/products/a2m/info.php</a>) which is able to produce a mySQL database dump file or connect to the database and create a replica.  Through a simple Windows installer and GUI wizard the task was made suprisingly trival, with the whole process taking less than 5 minutes.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=54&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/11/11/converting-access-to-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Digitalising Home Movies on Ubuntu Hardy with a PVR-150</title>
		<link>http://davemorris.wordpress.com/2008/07/16/digitalising-home-movies-on-ubuntu-hardy-with-a-pvr-150/</link>
		<comments>http://davemorris.wordpress.com/2008/07/16/digitalising-home-movies-on-ubuntu-hardy-with-a-pvr-150/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 23:04:53 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mythbuntu]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=47</guid>
		<description><![CDATA[I had a need at home to convert some out VHS movies to digital so I purchased myself a WinTV-PVR-150 MCE.  This would enable me to play video from a VCR, outputting via a SCART cable which split into composite video and audio.  Hardware encoding of the analogue signal enabled the captured input to easily [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=47&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had a need at home to convert some out VHS movies to digital so I purchased myself a <a href="http://www.hauppauge.co.uk/site/products/data_pvr150mckit.html">WinTV-PVR-150 MCE</a>.  This would enable me to play video from a VCR, outputting via a SCART cable which split into composite video and audio.  Hardware encoding of the analogue signal enabled the captured input to easily be transfered to a digital file (mpeg2).  As usual from Hauppauge linux support is excellent with the card fully supported out of the box with Hardy.</p>
<p>To take the input from the card and save it into a file I simply needed to do:</p>
<pre>     cat /dev/video /path/to/file</pre>
<p>To switch between the various inputs on the card I need to use the following commands (v4l2-ctl is available in the ivtv-utils package):</p>
<pre>     v4l2-ctl -i 0    for the tuner
     v4l2-ctl -i 1    for svideo
     v4l2-ctl -i 2    for composite</pre>
<p>All in all I found the card very easy to use for my purpose, and will now be looking to use it within my Mythbuntu installation.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=47&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/07/16/digitalising-home-movies-on-ubuntu-hardy-with-a-pvr-150/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Video Textures in OpenSG</title>
		<link>http://davemorris.wordpress.com/2008/07/15/video-textures-in-opensg/</link>
		<comments>http://davemorris.wordpress.com/2008/07/15/video-textures-in-opensg/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 20:42:43 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[OpenSG]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[novellab]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=39</guid>
		<description><![CDATA[I&#8217;ve mentioned OpenSG on this blog.  It is a scene-graph based API I use at work for rendering of 3D scenes.  As part of these scenes you can create textures on these objects, which are basically pictures.  Well my co-worker, Karina, has produced some code for displaying video on these textures, which is really cool.
We&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=39&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve mentioned OpenSG on this blog.  It is a scene-graph based API I use at work for rendering of 3D scenes.  As part of these scenes you can create textures on these objects, which are basically pictures.  Well my co-worker, Karina, has produced some code for displaying video on these textures, which is really cool.</p>
<p>We&#8217;ve been playing around with video playing over our tiled wall cluster both playing just a video, or wrapping the video around an object such as a sphere.  We&#8217;ll be releasing the source code for it soon on our <a href="http://novellab.brighton.ac.uk">website</a> along with some other cool things we&#8217;ve been producing.  But before hand I&#8217;d just like to show you a picture of it running the <a href="http://www.bigbuckbunny.org/">Big Buck Bunny</a> video (which is cool project as well).</p>
<p><a href="http://davemorris.files.wordpress.com/2008/07/bunny.png"><img class="aligncenter size-full wp-image-38" src="http://davemorris.files.wordpress.com/2008/07/bunny.png?w=460&#038;h=420" alt="" width="460" height="420" /></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=39&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/07/15/video-textures-in-opensg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>

		<media:content url="http://davemorris.files.wordpress.com/2008/07/bunny.png" medium="image" />
	</item>
		<item>
		<title>Enabling ply Support for OpenSG on Ubuntu Hardy</title>
		<link>http://davemorris.wordpress.com/2008/07/04/enabling-ply-support-for-opensg-on-ubuntu-hardy/</link>
		<comments>http://davemorris.wordpress.com/2008/07/04/enabling-ply-support-for-opensg-on-ubuntu-hardy/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 13:03:48 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[OpenSG]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[novellab]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=36</guid>
		<description><![CDATA[The OpenSG packages within Ubuntu Hardy don&#8217;t contain any of the contrib directory functionality been built.  These aren&#8217;t prebuilt due to them been work in progress or licensing issues.  The ply contribution is restricted due to it&#8217;s license to non commercial work only, so it needs to be built outside of the packages distributed.
Normally this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=36&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The OpenSG packages within Ubuntu Hardy don&#8217;t contain any of the contrib directory functionality been built.  These aren&#8217;t prebuilt due to them been work in progress or licensing issues.  The ply contribution is restricted due to it&#8217;s license to non commercial work only, so it needs to be built outside of the packages distributed.</p>
<p>Normally this would be built and stored within the libOSGSystem.so library, requiring the the library to be built again, which takes a while <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' />   So instead I&#8217;ll show you how to build it as a separate library for you to link against in your applications.</p>
<p>Within the directory containing the source code, the following command will build it as a shared library called libOSGPly.so.</p>
<pre>g++ OSGply.cpp  OSGPLYSceneFileType.cpp -I/usr/include/OpenSG/ `pkg-config OSGSystem
 --libs --cflags` -shared -fPIC -o libOSGPly.so</pre>
<p>This then needs to be copied to your system path so the linker can find it, so:</p>
<pre>sudo cp libOSGPly.so /usr/lib/.</pre>
<p>The header files then require installation, so:</p>
<pre>sudo cp *.h /usr/include/OpenSG/.</pre>
<p>Now all you need to do is add -lOSGPly to your linker options to use the library.</p>
<p>I&#8217;m sure the same trick can be used with the other contrib features if you wish to enable them easily.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=36&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/07/04/enabling-ply-support-for-opensg-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Keeping mythtv-backend Alive</title>
		<link>http://davemorris.wordpress.com/2008/06/23/keeping-mythtv-backend-alive/</link>
		<comments>http://davemorris.wordpress.com/2008/06/23/keeping-mythtv-backend-alive/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 10:57:35 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mythbuntu]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=34</guid>
		<description><![CDATA[I&#8217;ve a small problem with my mythtv-backend in that it will crash once or twice a week without giving a clue as to the problem, even when running it through gdb.  When restarting, it would work fine again therefore there was the need to detect a crash and restart when it happens.
This is currently been [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=34&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve a small problem with my mythtv-backend in that it will crash once or twice a week without giving a clue as to the problem, even when running it through gdb.  When restarting, it would work fine again therefore there was the need to detect a crash and restart when it happens.</p>
<p>This is currently been worked on for the next version of Mythbuntu through the use of upstart scripts, however I was needing a soultion before then.  This lead to the development of the script below, which checks to see if it&#8217;s running, and restart it if it&#8217;s not.</p>
<p>The script is limited in that you need to manually start it after the machine has booted.  I run the script within a screen console (so I can detatch it) using watch to run the script every 60 seconds.</p>
<p>So in screen:</p>
<p>sudo watch -n 60 ./keep-myth-server-alive.sh</p>
<p>The script:</p>
<p>#!/bin/bash</p>
<p># Copyright (C) 2008<br />
#       David Morris (david.morris@greenacre.no-ip.com)<br />
#<br />
# This program is free software; you can<br />
# redistribute it and/or modify it under the terms<br />
# of the GNU General Public License as published by<br />
# the Free Software Foundation, version 2 or later.<br />
#</p>
<p>if [  `ps -ef | grep -c mythbackend` == '1' ];<br />
then<br />
sudo /etc/init.d/mythtv-backend start</p>
<p>fi</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=34&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/06/23/keeping-mythtv-backend-alive/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>iplayer scraper</title>
		<link>http://davemorris.wordpress.com/2008/05/02/iplayer-scraper/</link>
		<comments>http://davemorris.wordpress.com/2008/05/02/iplayer-scraper/#comments</comments>
		<pubDate>Fri, 02 May 2008 20:42:32 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[Media Center]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mythbuntu]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/?p=33</guid>
		<description><![CDATA[I&#8217;ve paid a bit of attention to the iPlayer development that has been occuring for linux over the last few months, with flash and mp4 versions. http://po-ru.com/ provides a ruby download script for the mp4 when passed the PID.
Now I&#8217;ve been thinking we can easily make this into a standalone player which users can browse [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=33&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve paid a bit of attention to the iPlayer development that has been occuring for linux over the last few months, with flash and mp4 versions. <a title="http://po-ru.com/" href="http://po-ru.com/">http://po-ru.com/ </a>provides a ruby download script for the mp4 when passed the PID.</p>
<p>Now I&#8217;ve been thinking we can easily make this into a standalone player which users can browse on a desktop through the use of a GTK applications, or as a plugin for mythtv.  To this end, I&#8217;ve hacked up a python scraper to generate the iPlayer listings and I&#8217;m publishing it here in the hope it&#8217;ll be of help to people.</p>
<p>It returns:</p>
<ul>
<li>URL with the PID</li>
<li>URL for the thumbnail</li>
<li>Title of show</li>
<li>Date show was aired</li>
<li>Duration of show</li>
<li>Synopsis of show</li>
</ul>
<p>I&#8217;ve create the core <a href="http://greenacre.no-ip.com/dave/blog/iplayerscraper.py">module</a> and a small <a href="http://greenacre.no-ip.com/dave/blog/script.py">script</a> to demonstrate how it can be called.  What you choose to do with the data once it&#8217;s returned is left to yourselves.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=33&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/05/02/iplayer-scraper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>mythtv Planet</title>
		<link>http://davemorris.wordpress.com/2008/01/17/mythtv-planet/</link>
		<comments>http://davemorris.wordpress.com/2008/01/17/mythtv-planet/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 12:01:58 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[mythbuntu]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[plugs]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/2008/01/17/mythtv-planet/</guid>
		<description><![CDATA[There is a new planet in the solar system of OSS, mythtv Planet.  If you want your feeds to be added then send an email do Daviey to be added at addme@planetmythtv.com.  Alternatively give him a poke on IRC.  daviey [on] irc.freenode.net.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=30&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a new planet in the solar system of OSS, <a href="http://planetmythtv.com/">mythtv Plane</a>t.  If you want your feeds to be added then send an email do Daviey to be added at addme@planetmythtv.com.  Alternatively give him a poke on IRC.  daviey [on] irc.freenode.net.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/30/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/30/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=30&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2008/01/17/mythtv-planet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu packaging &#8211; my 1st package</title>
		<link>http://davemorris.wordpress.com/2007/12/11/ubuntu-packaging/</link>
		<comments>http://davemorris.wordpress.com/2007/12/11/ubuntu-packaging/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 13:47:59 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/2007/12/11/ubuntu-packaging/</guid>
		<description><![CDATA[Well I&#8217;ve cut my first teeth now with regard to Ubuntu packaging and had my 1st package accepted into the hardy release  
The package I used was cpptest  which is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++.  I used this testing framework for my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=29&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well I&#8217;ve cut my first teeth now with regard to Ubuntu packaging and had my 1st <a href="http://revu.tauware.de/details.py?upid=918">package</a> accepted into the hardy release <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>The package I used was <a href="http://cpptest.sourceforge.net/">cpptest</a>  which is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++.  I used this testing framework for my Masters work and decided to simplify the tool chain for others to build and use my work.</p>
<p>It&#8217;s great after around 3 -4 weeks of learning around my job to have it accepted and I&#8217;m looking forward to getting my other two packages in the queue accepted for hardy.  I&#8217;d like to thanks the MOTU&#8217;s which have helped me get this package done through reviewing it namely <span class="comments"> sistpoty, </span>persia, apachelogger and norsetto.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=29&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2007/12/11/ubuntu-packaging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote Wonder 2 in Mythbuntu</title>
		<link>http://davemorris.wordpress.com/2007/12/10/remote-wonder-2-in-mythbuntu/</link>
		<comments>http://davemorris.wordpress.com/2007/12/10/remote-wonder-2-in-mythbuntu/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 23:08:08 +0000</pubDate>
		<dc:creator>davemorris</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mythbuntu]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu-uk planet]]></category>

		<guid isPermaLink="false">http://davemorris.wordpress.com/2007/12/10/remote-wonder-2-in-mythbuntu/</guid>
		<description><![CDATA[I&#8217;ve had a few searches for this hitting my blog and seen people having problems with it as well.  I just redid mine on Ubuntu Gutsy and this should work the same.  Here is what I did
sudo dpkg-reconfigure lirc
I then chose the userspace driver
sudo nano /etc/modprobe.d/lirc
Here I commented out blacklisting of the  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=28&subd=davemorris&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve had a few searches for this hitting my blog and seen people having problems with it as well.  I just redid mine on Ubuntu Gutsy and this should work the same.  Here is what I did</p>
<p><em>sudo dpkg-reconfigure lirc</em></p>
<p>I then chose the userspace driver</p>
<p><em>sudo nano /etc/modprobe.d/lirc</em></p>
<p>Here I commented out blacklisting of the  `lirc_atiusb&#8217; module.</p>
<p>Once this is done you can load it with</p>
<p><em> sudo modprobe  lirc_atiusb</em></p>
<p>You&#8217;ll then need to install the lircrc file to /home/&lt;myth user&gt;/.mythtv/lircrc</p>
<p>Restart and it should all work fine.  I&#8217;ve attached my config files for you to check against as well.  If you need more help post here or find me (davemorris)  on irc.freenode.net</p>
<p>irw is a great little program to run in a terminal to see what buttons your pressing and tsee what they are mapped to.<br />
<a href="http://greenacre.no-ip.com/dave/blog/lirc">/etc/modprobe.d/lirc </a></p>
<p><a href="http://greenacre.no-ip.com/dave/blog/lircd.conf">/etc/lirc/lircd.conf</a></p>
<p><a href="http://greenacre.no-ip.com/dave/blog/lircrc">/home/&lt;mythtv user&gt;/.mythtv/lircrc</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/davemorris.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/davemorris.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/davemorris.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/davemorris.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/davemorris.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/davemorris.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/davemorris.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/davemorris.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/davemorris.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/davemorris.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/davemorris.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/davemorris.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=davemorris.wordpress.com&blog=973252&post=28&subd=davemorris&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://davemorris.wordpress.com/2007/12/10/remote-wonder-2-in-mythbuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e445a423e4cd89a59bee43ad71b8fe22?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">davemorris</media:title>
		</media:content>
	</item>
	</channel>
</rss>