Penguin

Differences between version 47 and predecessor to the previous major change of MythTvNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 47 Last edited on Sunday, April 30, 2006 8:26:16 am by JohnMcPherson Revert
Older page: version 36 Last edited on Tuesday, March 28, 2006 5:16:14 pm by JamesGray Revert
@@ -58,15 +58,15 @@
  
 !! [Hamilton], NewZealand channels 
  
 <?plugin OldStyleTable 
-| __Channel__ | __Frequency__ | __XMLTV id__|__MHz__  
-| 1 | 1 | One |45.250  
-| 2 | 3 | 2 |62.250  
-| 3 | 10 | 3 |217.250  
-| 4 | 7 | C4 |175.250  
-| Prime | 60 | Prime |783.250  
-|MaoriTV | 44 | Maori |655.250 
+| __Channel__ | __Frequency__ | __XMLTV id (hairy.geek.nz) __|__MHz__  
+| 1 | 1 | 1035.dvb.guide |45.250  
+| 2 | 3 | 1036.dvb.guide |62.250  
+| 3 | 10 | 1033.dvb.guide |217.250  
+| 4 | 7 | 1034.dvb.guide |175.250  
+| Prime | 60 | 1018.dvb.guide |783.250  
+|MaoriTV | 44 | 1025.dvb.guide |655.250 
 ?> 
  
 !! [Christchurch], NewZealand channels 
  
@@ -86,8 +86,19 @@
 | 1 | 6 | One 
 | 2 | 8 | 2 
 | 3 | 10 | 3 
 | MaoriTV | 53 | Maori 
+| Prime | 61 | Prime  
+| 7 Taranaki | 41 | None  
+?>  
+  
+!! [Tokoroa], NewZealand channels, using xmlTVNZ.exe under mono.  
+  
+<?plugin OldStyleTable  
+| __Channel__ | __Frequency__ | __XMLTV id__  
+| 1 | 1 | 01  
+| 2 | 3 | 02  
+| 3 | 9 | 03  
 ?> 
  
 Using the TV listings from OnTV - see below. 
  
@@ -105,9 +116,9 @@
 # Run mythtv-setup and select "New Zealand" as the XMLTV listings grabber. 
  
 !Alternative source: 
  
-# Get [Mr Geek's listings|http://mr.geek.nz/epg/]. I normally use OnTV, so to get mrgeek's listings into my channels, I run this script over them first: 
+* Get [Mr Geek's listings|http://mr.geek.nz/epg/]. I normally use OnTV, so to get mrgeek's listings into my channels, I run this script over them first: 
  
 <pre> 
 sed -i 's/TV1.mr.geek.nz/One/g' getlist.html 
 sed -i 's/TV2.mr.geek.nz/2/g' getlist.html 
@@ -115,11 +126,13 @@
 sed -i 's/C4.mr.geek.nz/C4/g' getlist.html 
 sed -i 's/Prime.mr.geek.nz/Prime/g' getlist.html 
 </pre> 
  
-! If you're still confused 
+If you're still confused, [Go here|http://www.knoppmythwiki.org/index.php?page=NZMythConfig].  
  
-[Go here |http://www.knoppmythwiki .org /index.php?page =NZMythConfig ]. 
+* Alternatively, if you have access to a Microsoft Windows based web server, try [xmlTVNZ |http://www.reven .co.nz /index.php?option =com_content&task=blogsection&id=4&Itemid=46 ]. Create a scheduled task that drops an XML file into the web server directory, and follow the instructions for OnTV, replacing the OnTV url with the URL of the file on your server. xmlTVNZ provides excellent listings, making use of genre colours in MythTV's EPG. Unfortunately, this program is not free (open source) software, however there it is freeware.  
+  
+Note: This has been tested and works under [Mono|http://www.mono-project.com/Main_Page], no need for the windows web server. The xmlTVNZ app is written in c#, so just get mono on your system xmltvnz.exe will work. (or mono xmltvnz.exe). Nice one mono ! (on debian apt-get mono mono-utils)  
  
 !! I want [DivX]'s of my TV shows 
  
 [nuvexport|http://forevermore.net/mythtv/]. 
@@ -131,19 +144,82 @@
 adding HOME=/home/mythtv to the top of the init script appears to solve this problem. 
  
 !!Ubuntu installation 
  
-Notes to refactor
+Add the following line to your /etc/apt/sources.list
  
-* don 't create your first user as 'mythtv'; the postinst for mythtv-common wants to do that itself .  
-* don't rename it just in /etc /passwd . :)  
-* use the debian unstable LIRC source , not the ubuntu stuff  
+<pre>  
+deb http://deb.thehunter.ws/ breezy mythtv-stable  
+</pre>  
+  
+Load in the GPG key:  
+gpg --keyserver subkeys.pgp.net --recv-keys 3BC2083F  
+gpg --export --armor 3BC2083F | sudo apt-key add -  
+  
+apt-get install mythtv mythplugins myththemes  
+  
+!Backend won 't start  
+  
+Have you run mythtv-setup? If you haven't, and it doesn't work, you might need to copy /etc/mythtv/mysql.txt to ~/.mythtv/mysql.txt so you can connect to the database.  
+  
+Make sure that you have permission for the 'mythtv' user to write to the directory you have told it to store its video files in.  
+  
+You might also need to have one in /home/mythtv/.mythtv/, or else the backend will automatically try and create one. It will guess 'mythtv' as the username and password for the database, so if you set it to that, it will work without having to do this. It's very broken at the moment .  
+  
+!!Getting guide information  
+  
+Tell mythtv-setup to use the DVB grabber, and don't load anything in.  
+  
+<pre>  
+sudo su - mythtv  
+mkdir bin  
+cd bin  
+< /pre>  
+  
+Edit listings.sh:  
+  
+<pre>  
+#! /bin/bash  
+  
+cd /tmp  
+rm -f latest .xml.gz latest.xml  
+wget http ://hairy.geek.nz/epg/latest.xml.gz  
+gunzip latest.xml.gz  
+mythfilldatabase --file 1 7 latest.xml  
+<pre>  
+  
+Then,  
+  
+<pre>  
+chmod a+x listings.sh  
+crontab -e  
+</pre>  
+  
+Edit the file to look something like this , perhaps changing the date so that we don't all hammer it at 5am Sunday and Wednesday:  
+  
+<pre>  
+# 5am Sunday and Wednesday  
+0 5 * * ,3 /home/mythtv/bin/listings.sh  
+</pre>  
+  
+You will now get guide information!  
+  
+!Mythweb  
+  
+You need to install mod_rewrite:  
+  
+<pre>  
+a2enmod rewrite  
+</pre>  
  
-!Compiling mfd  
+and then you need to edit /etc/apache2/sites-enabled/000-default to include  
  
-* apt-get install liblivemedia-dev  
-* install [libopendaap|http: //www.rarewares.org /debian /packages/unstable/libopendaap0_.3.-._i386.deb] and [libopendaap-dev|http://www.rarewares.org/debian/packages/unstable/libopendaap-dev_.3.-._i386.deb]  
-* change pointers  
-* edit mfd /Makefile to link -lmyth-.18.1  
+<verbatim>  
+<Directory /var /www/mythweb>  
+ FollowSymLinks yes  
+ AllowOveride all  
+< /Directory>  
+< /verbatim>  
  
+Restart with <tt>/etc/init.d/apache2 force-reload</tt>.  
 ----- 
 CategoryNotes