<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mythtv on dteirney.me</title>
    <link>https://dteirney.me/tags/mythtv/</link>
    <description>Recent content in Mythtv on dteirney.me</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 04 Jan 2011 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://dteirney.me/tags/mythtv/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The Final Frontier for XBMC Media Center in 2011 - PVR Support</title>
      <link>https://dteirney.me/post/2011-01-04-the-final-frontier-for-xbmc-media-center-in-2011---pvr-support/</link>
      <pubDate>Tue, 04 Jan 2011 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2011-01-04-the-final-frontier-for-xbmc-media-center-in-2011---pvr-support/</guid>
      <description>&lt;p&gt;XBMC Media Center is intended to be the one stop stop for accessing media within the home. It includes out-of-the-box support for all the typical things found in a home where media consumption has moved on from turning on the telly and blindly channel surfing, e.g. playing DVDs, backups of DVDs, Movies, TV Shows, general Videos, showing Pictures and of course playing Music.&lt;/p&gt;&#xA;&lt;p&gt;2011 will be the start of the &amp;ldquo;final frontier&amp;rdquo; for XBMC Media Center as it also starts to support integration with PVR backends such as VDR, TV Headend, MediaPortal and MythTV. This new area of media consumption will require some careful consideration in the user interface to help ensure that some of the seemingly unnecessary complexities of some off-the-shelf PVR solutions are neatly hidden from Joe Average user but still available to Joe Techie user. PVR support in XBMC Media Center will be one of my personal projects for 2011, focussing mainly on the MythTV add-on for XBMC and helping to ensure that the PVR support in XBMC is useful and user friendly.&lt;/p&gt;</description>
    </item>
    <item>
      <title>New Zealand Freeview|HD running on XBMC from Myth TV</title>
      <link>https://dteirney.me/post/2009-06-08-new-zealand-freeviewhd-running-on-xbmc-from-myth-tv/</link>
      <pubDate>Mon, 08 Jun 2009 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2009-06-08-new-zealand-freeviewhd-running-on-xbmc-from-myth-tv/</guid>
      <description>&lt;p&gt;&lt;strong&gt;UPDATE (20-Aug-2009):&lt;/strong&gt; The bulk of the patch has now been committed to XBMC in &lt;a href=&#34;http://xbmc.org/trac/changeset/22285&#34;&gt;revision 22285&lt;/a&gt;. A few extra goodies added to the patch now. Might cause some conflicts once these are committed, but that might not be for a week or more. &lt;strong&gt;UPDATE (18-Aug-2009):&lt;/strong&gt; A recent update of ffmpeg in XBMC (&lt;a href=&#34;http://xbmc.org/trac/changeset/21993&#34;&gt;revision 21993&lt;/a&gt; on 04-Aug-2009) meant that the original patch and instructions no longer worked. The instructions below have been updated and a new patch released. Much of the original patch is now directly in XBMC Media Center due to the ffmpeg update so it is much smaller. I maintain the &lt;a href=&#34;http://xbmc.org/wiki/?title=MythTV&#34;&gt;Myth TV page in the XBMC wiki&lt;/a&gt;. Some people in New Zealand have contacted me to get instructions on what needs to be done to get recorded &lt;a href=&#34;http://www.freeviewnz.tv/all_about_freeview/page/freeviewhd_and_myfreeviewhd&#34;&gt;Freeview|HD&lt;/a&gt; content playing in &lt;a href=&#34;http://xbmc.org/&#34;&gt;XBMC&lt;/a&gt; from a &lt;a href=&#34;http://www.mythtv.org/&#34;&gt;Myth TV&lt;/a&gt; backend. Well, here those instructions are. Luckily there isn&amp;rsquo;t as much voodoo magic as there used to be. There will be even less voodoo once some of my other patches make it into XBMC proper, and Paul Kendall&amp;rsquo;s patches for &lt;a href=&#34;http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/070347.html&#34;&gt;LATM encapsulated AAC decoding&lt;/a&gt; finally wiggle their way into &lt;a href=&#34;http://ffmpeg.org/&#34;&gt;ffmpeg&lt;/a&gt;. These instructions assume:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fix for XBMC MythTV script database connection failure after MythTV upgrade on (K)Ubuntu</title>
      <link>https://dteirney.me/post/2007-11-24-fix-for-xbmc-mythtv-script-database-connection-failure-after-mythtv-upgrade-on-kubuntu/</link>
      <pubDate>Sat, 24 Nov 2007 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2007-11-24-fix-for-xbmc-mythtv-script-database-connection-failure-after-mythtv-upgrade-on-kubuntu/</guid>
      <description>&lt;p&gt;I don&amp;rsquo;t understand why the password for the &lt;code&gt;mythtv&lt;/code&gt; MySQL database user is reset whenever the MythTV package is updated in Ubuntu (and it&amp;rsquo;s derivatives like Kubuntu). When this happens the Xbox Media Center (XBMC) fails to connect to the database. It&amp;rsquo;s somehow related to the password authentication mechanism that the MySQL libraries use on the XBox within XBMC. Here are the instructions from one of my older posts to get the XBMC MythTV script to be able to connect to the MythTV database again. These steps are performed on the MythTV server.&lt;/p&gt;</description>
    </item>
    <item>
      <title>MythTV server now starts up and shuts down automatically</title>
      <link>https://dteirney.me/post/2007-06-08-mythtv-server-now-starts-up-and-shuts-down-automatically/</link>
      <pubDate>Fri, 08 Jun 2007 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2007-06-08-mythtv-server-now-starts-up-and-shuts-down-automatically/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve spent the last few nights playing with the wonderful world of Linux Advanced Configuration and Power Interface (ACPI) so that the MythTV server will now automatically start up to record a scheduled TV show, and automatically shut down afterwards if there are no logged in users. This is pretty cool because it means I won&amp;rsquo;t miss recording any more of the Americas Cup Highlights because I didn&amp;rsquo;t get out of bed early enough to turn on the server. It was a pretty arduous task with a number of steps based on content from a number of different web-sites to get things to work. After all the research though it&amp;rsquo;s not actually that complicated to setup. At a high level the following was done (subsequent blog posts will cover off some of the more tricky bits in more detail):&lt;/p&gt;</description>
    </item>
    <item>
      <title>Updated EPG instructions for MythTV in New Zealand</title>
      <link>https://dteirney.me/post/2007-06-08-updated-epg-instructions-for-mythtv-in-new-zealand/</link>
      <pubDate>Fri, 08 Jun 2007 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2007-06-08-updated-epg-instructions-for-mythtv-in-new-zealand/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been learning a bit more about Linux over the last few weeks and updated my electronic program guide (EPG) configuration to better reflect &amp;ldquo;standard&amp;rdquo; file location usage. The changes work better for my backup strategy as well as I do not backup any directory that starts with a dot.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The location of the EPG script has changed. The EPG related scripts are now in the &lt;code&gt;/home/mythtv/epg&lt;/code&gt; directory. Within that directory are two further directories. One for the old &lt;code&gt;xmlTVNZ&lt;/code&gt; EPG configuration and the other for the new &lt;code&gt;nice&lt;/code&gt; EPG configuration.&lt;/li&gt;&#xA;&lt;li&gt;The name of the EPG script has been changed. It is now simply called &lt;code&gt;nice.sh&lt;/code&gt; and lives in the &lt;code&gt;/home/mythtv/epg&lt;/code&gt; directory.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;nice.sh&lt;/code&gt; script has been modified to log to the &lt;code&gt;/var/log/mythtv&lt;/code&gt; directory: &lt;code&gt;cd /home/mythtv/epg/nice wget http://nice.net.nz/epg/listings.xml.gz gunzip -f listings.xml.gz rm /var/log/mythtv/mythfilldatabase.log mythfilldatabase --no-delete --file 1 -1 listings.xml --update &amp;gt; /var/log/mythtv/mythfilldatabase.log&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Setting up an EPG for MythTV in New Zealand</title>
      <link>https://dteirney.me/post/2007-05-14-setting-up-an-epg-for-mythtv-in-new-zealand/</link>
      <pubDate>Mon, 14 May 2007 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2007-05-14-setting-up-an-epg-for-mythtv-in-new-zealand/</guid>
      <description>&lt;p&gt;One of the most important things to get right for your MythTV installation is the Electronic Program Guide (EPG). The EPG lets MythTV know when all of the programs are on so it know when to record your favourite show like &amp;ldquo;The Best of Top Gear&amp;rdquo;. I&amp;rsquo;ve been using &lt;a href=&#34;http://www.reven.co.nz/&#34;&gt;xmlTVNZ&lt;/a&gt; for some months now reasonably successfully. xmlTVNZ is a command line tool that scrapes various web-sites for the TV listings. The specific web-sites that are scraped depend on the command line parameters passed to it, which depend on which channels you are interested in getting EPG data for. Because of it&amp;rsquo;s scraping nature, it&amp;rsquo;s prone to falling over when a web-site that it scrapes changes. I think that problem may of occurred last night because all of the TV3 listings going forward disappeared. I managed to eventually get it working again by modifying the command line parameters to scrape TV3 off the Sky web-site instead of XTRA (which now appears to be Yahoo!). I&amp;rsquo;ve also belonged to the &lt;a href=&#34;http://lists.ourshack.com/mailman/listinfo/mythtvnz&#34;&gt;Myth TV in NZ&lt;/a&gt; mailing list for some months and recently there was talk of some other common EPG methods. At the time I didn&amp;rsquo;t look into it because xmlTVNZ had been working fine. Given the recent problems though I looked into both the &amp;ldquo;Hairy&amp;rdquo; and &amp;ldquo;Nice&amp;rdquo; EPG listing methods. The &amp;ldquo;Hairy&amp;rdquo; EPG is located at &lt;a href=&#34;http://hairy.geek.nz/epg/&#34;&gt;http://hairy.geek.nz/epg/&lt;/a&gt; but when I looked last night there was some other strange directory listing there. The &amp;ldquo;Nice&amp;rdquo; EPG is located at &lt;a href=&#34;http://nice.net.nz/epg/&#34;&gt;http://nice.net.nz/epg/&lt;/a&gt; and was all up when I looked last night. Both the Hairy and Nice EPG&amp;rsquo;s are based of the DVB program guide broadcast by Sky. The Nice one appears to have at least better information than obtained by xmlTVNZ because after updating there was lots of information updated after running &lt;code&gt;mythfilldatabase&lt;/code&gt; for the same number of days. Below is a set of instructions for getting the Nice EPG running within MythTV. This just covers the analog stations that I am recording since I don&amp;rsquo;t have a satellite dish installed but should work for any set of stations that you are tuning.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Getting XBMC MythTV to work with Kubuntu Feisty Fawn (7.04)</title>
      <link>https://dteirney.me/post/2007-04-30-getting-xbmc-mythtv-to-work-with-kubuntu-feisty-fawn-704/</link>
      <pubDate>Mon, 30 Apr 2007 00:00:00 +0000</pubDate>
      <guid>https://dteirney.me/post/2007-04-30-getting-xbmc-mythtv-to-work-with-kubuntu-feisty-fawn-704/</guid>
      <description>&lt;p&gt;After upgrading to Feisty Fawn (7.04) of Kubuntu I thought I had made all the necessary changes for my XBMC (XBox Media Center) MythTV frontend to talk to the Kubuntu server running the MythTV backend. Part of the Kubuntu upgrade altered the &lt;code&gt;/etc/mysql/my.cnf&lt;/code&gt; configuration file for MySQL. This alteration required me to change the &lt;code&gt;bind-address&lt;/code&gt; from &lt;code&gt;localhost&lt;/code&gt; to the static IP addess of the server. I thought that this change would be sufficient but it turns out that it wasn&amp;rsquo;t. The MythTV frontend on my XBox failed to connect to the MySQL database on the MythTV backend for completely non-obvious reasons. If the error output in the MythTV frontend was better I probably would of identified the problem much more quickly. After some hours of looking closely at the MySQL configuration changes and various other network related settings in Kubuntu it looked like it might have something to do with the MySQL password handling. The old &lt;code&gt;/etc/mysql/my.cnf&lt;/code&gt; had a &lt;code&gt;old_passwords = 1&lt;/code&gt; setting in it. The new configuration file did not. In addition, within the newly added configuration import directory &lt;code&gt;/etc/mysql/conf.d&lt;/code&gt; there was an &lt;code&gt;old_passwords.cnf&lt;/code&gt; file that explicitely set &lt;code&gt;old_passwords = false&lt;/code&gt;. This gave me enough clues to see if the MythTV front end for the XBMC was in fact using the old password authentication mechanism (no longer supported by the server with this configuration). I found plenty of references to versions of PHP needing to use the old password authentication mechanism for MySQL and wondered if there was a similar issue with Python (the language used for the MythTV frontend on the XBMC). That information was enough to convince me to try and find out how to configure the server to continue to use the old password mechanism to see if that changed anything. Based on instructions in the MySQL reference documentation at &lt;a href=&#34;http://dev.mysql.com/doc/refman/4.1/en/old-client.html&#34;&gt;Client does not support authentication protocol&lt;/a&gt; I first tried to get the MySQL daemon &lt;code&gt;mysqld&lt;/code&gt; to start with the &lt;code&gt;--old-passwords&lt;/code&gt; parameter so it worked like it would have prior to the upgrade. I couldn&amp;rsquo;t get this to work (the MySQL documentation is a bit sparse on how to set some of the configuration options) so I tried to set the password for the &lt;code&gt;mythtv&lt;/code&gt; user using the &lt;code&gt;OLD_PASSWORD()&lt;/code&gt; function instead of the &lt;code&gt;PASSWORD()&lt;/code&gt; function. By a stroke of luck that actually worked. That&amp;rsquo;s where I&amp;rsquo;m leaving it too.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
