Penguin

Differences between version 44 and previous revision of MythTvNotes.

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

Newer page: version 44 Last edited on Saturday, April 29, 2006 2:24:57 pm by JustinHyde Revert
Older page: version 43 Last edited on Saturday, April 29, 2006 12:14:19 pm by JustinHyde Revert
@@ -155,7 +155,53 @@
 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 * * 0,3 /home/mythtv/bin/listings.sh  
+</pre>  
+  
+You will now get guide information!  
  
 ----- 
 CategoryNotes