<?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>Danny Tsang &#187; MythTV</title> <atom:link href="http://www.dannytsang.co.uk/index.php/tag/mythtv/feed/" rel="self" type="application/rss+xml" /><link>http://www.dannytsang.co.uk</link> <description>Eats and spits code by day</description> <lastBuildDate>Mon, 06 Feb 2012 00:01:00 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Migration Plan From Ubuntu 10.04 LTS To 12.04 LTS</title><link>http://www.dannytsang.co.uk/index.php/migration-plan-from-ubuntu-10-04-lts-to-12-04-lts/</link> <comments>http://www.dannytsang.co.uk/index.php/migration-plan-from-ubuntu-10-04-lts-to-12-04-lts/#comments</comments> <pubDate>Wed, 28 Dec 2011 00:01:30 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[AMD]]></category> <category><![CDATA[CPU]]></category> <category><![CDATA[DVR]]></category> <category><![CDATA[FreePBX]]></category> <category><![CDATA[GHz]]></category> <category><![CDATA[LTS]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[pbx]]></category> <category><![CDATA[playstation 3]]></category> <category><![CDATA[RAM]]></category> <category><![CDATA[SATA]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[UPNP]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=4207</guid> <description><![CDATA[Overview I&#8217;m preparing myself to move from 10.04 to 12.04. With 12.04 as the next Long Term Release (LTS) coming in the next release I thought it was time to prepare for the inevitable move from old to new. Setup &#8230; <a
href="http://www.dannytsang.co.uk/index.php/migration-plan-from-ubuntu-10-04-lts-to-12-04-lts/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/downtime/' rel='bookmark' title='Downtime'>Downtime</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/replace-devsda-with-uuid/' rel='bookmark' title='Replace /dev/xxx With UUID'>Replace /dev/xxx With UUID</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/' rel='bookmark' title='FreePBX Symlink From Modules Failed'>FreePBX Symlink From Modules Failed</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I&#8217;m preparing myself to move from 10.04 to 12.04. With 12.04 as the next Long Term Release (<a
href="http://www.dannytsang.co.uk/index.php/tag/lts/" class="st_tag internal_tag" rel="tag" title="Posts tagged with LTS">LTS</a>) coming in the next release I thought it was time to prepare for the inevitable move from old to new.</p><h3>Setup</h3><p>LTS from Canonical has support for 3 years for the desktop but it has been increased to 5 years for 12.04 code named Precise Pangolin. My <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> headed <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> currently does a lot and I like to treat it as a production system which cannot go down for long periods of time. The following services are being used:</p><ul><li><a
href="http://www.dannytsang.co.uk/index.php/tag/freepbx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with FreePBX">FreePBX</a> &#8211; PBX system which manages the phones in the house</li><li>Energy@Home &#8211; Logs power usage at home</li><li><a
href="http://www.dannytsang.co.uk/index.php/tag/upnp/" class="st_tag internal_tag" rel="tag" title="Posts tagged with UPNP">uPNP</a> &#8211; Allows streaming of media to the T.v / <a
href="http://www.dannytsang.co.uk/index.php/tag/playstation-3/" class="st_tag internal_tag" rel="tag" title="Posts tagged with playstation 3">Playstation 3</a></li><li>Ampache &#8211; Music streaming service</li><li>MythTv &#8211; DVR for digital and analogue T.V</li></ul><p>Most noticeably the most important one is FreePBX. The rest are good to have but will only cause inconvenience if it was not running. To complicate things slightly the system is currently using LVM. I have never migrated an LVM before.</p><h3>Hardware</h3><p>The <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a> was originally built in 2004 with some minor upgrades including CPU, <a
href="http://www.dannytsang.co.uk/index.php/tag/ram/" class="st_tag internal_tag" rel="tag" title="Posts tagged with RAM">RAM</a> and <a
href="http://www.dannytsang.co.uk/index.php/tag/hdd/" class="st_tag internal_tag" rel="tag" title="Posts tagged with HDD">HDD</a> but it&#8217;s starting to show it&#8217;s age. The hardware was bought as a budget secondary desktop <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a> but has since resided to a headless 24&#215;7 server. Now it has so many services and software running that the load average is constantly above 5 on a AMD Athlon 64 4000+ (1&#215;2.4<a
href="http://www.dannytsang.co.uk/index.php/tag/ghz/" class="st_tag internal_tag" rel="tag" title="Posts tagged with GHz">GHz</a> stock) with 2GB RAM. The system has a 500 watt PSU but consumes around 130 W.</p><p>I think it&#8217;s time it received some TLC and a well deserved upgrade and it would be perfect if I could time it with the next LTS. Some of the features I&#8217;ll be looking for are:</p><ul><li>Gigabit Ethernet (hopefully 2 if possible)</li><li>More than 4 SATA ports</li><li>At least dual core CPU</li><li>Water cooled CPU</li></ul><h3>Check List</h3><p>List of things to do before upgrading:</p><ol><li>Backup user files &#8211; Music, pictures, etc</li><li>Backup settings &#8211; FreePBX, Gnome(possibly), fstab, apache conf, &#8230;</li><li>Backup website files</li><li>Backup Database</li></ol><h3>Test Backup</h3><p>It&#8217;s always important to test the backup to ensure they actually work! Files and databases are easy. They can be restored into a different database and files can be copied to a different computer or different location as long there is enough space.</p><h3>Summary</h3><p>I probably won&#8217;t migrate on the day of release but I may test the backup plan around that time to make sure everything works. Once that&#8217;s done, Setup a VM and try installing and restore some of the backed up data and see if it works.</p><p><a
href="http://arstechnica.com/open-source/news/2011/10/ubuntu-1204-lts-to-get-extra-long-desktop-support-cycle.ars" target="_blank">Ubuntu 12.04 LTS to get extra-long desktop support cycle</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/downtime/' rel='bookmark' title='Downtime'>Downtime</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/replace-devsda-with-uuid/' rel='bookmark' title='Replace /dev/xxx With UUID'>Replace /dev/xxx With UUID</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/' rel='bookmark' title='FreePBX Symlink From Modules Failed'>FreePBX Symlink From Modules Failed</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/migration-plan-from-ubuntu-10-04-lts-to-12-04-lts/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>MediaTomb DLNA To Playstation 3</title><link>http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/</link> <comments>http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/#comments</comments> <pubDate>Mon, 08 Feb 2010 00:01:19 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[divx]]></category> <category><![CDATA[DLNA]]></category> <category><![CDATA[MediaTomb]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[myth]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[Playstation]]></category> <category><![CDATA[Sony]]></category> <category><![CDATA[sony playstation]]></category> <category><![CDATA[sony playstation 3]]></category> <category><![CDATA[SQLite]]></category> <category><![CDATA[UPNP]]></category> <category><![CDATA[upnp server]]></category> <category><![CDATA[XML]]></category> <category><![CDATA[XviD]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2566</guid> <description><![CDATA[Overview I found the Video plugin for MythTV 0.21 to be inadequate for streaming to the Sony Playstation 3. It didn&#8217;t update fast enough when you dropped a video into the UPnP directory and also there was no external way &#8230; <a
href="http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/full-disk-mediatomb-hog/' rel='bookmark' title='Full Disk &#8211; MediaTomb Hog'>Full Disk &#8211; MediaTomb Hog</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-music-streaming-server-ampache/' rel='bookmark' title='Ubuntu Music Streaming Server &#8211; Ampache'>Ubuntu Music Streaming Server &#8211; Ampache</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/all-things-digital-interview/' rel='bookmark' title='All Things Digital Interview'>All Things Digital Interview</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I found the Video plugin for MythTV 0.21 to be inadequate for streaming to the <a
href="http://www.dannytsang.co.uk/index.php/tag/sony-playstation-3/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sony playstation 3">Sony Playstation 3</a>. It didn&#8217;t update fast enough when you dropped a video into the UPnP directory and also there was no external way of telling it to refresh it&#8217;s list of files without starting up Myth Frontend.</p><h3>MediaTomb</h3><p>MediaTomb is a UPnP server which can run as a standalone or as a daemon. It uses an <a
href="http://www.dannytsang.co.uk/index.php/tag/xml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">XML</a> configuration file for it&#8217;s settings (pretty neat stuff) and is pretty small in size. The software comes with it&#8217;s own <a
href="http://www.dannytsang.co.uk/index.php/tag/web/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Web">web</a> server so you don&#8217;t have to install a full <a
href="http://www.dannytsang.co.uk/index.php/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache">apache</a> install to get to the control panel and it uses <a
href="http://www.dannytsang.co.uk/index.php/tag/sqlite/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SQLite">SQLite</a> by default so no big database backend to be installed.</p><h3>Install &#038; Configure MediaTomb</h3><p>Install MediaTomb and ffmeg thumbnailer<br
/> <code>sudo apt-get install mediatomb ffmpegthumbnailer</code><br
/> That&#8217;s it for the install!</p><p>edit the file config file in <strong>/etc/mediatomb/config.xml</strong> and change the following settings:</p><p>Enable PS3 support change this:</p><blockquote><p>&lt;protocolInfo extend=&#8221;no&#8221;/&gt;&lt;!&#8211; For PS3 support change to &#8220;yes&#8221; &#8211;&gt;</p></blockquote><p>to</p><blockquote><p>&lt;protocolInfo extend=&#8221;yes&#8221;/>&lt;!&#8211; For PS3 support change to &#8220;yes&#8221; &#8211;&gt;</p></blockquote><p>and also</p><blockquote><p>&lt;!&#8211; &lt;map from=&#8221;avi&#8221; to=&#8221;video/divx&#8221;/&gt; &#8211;&gt;</p></blockquote><p>to</p><blockquote><p>&lt;map from=&#8221;avi&#8221; to=&#8221;video/divx&#8221;/&gt;</p></blockquote><p>Add the line<br
/> <code>&lt;pc-directory upnp-hide="yes"/&gt;</code><br
/> below<br
/> <code>&lt;webroot&gt;/usr/share/mediatomb/web&lt;/webroot&gt;</code><br
/> so that it looks like this<br
/> <code>&lt;webroot&gt;/usr/share/mediatomb/web&lt;/webroot&gt;<br
/> &lt;pc-directory upnp-hide="yes"/&gt;</code><br
/> This hides the full directory path from the Playstation so it can only view the directories added and not the full system.</p><p>Add the following to enable thumbnail previews. I have found this does not work 100% of the time.</p><p>Enable transcoding<br
/> <code>&lt;transcoding enabled="no"&gt;</code><br
/> to<br
/> <code>&lt;transcoding enabled="yes"&gt;</code></p><p>Add the following transcode mappings under <strong>&lt;mimetype-profile-mappings&gt;</strong> tag:</p><blockquote><p>&lt;transcode mimetype=&#8221;video/divx&#8221; using=&#8221;video-thumbnail&#8221;/&gt;<br
/> &lt;transcode mimetype=&#8221;video/mpeg&#8221; using=&#8221;video-thumbnail&#8221;/&gt;<br
/> &lt;transcode mimetype=&#8221;video/mp4&#8243; using=&#8221;video-thumbnail&#8221;/&gt;<br
/> &lt;transcode mimetype=&#8221;video/x-ms-wmv&#8221; using=&#8221;video-thumbnail&#8221;/&gt;</p></blockquote><p>Add the following settings between the <strong>&lt;profiles&gt;&lt;/profiles&gt;</strong> elements. Not the parent is plural and each profile is singular.</p><blockquote><p>&lt;profile name=&#8221;video-thumbnail&#8221; enabled=&#8221;yes&#8221; type=&#8221;external&#8221;&gt;<br
/> &lt;mimetype&gt;image/jpeg&lt;/mimetype&gt;<br
/> &lt;accept-url&gt;yes&lt;/accept-url&gt;<br
/> &lt;thumbnail&gt;yes&lt;/thumbnail&gt;<br
/> &lt;resolution&gt;128&#215;128&lt;/resolution&gt;<br
/> &lt;agent command=&#8221;/usr/bin/ffmpegthumbnailer&#8221; arguments=&#8221;-i %in -o %out -s 128&#8243;/&gt;<br
/> &lt;<a
href="http://www.dannytsang.co.uk/index.php/tag/buffer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with buffer">buffer</a> size=&#8221;524288&#8243; chunk-size=&#8221;512&#8243; fill-size=&#8221;1024&#8243;/&gt;<br
/> &lt;/profile&gt;</p></blockquote><p>Restart MediaTomb service <code>sudo /etc/init.d/mediatomb restart</code> If it fails to restart then double check the config file for errors.</p><p>Go to the machine in a web browser on port 49152 e.g http://localhost:49152</p><div
align="center"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Adding-directory.png" rel="lightbox[2566]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Adding-directory-150x150.png" alt="" title="MediaTomb Adding directories" width="150" height="150" class="aligncenter size-thumbnail wp-image-2588" /></a></div><p>On this web page configures the directories available over UPnP. The Database section shows what directories are visible / registered to MediaTomb and Filesystem shows the <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a> directories that can be added for <a
href="http://www.dannytsang.co.uk/index.php/tag/dlna/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DLNA">DLNA</a> / UPnP visibility. When a directory is added MediaTomb scans the directory and register them so they show up on the Playstation. These can include <a
href="http://www.dannytsang.co.uk/index.php/tag/music/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Music">music</a>, videos and pictures.</p><div
align="center"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Update-Frequency.png" rel="lightbox[2566]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Update-Frequency-150x150.png" alt="" title="MediaTomb Update Frequency" width="150" height="150" class="aligncenter size-thumbnail wp-image-2663" /></a></div><p>In the top right hand corner there is a plus &#8220;+&#8221; with two arrows around it. Clicking on it loads a new page in the main window, replacing the file lists in the directory. This is the page for setting how often it scans for changes.</p><p>Go to the Playstation, turn it on and go to the relevant category e.g photo in the menu. There should be a MediaTomb server in the list. If it does not appear go towards the top and scan for more media servers to look for MediaTomb.</p><h3>Summary</h3><p>The software is pretty self contained but I would have liked the option to use Apache and MySQL because those are already installed on my system.</p><p>MediaTomb does the job for now and whilst I cannot get the thumbnails to work on all the media it still does a brillant job of streaming the media to the Playstation. Unfortunately it&#8217;s not integrated into MythTV so records will still have to be done via MythTV but this is not a problem because all recorded TV shows are registered in the database.</p><p>A problem I did encounter was that I added multiple directories but reguardless of where they reside on the computer, all videos appear in one directory on the Playstation. I&#8217;m not  sure if this is a bug or how it&#8217;s suppose to work.</p><p><a
href="http://ubuntuforums.org/showthread.php?t=650020&#038;page=5" target="_blank">[HOWTO]:Stream DivX/XviD to a PS3 with firmware 2.10 using MediaTomb and Ubuntu 7</a></p> <a
href='http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/mediatomb-adding-directory/' title='MediaTomb Adding directories'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Adding-directory-150x150.png" class="attachment-thumbnail" alt="MediaTomb Adding directories" title="MediaTomb Adding directories" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/mediatomb-update-frequency/' title='MediaTomb Update Frequency'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/02/MediaTomb-Update-Frequency-150x150.png" class="attachment-thumbnail" alt="MediaTomb Update Frequency" title="MediaTomb Update Frequency" /></a><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/full-disk-mediatomb-hog/' rel='bookmark' title='Full Disk &#8211; MediaTomb Hog'>Full Disk &#8211; MediaTomb Hog</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-music-streaming-server-ampache/' rel='bookmark' title='Ubuntu Music Streaming Server &#8211; Ampache'>Ubuntu Music Streaming Server &#8211; Ampache</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/all-things-digital-interview/' rel='bookmark' title='All Things Digital Interview'>All Things Digital Interview</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/mediatomb-dlna-to-playstation-3/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</title><link>http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/</link> <comments>http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/#comments</comments> <pubDate>Mon, 28 Dec 2009 09:28:00 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[mythtv-status]]></category> <category><![CDATA[perl]]></category> <category><![CDATA[T.V]]></category> <category><![CDATA[tv guide]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[ubuntu 8.04]]></category> <category><![CDATA[XML]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2491</guid> <description><![CDATA[I have been getting the error message Unable to access MythTV Perl API. Try with &#8211;verbose to find out why. on MythTv running on Ubuntu 8.04. It wasn&#8217;t bothering me too much because the TV guide was still being updated. &#8230; <a
href="http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/removing-files-with/' rel='bookmark' title='Removing Files With &#8211;'>Removing Files With &#8211;</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/broken-mythtv/' rel='bookmark' title='Broken MythTV'>Broken MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/' rel='bookmark' title='MythWeb Preview'>MythWeb Preview</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I have been getting the error message</p><blockquote><p>Unable to access <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythTV">MythTV</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/perl/" class="st_tag internal_tag" rel="tag" title="Posts tagged with perl">Perl</a> API.  Try with &#8211;<a
href="http://www.dannytsang.co.uk/index.php/tag/verbose/" class="st_tag internal_tag" rel="tag" title="Posts tagged with verbose">verbose</a> to find out why.</p></blockquote><p>on MythTv running on <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> 8.04. It wasn&#8217;t bothering me too much because the <a
href="http://www.dannytsang.co.uk/index.php/tag/tv-guide/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tv guide">TV guide</a> was still being updated. Also I believe this is something to do with <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv-status/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mythtv-status">MythTV-Status</a> only which prints out in the console what is being recorded (if any), next up coming <a
href="http://www.dannytsang.co.uk/index.php/tag/recording/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Recording">recording</a> and the amount of available space.</p><p>The problem is the MythTv-Status program is ran on a schedule and is requires the <strong>config.<a
href="http://www.dannytsang.co.uk/index.php/tag/xml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a></strong> in the <strong>~/.mythtv</strong> directory to be copied or a symbolic link in <strong>/root/.mythtv</strong> Run the following commands to solve the problem:<br
/> <code>$ sudo mkdir /root/.mythtv<br
/> $ sudo ln -s ~/.mythtv/config.xml<br
/> $ sudo /etc/init.d/mythtv-status reload</code></p><p>The last command will run MythTv-Status to read the new configuration XML file and run without any errors.</p><p>The only problem it has caused is that it does not say how many days worth or TV guide it has where as before this fix it specified it with errors.</p><p><a
href="http://ubuntuforums.org/showthread.php?t=770188" target="_blank">Unable to access MythTV Perl API. Try with &#8211;verbose to find out why. Ubuntu Forum</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/removing-files-with/' rel='bookmark' title='Removing Files With &#8211;'>Removing Files With &#8211;</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/broken-mythtv/' rel='bookmark' title='Broken MythTV'>Broken MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/' rel='bookmark' title='MythWeb Preview'>MythWeb Preview</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Ubuntu No Monitor Defaults To 800&#215;600</title><link>http://www.dannytsang.co.uk/index.php/ubuntu-no-monitor-defaults-to-800x600/</link> <comments>http://www.dannytsang.co.uk/index.php/ubuntu-no-monitor-defaults-to-800x600/#comments</comments> <pubDate>Wed, 30 Sep 2009 23:01:57 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[default screen]]></category> <category><![CDATA[Display]]></category> <category><![CDATA[Gnome]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[monitor]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[remote desktop]]></category> <category><![CDATA[resolution]]></category> <category><![CDATA[resolution screen]]></category> <category><![CDATA[screen]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Virtual]]></category> <category><![CDATA[VNC]]></category> <category><![CDATA[Xorg]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2309</guid> <description><![CDATA[Overview I recently moved my Long standing Linux box running Ubuntu 8.04 as a headless server which needs X running because of Mythtv. Once it was in place I remoted into the box running Remote Desktop on Linux and VNC &#8230; <a
href="http://www.dannytsang.co.uk/index.php/ubuntu-no-monitor-defaults-to-800x600/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/windows-7-monitor-calibration/' rel='bookmark' title='Windows 7 Monitor Calibration'>Windows 7 Monitor Calibration</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/enable-sftp-on-vsftpd-in-ubuntu/' rel='bookmark' title='Enable SFTP On VSFTPD In Ubuntu'>Enable SFTP On VSFTPD In Ubuntu</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/scuffed-screen/' rel='bookmark' title='Scuffed Screen'>Scuffed Screen</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I recently moved my Long standing <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> box running <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> 8.04 as a headless <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> which needs X running because of <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythTV">Mythtv</a>. Once it was in place I remoted into the box running <a
href="http://www.dannytsang.co.uk/index.php/tag/remote-desktop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with remote desktop">Remote Desktop</a> on <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> and VNC client on the PC. When I got it the <a
href="http://www.dannytsang.co.uk/index.php/tag/screen/" class="st_tag internal_tag" rel="tag" title="Posts tagged with screen">screen</a> was squished to 800&#215;600 <a
href="http://www.dannytsang.co.uk/index.php/tag/resolution/" class="st_tag internal_tag" rel="tag" title="Posts tagged with resolution">resolution</a>.</p><h3>Auto Detect <a
href="http://www.dannytsang.co.uk/index.php/tag/monitor/" class="st_tag internal_tag" rel="tag" title="Posts tagged with monitor">Monitor</a></h3><p>Ubuntu tried to be too helpful in this scenario. It limited the resolution to 800&#215;600 max with a smaller resolution. There was no option to increase it. I did not want to plug in a monitor so it could detect the correct screen resolution every time it started up. I knew this would lie in the Xorg configuration.</p><p>After some Google searches I found the solution which requires adding some entries into xorg.conf.</p><p>First create a backup:<br
/> <code>$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak</code></p><blockquote><p> To restore the config use the following command:<br
/> <code>$ cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf</code></p></blockquote><p>Edit the file <code>/etc/X11/xorg.conf</code> and find the section <code>Section "Screen"</code>. My default config looked like this:</p><blockquote><p> Section &#8220;Screen&#8221;<br
/> Identifier      &#8220;Default Screen&#8221;<br
/> Monitor         &#8220;Configured Monitor&#8221;<br
/> Device          &#8220;Configured Video Device&#8221;<br
/> Defaultdepth    24<br
/> EndSection</p></blockquote><p>Add a sub section to the end with the resolution you want e.g:</p><blockquote><p> Section &#8220;Screen&#8221;<br
/> Identifier      &#8220;Default Screen&#8221;<br
/> Monitor         &#8220;Configured Monitor&#8221;<br
/> Device          &#8220;Configured Video Device&#8221;<br
/> Defaultdepth    24<br
/> SubSection      &#8220;<a
href="http://www.dannytsang.co.uk/index.php/tag/display/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Display">Display</a>&#8221;<br
/> Modes   &#8220;1024&#215;768&#8243; &#8220;1024&#215;1280&#8243;<br
/> <a
href="http://www.dannytsang.co.uk/index.php/tag/virtual/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Virtual">Virtual</a> 1024 768<br
/> Virtual 12804 1024<br
/> EndSubSection<br
/> EndSection</p></blockquote><p><del
datetime="2009-10-01T09:07:00+00:00">I&#8217;m not sure how it handles which resolution is default on start up but once it&#8217;s in you can remove change it via Gnome or only add one screen resolution to force it to boot into that resolution.</del></p><p><strong>Edit:</strong> It takes the last virtual resolution defined in the sub section and does not allow users to pick and choose if more than one are defined.</p><p><a
href="http://ubuntuforums.org/showthread.php?t=564146" target="_blank">screen resolution in remote desktop Ubuntu Forum Post</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/windows-7-monitor-calibration/' rel='bookmark' title='Windows 7 Monitor Calibration'>Windows 7 Monitor Calibration</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/enable-sftp-on-vsftpd-in-ubuntu/' rel='bookmark' title='Enable SFTP On VSFTPD In Ubuntu'>Enable SFTP On VSFTPD In Ubuntu</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/scuffed-screen/' rel='bookmark' title='Scuffed Screen'>Scuffed Screen</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/ubuntu-no-monitor-defaults-to-800x600/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hauppauge WinTV Nova TD-500 On MythTV</title><link>http://www.dannytsang.co.uk/index.php/hauppauge-wintv-nova-td-500-on-mythtv/</link> <comments>http://www.dannytsang.co.uk/index.php/hauppauge-wintv-nova-td-500-on-mythtv/#comments</comments> <pubDate>Sun, 17 May 2009 19:55:06 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[digital switch]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[tv tuners]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=1870</guid> <description><![CDATA[Overview I was scouting for a new TV capture / tuner card for MythTV ever since I moved out and got MythTV running using the roof antenna. The PCI-E stuff is nice but not mature enough in Linux. From my &#8230; <a
href="http://www.dannytsang.co.uk/index.php/hauppauge-wintv-nova-td-500-on-mythtv/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-810-the-pain/' rel='bookmark' title='Ubuntu 8.10 &#8211; The Pain'>Ubuntu 8.10 &#8211; The Pain</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/things-to-install-after-installing-ubuntu-11-10/' rel='bookmark' title='Things To Install After Installing Ubuntu 11.10'>Things To Install After Installing Ubuntu 11.10</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I was scouting for a new TV capture / tuner card for <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythTV">MythTV</a> ever since I moved out and got <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythTV">MythTV</a> running using the roof antenna. The PCI-E stuff is nice but not mature enough in <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a>. From my understand Hauppauge is the best support TV cards in <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> and therefore I wanted to stick with them.</p><h3>Picking TV Card</h3><p>I waited to see if I could get Digital <a
href="http://www.freeview.co.uk/" target="_blank">Freeview</a> before splashing out an analogue again which are few and far between since the <a
href="http://www.dannytsang.co.uk/index.php/tag/digital-switch/" class="st_tag internal_tag" rel="tag" title="Posts tagged with digital switch">Digital switch</a> over is coming soon. The website <a
href="http://www.freeview.co.uk/" target="_blank">Freeview</a> website stated I could get only channels 1-5, the normal terrestrial channels over the air. This didn&#8217;t fill me with much confidence.</p><p>My brother had a spare <a
href="http://www.freeview.co.uk/" target="_blank">Freeview</a> box which I borrowed off him and was happy when more than 5 channels were picked up in the scan. I ended up with more than 15 working channels in total on the box.</p><p>It was time to head to <a
href="http://www.dannytsang.co.uk/index.php/tag/google/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Google">Google</a> to do research. After finding out you needed one tuner per <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a> watching live TV e.g one master server with one front end connected to the TV in the living room and one front end on the <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a> you will need 2 <a
href="http://www.dannytsang.co.uk/index.php/tag/tv-tuners/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tv tuners">TV tuners</a> to watch live TV from the living room and on the <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a> at the same time. This does not affect recorded shows.</p><p>Few hours / days later I had my eye on Hauppauge WinTV Nova T-500. I wanted to stay on <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> 8.04 LTS because it was supported for 2 years and ideally I would get it set up and leave it alone and not bother with the latest releases.</p><h3>Nova T-500 Or Nova TD-500</h3><p>During my research <a
href="http://www.mythtv.org/wiki/" target="_blank">MythTV wiki</a> had a great <a
href="http://www.mythtv.org/wiki/Hauppauge_WinTV_Nova-T_500_PCI" target="_blank">article</a> on the Nova T-500. It states which hardware is truely a T-500 whether the box says so or not. I have found the original T-500 hard to come by but the things to look out for on the box are:</p><h3>Ubuntu 8.04 &#038; Nova TD-500</h3><p>8.04 kernel was just one or two versions out when V4L drivers included TD-500 support in their DVB drivers. This means you have to patch or compile the kernel to include the driver. This also meant you had to do this every time a new kernel update came out from Canonical. This would not be a problem for me except I did not manage to patch / build a module that worked with this version. I did not want to go down the route of compiling a new kernel so I gave up.</p><h3>Ubuntu 8.10</h3><p>My DFI Infinity NF4 supposedly has a BIOS bug which does not show in Ubuntu 8.04. I have tried turning things off like <a
href="http://www.dannytsang.co.uk/index.php/tag/acpi/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ACPI">acpi</a>, apic, etc, etc but no luck. Also I tried removing <a
href="http://www.dannytsang.co.uk/index.php/tag/compiz/" class="st_tag internal_tag" rel="tag" title="Posts tagged with compiz">compiz</a> and not install the nVidia drivers. I did manage to get through a MythTV install and get it up and running to see it was working out of the box.</p><p>I have the latest BIOS update from DFI but no luck. I even went to the lengths of downloading and installing Mythdora 10 but that failed to start up X.</p><h3>Ubuntu 9.04</h3><p>I hoped this release would have been better but it was going along the same route as 8.10. I tried it and it had the same problems so I left it as that. I&#8217;m looking to either replace my motherboard or look into replacing the internals of the computer.</p><h3>Summary</h3><p>I wish the Ubuntu folks would update the kernel but from the feedback I got in the forum it&#8217;s not likely to happen. The best route would be to re-compile the kernel or figure out how to get the module working.</p><p>It&#8217;s not looking good for me to get this TV card working. The only option is to get a new motherboard but for an aging socket 939 is not going to be easy but will be the cheapest option with no 100% gaurentee.</p><p>Another route I can take is to scrounge enough parts to partially rebuild the PC. I do remember having enough bits but not sure if they all still work especially the graphics card.</p><p>The last option is to build a new PC for the sole use as a MythTV server. Whilst this has been brewing in my mind it&#8217;s not something I can commit to financially right now especiall when the current Linux box is aging and looking as though it will not handle another release by Ubuntu.</p><p><a
href="http://ubuntuforums.org/showthread.php?t=1014660" target="_blank>Turn off ACPI Ubuntu Forum Post</a></p><p><a
href="http://www.mythtv.org/wiki/Hauppauge_WinTV_Nova-T_500_PCI">MythTV Article On Hauppauge WinTV Nova T(D)-500 </a></p><p><a
href="http://www.hauppauge.co.uk/site/products/data_novat500.html" target="_blank">Hauppauge WinTV Nova TD-500 Product Page</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-810-the-pain/' rel='bookmark' title='Ubuntu 8.10 &#8211; The Pain'>Ubuntu 8.10 &#8211; The Pain</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/things-to-install-after-installing-ubuntu-11-10/' rel='bookmark' title='Things To Install After Installing Ubuntu 11.10'>Things To Install After Installing Ubuntu 11.10</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/hauppauge-wintv-nova-td-500-on-mythtv/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>XMLTV Error 6400 And XMLTV Error 2304</title><link>http://www.dannytsang.co.uk/index.php/xmltv-error-6400-and-xmltv-error-2304/</link> <comments>http://www.dannytsang.co.uk/index.php/xmltv-error-6400-and-xmltv-error-2304/#comments</comments> <pubDate>Fri, 20 Feb 2009 21:00:05 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[illegal characters]]></category> <category><![CDATA[MythTV]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=1811</guid> <description><![CDATA[My MythTV had a problem with the getting the T.V schedule (guide) and all the channels just displayed &#8220;No Data&#8221;. I ran mythfilldatabase manually and it reported Error 6400. I shutdown Myth Backend and started it back up and ran &#8230; <a
href="http://www.dannytsang.co.uk/index.php/xmltv-error-6400-and-xmltv-error-2304/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/check-gui-program-is-running-in-linux/' rel='bookmark' title='Check GUI Program Is Running In Linux'>Check GUI Program Is Running In Linux</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/energyhome-0-7-released/' rel='bookmark' title='Energy@Home 0.7 Released'>Energy@Home 0.7 Released</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li></ol>]]></description> <content:encoded><![CDATA[<p>My <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythTV">MythTV</a> had a problem with the getting the <a
href="http://www.dannytsang.co.uk/index.php/tag/tv/" class="st_tag internal_tag" rel="tag" title="Posts tagged with T.V">T.V</a> schedule (guide) and all the channels just displayed &#8220;No Data&#8221;. I ran <code>mythfilldatabase</code> manually and it reported Error 6400.</p><p>I shutdown <a
href="http://www.dannytsang.co.uk/index.php/tag/myth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with myth">Myth</a> Backend and started it back up and ran the T.V grabber again but this time it reported Error 2304. Luckily someone else had the same problem and it had been solved on the <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> Forums.</p><p>According to the `Zidane the problem is the script used to get the T.V schedule found invalid characters in the T.V schedule file and fell over and died. To fix it you:</p><p>Allow read and write access to the script:</p><p><code>sudo chmod a+w /usr/bin/tv_grab_uk_rt</code></p><p>Find the line:</p><blockquote><p>/^(\d+)\|(.+)/ or die &#8220;Bad channel entry seen in RT channels.dat: $_&#8221;;</p></blockquote><p>Comment it out with a #:</p><blockquote><p>#/^(\d+)\|(.+)/ or die &#8220;Bad channel entry seen in RT channels.dat: $_&#8221;;</p></blockquote><p>Add a new line below it which detects less &#8220;illegal&#8221; characters:</p><blockquote><p> #/^(\d+)\|(.+)/ or die &#8220;Bad channel entry seen in RT channels.dat: $_&#8221;;<br
/> ^(\d+)\|(.+)/ or next;</p></blockquote><p>Save and exit the from editing the file and re-apply the file permission:<br
/> <code>sudo chmod a-w /usr/bin/tv_grab_uk_rt</code></p><p>Re-run the fill database command and it should go back to normal.</p><p><a
href="http://ubuntuforums.org/showthread.php?t=1063978" target="_blank">XMLTV Error 2304 Ubuntu Forum Post</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/check-gui-program-is-running-in-linux/' rel='bookmark' title='Check GUI Program Is Running In Linux'>Check GUI Program Is Running In Linux</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/energyhome-0-7-released/' rel='bookmark' title='Energy@Home 0.7 Released'>Energy@Home 0.7 Released</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/xmltv-error-6400-and-xmltv-error-2304/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>MythWeb Preview</title><link>http://www.dannytsang.co.uk/index.php/mythweb-preview/</link> <comments>http://www.dannytsang.co.uk/index.php/mythweb-preview/#comments</comments> <pubDate>Thu, 11 Dec 2008 08:20:31 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[T.V]]></category> <category><![CDATA[music search]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[MythWeb]]></category> <category><![CDATA[Programme]]></category> <category><![CDATA[Recording]]></category> <category><![CDATA[remote management]]></category> <category><![CDATA[search tv listings]]></category> <category><![CDATA[server]]></category> <category><![CDATA[tv programme]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[weather]]></category> <category><![CDATA[web interface]]></category> <category><![CDATA[Webmin]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=1573</guid> <description><![CDATA[I have yet again set up MythTV on Ubuntu 8.04 Hardy Heron. It wasn&#8217;t as easy or running as well as my previous install on the same machine but with and older version of Ubuntu. Now that I have moved &#8230; <a
href="http://www.dannytsang.co.uk/index.php/mythweb-preview/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/broken-mythtv/' rel='bookmark' title='Broken MythTV'>Broken MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/extending-zip-ties-to-make-them-longer/' rel='bookmark' title='Extending Zip Ties To Make Them Longer'>Extending Zip Ties To Make Them Longer</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li></ol>]]></description> <content:encoded><![CDATA[<div
align="center"><div
id="attachment_1575" class="wp-caption alignnone" style="width: 310px"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/listing.png" rel="lightbox[1573]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/listing-300x118.png" alt="TV Programme Listings" title="TV Programme Listings" width="300" height="118" class="size-medium wp-image-1575" /></a><p
class="wp-caption-text"><a
href="http://www.dannytsang.co.uk/index.php/tag/tv-programme/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tv programme">TV Programme</a> Listings</p></div></div><p>I have yet again set up MythTV on <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> 8.04 Hardy Heron. It wasn&#8217;t as easy or running as well as my previous install on the same machine but with and older version of <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a>.</p><div
align="center"><div
id="attachment_1577" class="wp-caption alignnone" style="width: 310px"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/record.png" rel="lightbox[1573]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/record-300x122.png" alt="Recording TV Programme" title="Recording TV Programme" width="300" height="122" class="size-medium wp-image-1577" /></a><p
class="wp-caption-text">Recording TV <a
href="http://www.dannytsang.co.uk/index.php/tag/programme/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Programme">Programme</a></p></div></div><p>Now that I have moved out of home, it has given me more reason to set up and use MythTV because I don&#8217;t have Sky+ or anything similar. I do plan to eventually get a dedicated MythTV box(es) but it&#8217;s a good time to play about now ready for when this happens. I have set up <a
href="http://www.dannytsang.co.uk/index.php/tag/mythweb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MythWeb">MythWeb</a>, an extension? addon? to MythTV. It runs on the backend with a <a
href="http://www.dannytsang.co.uk/index.php/tag/web/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Web">web</a> server and allows access to TV listings, status and recording management. The idea is to let allow <a
href="http://www.dannytsang.co.uk/index.php/tag/remote-management/" class="st_tag internal_tag" rel="tag" title="Posts tagged with remote management">remote management</a> from another computer to view, add / remove and modify recordings as well as view and <a
href="http://www.dannytsang.co.uk/index.php/tag/search-tv-listings/" class="st_tag internal_tag" rel="tag" title="Posts tagged with search tv listings">search TV listings</a>.</p><div
align="center"><div
id="attachment_1576" class="wp-caption alignnone" style="width: 310px"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/music.png" rel="lightbox[1573]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/music-300x157.png" alt="Music Search" title="Music Search" width="300" height="157" class="size-medium wp-image-1576" /></a><p
class="wp-caption-text"><a
href="http://www.dannytsang.co.uk/index.php/tag/music/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Music">Music</a> Search</p></div></div><p>There are additional modules in the web interface like the <a
href="http://www.dannytsang.co.uk/index.php/tag/weather/" class="st_tag internal_tag" rel="tag" title="Posts tagged with weather">weather</a>, music, MythTV settings and backend status. MythWeb reminds of <a
href="http://www.dannytsang.co.uk/index.php/tag/webmin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Webmin">Webmin</a> but much prettier.</p><div
align="center"><div
id="attachment_1579" class="wp-caption alignnone" style="width: 310px"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/settings.png" rel="lightbox[1573]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/settings-300x157.png" alt="MythTV Settings" title="MythTV Settings" width="300" height="157" class="size-medium wp-image-1579" /></a><p
class="wp-caption-text">MythTV Settings</p></div></div><p>All of this is password protected and must be enabled pass the router firewall before it is viewable from the Internet.</p> <a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/listing/' title='TV Programme Listings'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/listing-150x150.png" class="attachment-thumbnail" alt="TV Programme Listings" title="TV Programme Listings" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/music/' title='Music Search'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/music-150x150.png" class="attachment-thumbnail" alt="Music Search" title="Music Search" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/record/' title='Recording TV Programme'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/record-150x150.png" class="attachment-thumbnail" alt="Recording TV Programme" title="Recording TV Programme" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/recordings/' title='Recordings'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/recordings-150x150.png" class="attachment-thumbnail" alt="Recordings" title="Recordings" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/settings/' title='MythTV Settings'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/settings-150x150.png" class="attachment-thumbnail" alt="MythTV Settings" title="MythTV Settings" /></a> <a
href='http://www.dannytsang.co.uk/index.php/mythweb-preview/weather/' title='Weather'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2008/12/weather-150x150.png" class="attachment-thumbnail" alt="Weather" title="Weather" /></a><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/broken-mythtv/' rel='bookmark' title='Broken MythTV'>Broken MythTV</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/extending-zip-ties-to-make-them-longer/' rel='bookmark' title='Extending Zip Ties To Make Them Longer'>Extending Zip Ties To Make Them Longer</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/unable-to-access-mythtv-perl-api-try-with-verbose-to-find-out-why/' rel='bookmark' title='Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.'>Unable to access MythTV Perl API.  Try with &#8211;verbose to find out why.</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/mythweb-preview/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Considering Server Replacement</title><link>http://www.dannytsang.co.uk/index.php/considering-server-replacement/</link> <comments>http://www.dannytsang.co.uk/index.php/considering-server-replacement/#comments</comments> <pubDate>Tue, 02 Dec 2008 19:49:00 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Website]]></category> <category><![CDATA[Amazon]]></category> <category><![CDATA[AWS]]></category> <category><![CDATA[bandwidth]]></category> <category><![CDATA[computer]]></category> <category><![CDATA[computer maintenance]]></category> <category><![CDATA[data redundancy]]></category> <category><![CDATA[Drobo]]></category> <category><![CDATA[file server]]></category> <category><![CDATA[maintenance]]></category> <category><![CDATA[multipurpose]]></category> <category><![CDATA[MythTV]]></category> <category><![CDATA[mythtv box]]></category> <category><![CDATA[printer]]></category> <category><![CDATA[printer server]]></category> <category><![CDATA[redundancy]]></category> <category><![CDATA[server]]></category> <category><![CDATA[storage]]></category> <category><![CDATA[virtual private server]]></category> <category><![CDATA[VPS]]></category> <category><![CDATA[Web]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=1553</guid> <description><![CDATA[I am starting to see problems with my old, long running server. It gets bogged down very easily. I am considering 2 options: 1. Buy / get a new computer 2. Rent a Virtual Private Server (VPS) 3. Amazon Web &#8230; <a
href="http://www.dannytsang.co.uk/index.php/considering-server-replacement/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/amazon-iphone-app/' rel='bookmark' title='Amazon iPhone App'>Amazon iPhone App</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/jungledisk/' rel='bookmark' title='JungleDisk'>JungleDisk</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/server-hardware-upgrade/' rel='bookmark' title='Server Hardware Upgrade'>Server Hardware Upgrade</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I am starting to see problems with my old, long running server. It gets bogged down very easily. I am considering 2 options:</p><ul> <strong>1.</strong> Buy / get a new <a
href="http://www.dannytsang.co.uk/index.php/tag/computer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with computer">computer</a><br
/> <strong>2.</strong> Rent a <a
href="http://www.dannytsang.co.uk/index.php/tag/virtual/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Virtual">Virtual</a> Private Server (VPS)<br
/> <strong>3.</strong> Amazon Web Services (AWS)<br
/> <strong>4.</strong> Hybrid System</ul><h3>Buy / Get A New Computer</h3><p>An expensive initial investment but is very versatile. The server can be local or in a remote location as well as being able to re-purpose the computer if needed to say a dedicated <a
href="http://www.dannytsang.co.uk/index.php/tag/mythtv-box/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mythtv box">MythTV box</a>. Any parts can be re-used in another computer or vise versa like adding a Drobo to increase the storage as a file server with data <a
href="http://www.dannytsang.co.uk/index.php/tag/redundancy/" class="st_tag internal_tag" rel="tag" title="Posts tagged with redundancy">redundancy</a>. Of course making it a <a
href="http://www.dannytsang.co.uk/index.php/tag/multipurpose/" class="st_tag internal_tag" rel="tag" title="Posts tagged with multipurpose">multipurpose</a> server will eventually bog it down so much it will need more power or split the load on another server.</p><p>The down side to this plan is the <a
href="http://www.dannytsang.co.uk/index.php/tag/maintenance/" class="st_tag internal_tag" rel="tag" title="Posts tagged with maintenance">maintenance</a> and <a
href="http://www.dannytsang.co.uk/index.php/tag/bandwidth/" class="st_tag internal_tag" rel="tag" title="Posts tagged with bandwidth">bandwidth</a>. Computer maintenance from trivial things like cleaning and paying for electricity to the normal backups and ensuring it works through the router firewall. Web servers need more upload speed than download but this will be limited to the broadband plan of where it will be.</p><h3>Rent A VPS</h3><p>VPS is the more expensive option but the hardware is all taken care of. In general terms there are web and <a
href="http://www.dannytsang.co.uk/index.php/tag/shell/" class="st_tag internal_tag" rel="tag" title="Posts tagged with shell">shell</a> access which make it easier and there are a variety of distributions available. Most VPS providers give a guaranteed amount of service with a burstable performance when needed. The business line will definitely give it an edge over home broadband line such as blocked ports or upload speeds. This gives way nicely to running mail, web, FTP, etc servers.</p><p>I&#8217;m not sure how well it will scale in terms of requesting more power and storage to down scaling. There are bandwidth caps and with the server location being off site it would rule out uses such as a file server and <a
href="http://www.dannytsang.co.uk/index.php/tag/printer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with printer">printer</a> server. The combination of pay per storage and data transfer rules it out as a remote processing cluster for dvd::rip or MythTV backend.</p><h3>AWS</h3><p>Amazon web services are very attractive because of their cheap prices (compared to dedicated servers), flexibility and scalability. Whilst the integration of the different services offered by Amazon, e.g S3, EC2, CloudFront, etc could be improved it is currently still too expensive for me. Ideally this would be the best option but according to rought calculations it would cost over twice as much as a VPS monthly cost and that is not factoring in the cost of bandwidth used.</p><h3>Hybrid System</h3><p>A hybrid system would see different components hosted on different services. With the advances of Amazon SimpleDB API I can expect it would be only a matter of time before dynamic websites / blogs using the service as well as other web applications. Amazon S3 / Drop Box / etc can be used for online storage and the only thing that would be left is the web server itself. This may be enough to alleviate the load and let me continue to use the current computer. This will require some integration work as well as better Amazon SimpleDB API to SQL compatibility but it could be solution.</p><h3>Summary</h3><p>I do not intend to replace the server till next year but I would like to say I am definitely thinking about it. The IBM Aptiva has served it&#8217;s purpose well for well over 4 years but is finally showing it&#8217;s age. I do intend to stick with a <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> OS as much as possible just to keep me in tune with maintaining a headless <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> computer.</p><p><a
href="http://aws.amazon.com/" target="_blank">Amazon Web Service Website</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/amazon-iphone-app/' rel='bookmark' title='Amazon iPhone App'>Amazon iPhone App</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/jungledisk/' rel='bookmark' title='JungleDisk'>JungleDisk</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/server-hardware-upgrade/' rel='bookmark' title='Server Hardware Upgrade'>Server Hardware Upgrade</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/considering-server-replacement/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
