<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>The Crane Has Landed &#187; MythTV</title>
	<atom:link href="http://thecrane.wordpress.com/category/mythtv/feed/" rel="self" type="application/rss+xml" />
	<link>http://thecrane.wordpress.com</link>
	<description>But where is that?</description>
	<lastBuildDate>Sun, 01 Nov 2009 08:18:36 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='thecrane.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7e3c6b0b3543c6fb34728f9739ae5b76?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>The Crane Has Landed &#187; MythTV</title>
		<link>http://thecrane.wordpress.com</link>
	</image>
			<item>
		<title>PVR150/Gutsy/Sky NZ MythTV configuration tips and tricks</title>
		<link>http://thecrane.wordpress.com/2008/03/19/more-mythtv-config/</link>
		<comments>http://thecrane.wordpress.com/2008/03/19/more-mythtv-config/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 09:29:02 +0000</pubDate>
		<dc:creator>thecrane</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[PVR-150]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[note to self MythTV IR blaster tips pvr-150 gutsy]]></category>

		<guid isPermaLink="false">http://thecrane.wordpress.com/?p=25</guid>
		<description><![CDATA[Here are some other things I&#8217;ve learnt you need to do to get MythTV working with a Sky box, Ubuntu Gutsy and a PVR-150:
General

Make a directory called /usr/src/mythtv

EPG setup

Create and run channelsetup.sh to import the channels into the MythTV database

#!/bin/bash
wget http://epg.pvr.geek.nz/epg/listings-sky.xml.gz
gunzip -f listings-sky.xml.gz
mythfilldatabase --file 1 listings-sky.xml --do-channel-updates

Create a file called getEPG in /usr/local/bin (and chmod [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=25&subd=thecrane&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here are some other things I&#8217;ve learnt you need to do to get MythTV working with a Sky box, Ubuntu Gutsy and a PVR-150:</p>
<p><b>General</b></p>
<ol>
<li>Make a directory called <code>/usr/src/mythtv</code></li>
</ol>
<p><b>EPG setup</b></p>
<ol>
<li>Create and run <code>channelsetup.sh</code> to import the channels into the MythTV database<br />
<code><br />
#!/bin/bash<br />
wget http://epg.pvr.geek.nz/epg/listings-sky.xml.gz<br />
gunzip -f listings-sky.xml.gz<br />
mythfilldatabase --file 1 listings-sky.xml --do-channel-updates</code>
</li>
<li>Create a file called <code>getEPG</code> in <code>/usr/local/bin</code> (and chmod +x to make it executable) to get the channel data.  Copy the following code into it:<br />
<code><br />
#!/bin/bash<br />
cd /usr/src/mythtv<br />
wget http://epg.pvr.geek.nz/epg/listings-sky.xml.gz /usr/src/mythtv/listings-sky.xml.gz<br />
gunzip -f /usr/src/mythtv/listings-sky.xml.gz /usr/src/mythtv<br />
mythfilldatabase --no-delete --file 1 -1 /usr/src/mythtv/listings-sky.xml --update<br />
</code></p>
<p>If you have webmin installed, set up a cron job to run this script once a week.
</li>
</ol>
<p><b>IR Blaster</b></p>
<ol>
<li><u>The</u> guide for setting up the PVR-150&#8217;s built-in IR blaster working is Mark&#8217;s guide from <a href="http://www.blushingpenguin.com/mark/blog/?p=24#comment-16212">BlushingPenguin</a>.  Follow them, and <a href="http://thecrane.wordpress.com/2008/03/17/mythtv-pvr-150-and-gutsy/">the tip I found for the Gutsy patch</a>, to get it so that your IR blaster is working.  Key things to remember:
<ul>
<li>Gutsy comes with it&#8217;s own copy of IVTV so you don&#8217;t need to download that.</li>
<li>Run with the pre-patched version of lirc as Mark directs</li>
<li>The firmware goes in <code>/lib/firmware</code></li>
<li>Sky Zenith boxes are code 482 in his master lircd.conf.  Specifically, your /etc/lirc/lircd.conf needs to have the following for the blaster to work:<br />
<code><br />
begin remote<br />
 name          blaster<br />
  bits          32<br />
  flags         RAW_CODES<br />
  eps           0<br />
  aeps          0<br />
  plead         0<br />
  gap           333333<br />
  repeat_bit    0<br />
  begin raw_codes<br />
    name 0<br />
    2179072000<br />
    name 1<br />
    2179072001<br />
    name 2<br />
    2179072002<br />
    name 3<br />
    2179072003<br />
    name 4<br />
    2179072004<br />
    name 5<br />
    2179072005<br />
    name 6<br />
    2179072006<br />
    name 7<br />
    2179072007<br />
    name 8<br />
    2179072008<br />
    name 9<br />
    2179072009<br />
    name POWER<br />
    2179072010<br />
    name CH_UP<br />
    2179072015<br />
    name CH_DOWN<br />
    2179072016<br />
    name CH_PREVIOUS<br />
    2179072019<br />
  end raw_codes<br />
end remote<br />
</code>
</li>
</ul>
</li>
<li>Make sure you have MythWeb installed.  Go to the Channel Editor in Mythweb and make sure you have a channel number beside each channel to make them appear in the guide and MythWeb
</li>
<li><b>Add a channel number to the freqid field too</b> &#8211; otherwise the IR blaster won&#8217;t work</li>
<li>Create the following <code>change-channel-lirc.pl</code> in the <code>/usr/local/bin</code> folder (chmod +x so it can run):<br />
<code><br />
#!/usr/bin/perl</code># make sure to set this string to<br />
# the corresponding remote in /etc/lircd.conf<br />
$remote_name = &#8220;blaster&#8221;;</p>
<p>sub change_channel {<br />
my($channel_digit) = @_;<br />
system (&#8220;irsend SEND_ONCE $remote_name $channel_digit&#8221;);<br />
sleep 1;<br />
}</p>
<p>$channel=$ARGV[0];<br />
sleep 1;<br />
if (length($channel) &gt; 2) {<br />
change_channel(substr($channel,0,1));<br />
change_channel(substr($channel,1,1));<br />
change_channel(substr($channel,2,1));<br />
} elsif (length($channel) &gt; 1) {<br />
change_channel(substr($channel,0,1));<br />
change_channel(substr($channel,1,1));<br />
} else {<br />
change_channel(substr($channel,0,1));<br />
}
</li>
<li>Run <code>mythtv-setup</code> and put <code>change_channel_lirc.pl</code> in the external change channel field on the input card.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thecrane.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thecrane.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thecrane.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thecrane.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thecrane.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thecrane.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thecrane.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thecrane.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thecrane.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thecrane.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thecrane.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thecrane.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=25&subd=thecrane&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thecrane.wordpress.com/2008/03/19/more-mythtv-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48edef87af815037185dd7359c3aadb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thecrane</media:title>
		</media:content>
	</item>
		<item>
		<title>MythTV, PVR 150 and Gutsy</title>
		<link>http://thecrane.wordpress.com/2008/03/17/mythtv-pvr-150-and-gutsy/</link>
		<comments>http://thecrane.wordpress.com/2008/03/17/mythtv-pvr-150-and-gutsy/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 08:28:51 +0000</pubDate>
		<dc:creator>thecrane</dc:creator>
				<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[PVR-150]]></category>
		<category><![CDATA[note to self pvr 150 mythtv]]></category>

		<guid isPermaLink="false">http://thecrane.wordpress.com/?p=24</guid>
		<description><![CDATA[After installing a fresh Gutsy (7.10) box, I found that I had no end of problems getting the IR blaster on my PVR-150 to work &#8211; despite the fantastic instructions and work by Mark from BlushingPenguin.com.  A number of problems presented themselves &#8211; including &#8220;hardware does not support sending&#8221; errors and a hard lock [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=24&subd=thecrane&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After installing a fresh Gutsy (7.10) box, I found that I had no end of problems getting the IR blaster on my PVR-150 to work &#8211; despite the fantastic instructions and work by <a href="http://www.blushingpenguin.com/mark/blog/?p=24#comment-16212">Mark from BlushingPenguin.com.</a>  A number of problems presented themselves &#8211; including &#8220;hardware does not support sending&#8221; errors and a hard lock when I changed /etc/lirc/hardware.conf to have MODULES=&#8221;lirc_pvr150&#8243; only, which you should have.</p>
<p>Finally, I stumbled across <a href="http://ubuntuforums.org/showthread.php?t=587732">these instructions from UbuntuForums.org:</a></p>
<blockquote><p>Add this deb line into Applications-&gt;System-&gt;Software Sources-&gt;Third Party Sources (or to your /etc/apt/sources.list).</p>
<p><code>deb     http://ppa.launchpad.net/superm1/ubuntu gutsy main restricted universe multiverse</code></p>
<p>Update your package lists and a new linux-ubuntu-modules should be available.</p></blockquote>
<p>Now it looks like I&#8217;m up and running!  Maybe&#8230;</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thecrane.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thecrane.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thecrane.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thecrane.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thecrane.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thecrane.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thecrane.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thecrane.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thecrane.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thecrane.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thecrane.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thecrane.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=24&subd=thecrane&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thecrane.wordpress.com/2008/03/17/mythtv-pvr-150-and-gutsy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48edef87af815037185dd7359c3aadb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thecrane</media:title>
		</media:content>
	</item>
		<item>
		<title>XBMCMythTV and MySQL</title>
		<link>http://thecrane.wordpress.com/2008/01/26/xbmcmythtv-and-mysql/</link>
		<comments>http://thecrane.wordpress.com/2008/01/26/xbmcmythtv-and-mysql/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 21:31:10 +0000</pubDate>
		<dc:creator>thecrane</dc:creator>
				<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Note to self mythtv]]></category>

		<guid isPermaLink="false">http://thecrane.wordpress.com/?p=18</guid>
		<description><![CDATA[Just got the xbmcmythtv python script (sort of) working on my modded xboxes.  However, I couldn&#8217;t get it to connect to my master MythTV server.  After a lot of gnashing of teeth and internet searching, there are basically three steps to get this working:

Make sure your MythTV master backend is set up for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=18&subd=thecrane&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just got the xbmcmythtv python script (sort of) working on my modded xboxes.  However, I couldn&#8217;t get it to connect to my master MythTV server.  After a lot of gnashing of teeth and internet searching, there are basically three steps to get this working:</p>
<ol>
<li>Make sure your MythTV master backend is set up for having remote hosts connecting to it.  This is primarily done by giving the backend its actual IP address, rather than localhost/127.0.0.1.</li>
<li>Make sure your MySQL server is set to receive remote connections as well.  Doing this changes with different versions, but in my case, it was a matter of  commenting out the bind_address line in my /etc/mysql/my.cnf.</li>
<li>Depending on the version, make sure that the username and passwords are using the OLD_PASSWORD command in MySQL:
<p><code>mysql -u root<br />
login as: james<br />
update user set password=old_password('mythtv') where host = '192.168.whatever.yours.is'; </code></li>
</ol>
<p>Now you should be able to connect.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thecrane.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thecrane.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thecrane.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thecrane.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thecrane.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thecrane.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thecrane.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thecrane.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thecrane.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thecrane.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thecrane.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thecrane.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=18&subd=thecrane&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thecrane.wordpress.com/2008/01/26/xbmcmythtv-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48edef87af815037185dd7359c3aadb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thecrane</media:title>
		</media:content>
	</item>
		<item>
		<title>MythWeb mobile in English</title>
		<link>http://thecrane.wordpress.com/2008/01/09/mythweb-mobile-in-english/</link>
		<comments>http://thecrane.wordpress.com/2008/01/09/mythweb-mobile-in-english/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 06:01:26 +0000</pubDate>
		<dc:creator>thecrane</dc:creator>
				<category><![CDATA[MythTV]]></category>
		<category><![CDATA[note to self mythweb]]></category>

		<guid isPermaLink="false">http://thecrane.wordpress.com/2008/01/09/mythweb-mobile-in-english/</guid>
		<description><![CDATA[For some reason MythWeb on a mobile device seems to be stuck in German.  I can&#8217;t find a way of changing it, so in the meantime if this happens you can comment out the three lines in translate.php that try and find out the language:
// Need to detect the language?
//    if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=13&subd=thecrane&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For some reason MythWeb on a mobile device seems to be stuck in German.  I can&#8217;t find a way of changing it, so in the meantime if this happens you can comment out the three lines in translate.php that try and find out the language:</p>
<p><code>// Need to detect the language?<br />
//    if (empty($_SESSION['language']))<br />
//        $_SESSION['language'] = get_browser_lang();<br />
//    if (empty($_SESSION['language']))<br />
  $_SESSION['language'] = 'English';</p>
<p></code></p>
<p>Therefore it will default to English.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/thecrane.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/thecrane.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thecrane.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thecrane.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thecrane.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thecrane.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thecrane.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thecrane.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thecrane.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thecrane.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thecrane.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thecrane.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thecrane.wordpress.com&blog=243281&post=13&subd=thecrane&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thecrane.wordpress.com/2008/01/09/mythweb-mobile-in-english/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48edef87af815037185dd7359c3aadb3?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thecrane</media:title>
		</media:content>
	</item>
	</channel>
</rss>