<?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>mikestirling.co.uk &#187; Linux</title>
	<atom:link href="http://mikestirling.co.uk/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikestirling.co.uk</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 21:24:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MythTV and the Freeview Retune</title>
		<link>http://mikestirling.co.uk/2009/09/mythtv-and-the-freeview-retune/</link>
		<comments>http://mikestirling.co.uk/2009/09/mythtv-and-the-freeview-retune/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 20:45:32 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Home Stuff]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://mikestirling.co.uk/?p=20</guid>
		<description><![CDATA[Spent a couple of hours trying to get MythTV back up and running tonight after the Freeview retune.  A simple &#8220;Minimal changes&#8221; retune left a number of channels with broken duplicates and several more in a state that seemed to be able to crash the front-end.  After determining that deleting all channels and starting again [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Spent a couple of hours trying to get MythTV back up and running tonight after the Freeview retune.  A simple &#8220;Minimal changes&#8221; retune left a number of channels with broken duplicates and several more in a state that seemed to be able to crash the front-end.  After determining that deleting all channels and starting again was going to a) be easier, and b) not trash all the recording schedules, I decided to go down that route.  This was more promising, but many of the channels now had junk LCNs (channel number), and the EPG was completely screwed up.  It seems that there is cached channel data left in the database which gets in the way when mythtv-setup rebuilds the line-up.  The following worked for me (this is on the 0.21 packages in Ubuntu 8.04.3; 0.22 might not be an issue):</p>
<ul style="text-align: justify;">
<li>Run mythtv-setup</li>
<li>Go to the Channel Editor</li>
<li>Delete all channels (only on DVB-T/Freeview if you use e.g. Freesat as well)</li>
<li>Quit mythtv-setup, ignoring any warnings about cards starting on non-existent channels</li>
<li>Run mythfilldatabase</li>
<li>Run mythtv-setup again</li>
<li>Go to Channel Editor</li>
<li>Do a full rescan using your preferred method (I imported channels.conf from an earlier run of <em>scan</em>)</li>
<li>Quit mythtv-setup</li>
<li>Run mythfilldatabase once more</li>
</ul>
<p style="text-align: justify;">Now the channel line-up was back to normal and the EPG filled in correctly, but there were a couple of recording schedules on E4 that had jumped to E4+1.  This was easily fixed with a SQL one-liner (back up the database first!):</p>
<p style="padding-left: 30px; text-align: justify;">UPDATE record SET chanid=&#8221;2028&#8243; WHERE chanid=&#8221;2029&#8243;;</p>
<p style="padding-left: 30px; text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://mikestirling.co.uk/2009/09/mythtv-and-the-freeview-retune/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
