<?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>CornEmpire Software &#187; mythtv</title>
	<atom:link href="http://cornempire.net/tag/mythtv/feed/" rel="self" type="application/rss+xml" />
	<link>http://cornempire.net</link>
	<description>Tidbits about programming, web development, gaming and other random stuff.</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:57:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mythtv: Unable to access MythTV Perl API</title>
		<link>http://cornempire.net/2009/02/19/mythtv-unable-to-access-mythtv-perl-api/</link>
		<comments>http://cornempire.net/2009/02/19/mythtv-unable-to-access-mythtv-perl-api/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 14:01:29 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mythtv]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.cornempire.net/?p=104</guid>
		<description><![CDATA[In my last few attempts at configuring my mythtv installation (my most recent being today when I replaced the hard drive), I&#8217;ve gotten this error when I log into my box through SSH: MythTV status for localhost =========================== Status...........: Wed Feb 18 2009, 8:30 PM Total Disk Space.: Total space is 548,770 MB, with 158,049 [...]]]></description>
			<content:encoded><![CDATA[<p>In my last few attempts at configuring my mythtv installation (my most recent being today when I replaced the hard drive), I&#8217;ve gotten this error when I log into my box through SSH:<br />
<code><br />
MythTV status for localhost<br />
===========================<br />
Status...........: Wed Feb 18 2009, 8:30 PM<br />
Total Disk Space.: Total space is 548,770 MB, with 158,049 MB used (28.8%)<br />
Next Recording In: 2 Hours, 59 Minutes<br />
&nbsp;<br />
Encoders:<br />
mythbox (1) - Idle<br />
&nbsp;<br />
Scheduled Recordings:<br />
2009-02-18 23:30:00 - CSI: NY (WBZ)<br />
2009-02-19 00:30:00 - Stargate SG-1 (Space: The Imagination Station)<br />
2009-02-19 10:30:00 - Stargate SG-1 (Space: The Imagination Station)<br />
2009-02-19 12:30:00 - First Wave (Space: The Imagination Station)<br />
2009-02-19 19:30:00 - Coronation Street (CBNT CBC St. John's)<br />
2009-02-19 22:30:00 - CSI: Crime Scene Investigation (WBZ)<br />
&nbsp;<br />
Schedule Conflicts:<br />
Unable to access MythTV Perl API.  Try with --verbose to find out why.<br />
</code><br />
I get most of the status for the server, but I don&#8217;t get the read outs of the conflicts because of the error.</p>
<p>What happens (as far as I understand it) is that when the cronjob generates the motd, it runs as root, and root does not have a link to the mythtv config, so it can&#8217;t get the data from the database.  So, to get around this, we need to create a link in /root/.mythtv/ to the config.xml file for the server.  For me, this runs from my home directory /home/thomas/.mythtv/config.xml so:<br />
<code><br />
sudo ln -s /home/thomas/.mythtv/config.xml /root/config.xml<br />
</code></p>
<p>Once you make this change, the next time the cronjob runs it should populate the motd correctly.</p>
<p>Notes: I&#8217;m running this server on Ubuntu 8.04.02 64-bit.</p>
<p>You can find more information on this issue <a href="https://bugs.launchpad.net/mythbuntu/+bug/220604" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2009/02/19/mythtv-unable-to-access-mythtv-perl-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
