<?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>Christoffer Kjølbæk &#187; MythTV</title>
	<atom:link href="http://ostehamster.dk/blog/index.php/tag/mythtv/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostehamster.dk/blog</link>
	<description>I have a blog, therefore I am…</description>
	<lastBuildDate>Sun, 18 Jul 2010 12:16:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mythfilldatabase not supporting tv_grab_dk???</title>
		<link>http://ostehamster.dk/blog/index.php/2007/01/28/mythfilldatabase-not-supporting-tv_grab_dk/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/01/28/mythfilldatabase-not-supporting-tv_grab_dk/#comments</comments>
		<pubDate>Sun, 28 Jan 2007 21:50:04 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythTV]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=14</guid>
		<description><![CDATA[After re-installing mythtv on Ubuntu Dapper (link), mythfilldatabase gives this error:
Grabbing XMLTV data using tv_grab_dk is not supported. You may need to upgrade to the latest version of XMLTV.
Therefore I made this little script, and placed it in /etc/cron.daily
#!/bin/sh
DATAFILE=/tmp/data.$$
tv_grab_dk --config-file /home/mythtv/.mythtv/TDC.xmltv > $DATAFILE
mythfilldatabase --file 2 -1 $DATAFILE
mythbackend --resched 
]]></description>
			<content:encoded><![CDATA[<p>After re-installing mythtv on Ubuntu Dapper (<a href="http://ostehamster.dk/wordpress/?p=13">link</a>), mythfilldatabase gives this error:</p>
<pre><code>Grabbing XMLTV data using tv_grab_dk is not supported. You may need to upgrade to the latest version of XMLTV.</code></pre>
<p>Therefore I made this little script, and placed it in /etc/cron.daily</p>
<pre><code>#!/bin/sh
DATAFILE=/tmp/data.$$
tv_grab_dk --config-file /home/mythtv/.mythtv/TDC.xmltv > $DATAFILE
mythfilldatabase --file 2 -1 $DATAFILE
mythbackend --resched </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/01/28/mythfilldatabase-not-supporting-tv_grab_dk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dapper &amp; MythTV on VIA Epia M10000</title>
		<link>http://ostehamster.dk/blog/index.php/2007/01/27/dapper-mythtv-on-via-epia-m10000/</link>
		<comments>http://ostehamster.dk/blog/index.php/2007/01/27/dapper-mythtv-on-via-epia-m10000/#comments</comments>
		<pubDate>Sat, 27 Jan 2007 21:22:24 +0000</pubDate>
		<dc:creator>Christoffer Kjølbæk</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ostehamster.dk/wordpress/?p=13</guid>
		<description><![CDATA[Installation
The installation of Ubuntu Dapper is fairly easy, insert the CD, boot and follow the instructions.
When the installation is done, boot up the system and log in. The first thing I do, is to install a SSH server
sudo apt-get install ssh
After this I make GDM log my mythtv user automatically:
System -> Administration -> Login-screen
then chose [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Installation</strong></p>
<p>The installation of Ubuntu Dapper is fairly easy, insert the CD, boot and follow the instructions.</p>
<p>When the installation is done, boot up the system and log in. The first thing I do, is to install a SSH server</p>
<pre><code>sudo apt-get install ssh</code></pre>
<p>After this I make GDM log my mythtv user automatically:</p>
<p>System -> Administration -> Login-screen</p>
<p>then chose Security and inter an user in the first field.</p>
<p><strong>Update / Upgrade</strong></p>
<p>I always use the Ubuntuguide, and therefore also the extrea repositories. Do like described here: <a href="http://ubuntuguide.org/wiki/Dapper#Repositories">http://ubuntuguide.org/wiki/Dapper#Repositories</a></p>
<p>Now upgrade the system</p>
<pre><code>sudo apt-get update
sudo apt-get upgrade</code></pre>
<p>After something that fells like a day, the upgrade is done, and you can restart the computer.</p>
<p><strong>Xorg for a PAL television</strong></p>
<pre><code>sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
wget http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt
sudo mv xorg.conf.txt /etc/X11/xorg.conf</code></pre>
<p>I have used this pages, <a href="http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html">http://www.kingcot.eclipse.co.uk/unichrome/unichromeTvOut.html</a>, as a reference, because I have absolutely no idear have Xorg works :) The config file i used, was the first one (<a href="http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt">http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt</a>)</p>
<p>And on my television the images is bigger than the screen, so mythtv, mplayer and Xine has to scale the output to fit!</p>
<p><span style="font-weight: bold; text-decoration: line-through">CPU Temperature monitoring asdaasd</span></p>
<p>Start by installing lm sensors</p>
<pre><code>sudo apt-get install lm-sensors</code></pre>
<p>For some reason, some files in the /dev directory won't be created automaticly, I have no idea why. But there is a script called mkdev.sh, this is the code:</p>
<pre><code>#!/bin/bash

# Here you can set several defaults.

# The number of devices to create (max: 256)
NUMBER=32

# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600

# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
exit;
fi
fi

i=0;

while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m $MODE /dev/i2c-$i c 89 $i || exit
chown "$OUSER:$OGROUP" /dev/i2c-$i || exit
i=$[$i + 1]
done
#end of file</code></pre>
<p>Insert this code into mkdev.sh, and do this</p>
<pre><code>chmod 755 mkdev.sh
sudo ./mkdev.sh</code></pre>
<p>Now run</p>
<pre><code>sudo sensors-detect</code></pre>
<p>and say yes when it ask, to save changes to /etc/modules</p>
<p>To test this run</p>
<pre><code>sudo modprobe i2c-viapro i2c-isa vt1211 eeprom
sensors</code></pre>
<p>This should give something like</p>
<pre><code>vt1211-isa-6000
Adapter: ISA adapter
VCore1:    +1.39 V  (min =  -0.03 V, max =  +2.63 V)
+5V:       +5.03 V  (min =  -0.08 V, max =  +6.74 V)
+12V:     +12.28 V  (min =  -0.18 V, max = +15.47 V)
+3.3V:     +3.32 V  (min =  -0.05 V, max =  +4.18 V)
System:      0 RPM  (min =    0 RPM, div = 2)
CPU:         0 RPM  (min =    0 RPM, div = 2)
CPU:       +56.8°C  (high =  +196°C, hyst =   -67°C)
vid:      +0.000 V  (VRM Version 0.0)</code></pre>
<p>Unfortunally, this don't work for me anymore, after the vt1211 module is added to the kernel. <a href="http://hem.bredband.net/ekmlar/vt1211.html">http://hem.bredband.net/ekmlar/vt1211.html</a></p>
<p><strong>Mediaplayers and codecs</strong></p>
<p>I use mplayer and xine the most of the time, and again I use ubuntuguide<br />
<a href="http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs"> http://ubuntuguide.org/wiki/Dapper#How_to_install_Multimedia_Codecs</a></p>
<p>I use the first to steps to install codecs and DVD support. Then I install xine and mplayer, furthermore I need VLC in order to use streamtv.dk.</p>
<pre><code>sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse w32codecs
sudo apt-get install libdvdread3
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
sudo apt-get install totem-xine
sudo apt-get install xine-ui libxine-extracodecs
sudo apt-get install vlc
sudo apt-get install mplayer</code></pre>
<p>Remember to enable lirc support in VLC</p>
<p><strong>Xine and XXMC</strong></p>
<p>To make Xine use the MPEG2 decoder on the moterboard, use this option</p>
<pre><code>xine -V xxmc</code></pre>
<p>Or enable it in the ~/.xine/config file. With this option, I can see DVD using only 5% of the CPU</p>
<p><strong>Haupaung PVR-250 IVTV Driver</strong></p>
<p>On the official Ubuntu homepage, there is an excellent guide for installing IVTV:</p>
<p><a href="https://help.ubuntu.com/community/Install_IVTV_Dapper">https://help.ubuntu.com/community/Install_IVTV_Dapper</a></p>
<p>But start installing build-essential</p>
<pre><code>sudo apt-get install build-essential</code></pre>
<p><strong>LIRC</strong></p>
<p><a href="http://www.mythtv.org/wiki/index.php/Lirc_on_Ubuntu_Dapper">http://www.mythtv.org/wiki/index.php/Lirc_on_Ubuntu_Dapper</a></p>
<p>Use the lirc_i2c module</p>
<p><strong>Apache, MySQL</strong></p>
<p>In order to make mythtv run, MySQL is required. I also use MythWeb on apache, and some other apache stuff</p>
<pre><code>sudo apt-get install apache2 php5 php5-gd mysql-server php5-mysql php5-mysqli
sudo apt-get install libapache2-svn libapache-mod-dav wordpress </code></pre>
<p>To change mysql password for root:</p>
<pre><code>mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD('new-password') WHERE user='root';
mysql> FLUSH PRIVILEGES;</code></pre>
<p><strong>MythTV</strong></p>
<p><a href="http://www.mythtv.org/wiki/index.php/Ubuntu_Edgy_Installation">http://www.mythtv.org/wiki/index.php/Ubuntu_Edgy_Installation</a></p>
<p>Start by installing SVN and checkout the latest source from the SVN server</p>
<pre><code>sudo apt-get install subversion
svn co http://svn.mythtv.org/svn/trunk/mythtv svn co http://svn.mythtv.org/svn/trunk/mythplugins svn co http://svn.mythtv.org/svn/trunk/myththemes</code></pre>
<p>Now install all the dependencies</p>
<pre>sudo apt-get build-dep mythtv
sudo apt-get install libqt3-mt-mysql</pre>
<p>This will install support for the MPEG decoder and some header files, in order to compile MythTV</p>
<pre><code>sudo apt-get install libxvmc1 libxvmc-dev
sudo ln -s /usr/lib/libviaXvMC.so.1 /usr/lib/libviaXvMC.so.1.0</code></pre>
<p>Start by running configure</p>
<pre><code>cd ~/mythtv
./configure --prefix=/usr --disable-joystick-menu --disable-firewire --disable-dbox2 --disable-hdhomerun --enable-xvmc</code></pre>
<p>--enable-xvmc is the important here, because it makes it possible to use the MPEG decoder at the Via Epia board. The output from ./configure should look like this:</p>
<pre><code># Video Output Support 	...
XvMC support     yes
XvMC VLD support yes
XvMC pro support no
XvMC libs        -lXvMCW</code></pre>
<p>The rest I have disabled, is just stuff I don't have.</p>
<pre><code>qmake mythtv.pro
make
sudo make install</code></pre>
<p><strong>MythPlugins</strong></p>
<p>Use ./configure --help to figure out which plugins is available, I use this configuration</p>
<pre><code>cd ../mythplugins
sudo apt-get install libmad0-dev libflac-dev libcdaudio-dev libid3tag0-dev libcdparanoia0-dev
./configure --prefix=/usr/ --disable-mythphone --disable-mythgame --disable-mythflix --disable-mythbrowser
qmake mythplugins.pro
make
sudo make install</code></pre>
<p>Copy mythweb to the webserver directory</p>
<pre><code>sudo cp mythweb/ /var/www/ -R MythThemes
cd ../myththemes
./configure --prefix=/usr
qmake myththemes.pro
sudo make install</code></pre>
<p><strong>MythThemes</strong></p>
<pre><code>cd ../myththemes
./configure --prefix=/usr
qmake myththemes.pro
sudo make install </code></pre>
]]></content:encoded>
			<wfw:commentRss>http://ostehamster.dk/blog/index.php/2007/01/27/dapper-mythtv-on-via-epia-m10000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
