Penguin
Annotated edit history of MythTvNotes version 53, including all changes. View license author blame.
Rev Author # Line
43 JustinHyde 1 !! Selecting a distribution
2
50 CraigBox 3 MythTV is a very simple install in Ubuntu Feisty. [Complete instructions|https://help.ubuntu.com/community/MythTV_Feisty] are on the Ubuntu wiki.
43 JustinHyde 4
50 CraigBox 5 Prior to Ubuntu, the best guide and distribution was [Fedora Myth(TV)ology|http://wilsonet.com/mythtv/] guide. The downside with this was using the ATrpms source, which provides updates for functionality for many packages, not just security updates, so you were often doing 100Mb of "destabilising" update traffic a month.
43 JustinHyde 6
7 !! Live TV hangs when playing on a TV
8
9 This is probably an ivtv DMA issue - see IvTvNotes for a description of a fix
10
11 !! The display is bigger than the screen size when watching on a TV
12
13 You can use the Settings | TV | Appearance menu to force set a resolution and an offset, which lets you align the GUI and TV size with your actual TV screen. This can be tedious, but it's probably worth doing.
14
15 !! Remote control
16
17 See LircNotes.
18
19 !! Playback only frontend
20
21 With a TV in the lounge, now I want to be able to watch the videos from my room. I installed mythtv-frontend on my machine, but received "unable to connect to database" when running mythfrontend or mythtvsetup. A quick edit of /usr/share/mythtv/mysql.txt fixed this one.
22
23 Then you need to give your database remote access:
24
25 <pre>
26 % mysql -u root -p
27 mysql> GRANT ALL PRIVILEGES ON mythconverg.* TO 'mythtv'@'remotehost' IDENTIFIED BY 'password'
28 </pre>
29
30 You will probably have to set MasterServerIP to the IP of the backend machine instead of 127.0.0.1 (which you can do from the setup program) and you have to also make sure that the BackendServerIP is set to the IP of the backend - if you do this from the remote machine you may still have problems because it is written to the db along with the host you ran it from. Edit the settings table in the mythconverg database if you need to:
31
32 <pre>
33 mysql> select * from settings WHERE value = 'BackendServerIP';
34 +-----------------+------------+---------------------+
35 | value | data | hostname |
36 +-----------------+------------+---------------------+
37 | BackendServerIP | 10.69.1.20 | brian.ellusions.tla |
38 | BackendServerIP | 127.0.0.1 | lounge |
39 +-----------------+------------+---------------------+
40 2 rows in set (0.00 sec)
41
42 mysql> UPDATE settings SET data='10.69.1.20' WHERE value='BackendServerIP' AND hostname='lounge';
43 </pre>
44
45 This is all in the howto, of course, but I only found it afterwards.
46
47 !! Frontend plays audio but no video
48
49 You are having an [Xv] problem. Another video program, possible one [Xine] based, has used Xv and hasn't "reset" the stuff that Myth is expecting to be set. Xine doesn't clean up after itself - but is not required to according to the Xv API. Previously it (and most other programs) did, so Myth was written to expect a "clean slate."
50
51 This is fixed in the [CVS] version of MythTv, but in the meantime, you can use xvattr (__ =apt-get install xvattr= __ if necessary), then __ =xvattr -a XV_AUTOPAINT_COLORKEY -v 1= __ to fix it.
52
53 Thanks to Michael T. Dean on the mythtv-users mailing list for nailing this one!
54
55 !! Frontend doesn't run full screen under GNOME (Fedora Core 2)
56
50 CraigBox 57 FC2 shipped with a broken [Qt]. The 3.3.3 update fixes this problem. Another great suggestion, and indeed the one I've selected myself, is 'use BlackBox on your MythTv frontend; you don't need [GNOME] running!' Or, upgrade from your 3 year old software.
43 JustinHyde 58
59 !! [Hamilton], NewZealand channels
60
61 <?plugin OldStyleTable
45 JustinHyde 62 | __Channel__ | __Frequency__ | __XMLTV id (hairy.geek.nz)__|__MHz__
63 | 1 | 1 | 1035.dvb.guide |45.250
64 | 2 | 3 | 1036.dvb.guide |62.250
65 | 3 | 10 | 1033.dvb.guide |217.250
53 SimonGreen 66 | C4 | 7 | 1034.dvb.guide |196.250
45 JustinHyde 67 | Prime | 60 | 1018.dvb.guide |783.250
68 |MaoriTV | 44 | 1025.dvb.guide |655.250
43 JustinHyde 69 ?>
70
71 !! [Christchurch], NewZealand channels
72
73 <?plugin OldStyleTable
74 | __Channel__ | __Frequency__ | __XMLTV id__
75 | 1 | 3 | One
76 | 2 | 8 | 2
77 | 3 | 6 | 3
78 | C4 | 11 | C4
79 | Prime | 62 | Prime
80 ?>
81
82 !! [NewPlymouth], NewZealand channels (May also work for Hawkes Bay)
83
84 <?plugin OldStyleTable
85 | __Channel__ | __Frequency__ | __XMLTV id__
86 | 1 | 6 | One
87 | 2 | 8 | 2
88 | 3 | 10 | 3
89 | MaoriTV | 53 | Maori
90 | Prime | 61 | Prime
91 | 7 Taranaki | 41 | None
92 ?>
93
94 !! [Tokoroa], NewZealand channels, using xmlTVNZ.exe under mono.
95
96 <?plugin OldStyleTable
97 | __Channel__ | __Frequency__ | __XMLTV id__
98 | 1 | 1 | 01
99 | 2 | 3 | 02
100 | 3 | 9 | 03
101 ?>
49 ChrisBrock 102
103 Useful link for channel id's covers entire country: http://www.lincrad.co.nz/transmitters.htm
43 JustinHyde 104
48 KyleCarter 105 !!TV Listings
106 !!Getting guide information
43 JustinHyde 107
48 KyleCarter 108 Tell mythtv-setup to use the DVB grabber, and don't load anything in.
43 JustinHyde 109
48 KyleCarter 110 <pre>
111 sudo su - mythtv
112 mkdir bin
113 cd bin
114 </pre>
43 JustinHyde 115
48 KyleCarter 116 Edit listings.sh:
43 JustinHyde 117
48 KyleCarter 118 <pre>
119 #!/bin/bash
43 JustinHyde 120
48 KyleCarter 121 cd /tmp
122 rm -f latest.xml.gz latest.xml
123 wget http://hairy.geek.nz/epg/latest.xml.gz
124 gunzip latest.xml.gz
125 mythfilldatabase --file 1 7 latest.xml
52 SimonGreen 126 </pre>
43 JustinHyde 127
48 KyleCarter 128 Then,
43 JustinHyde 129
130 <pre>
48 KyleCarter 131 chmod a+x listings.sh
132 crontab -e
43 JustinHyde 133 </pre>
134
48 KyleCarter 135 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:
136
137 <pre>
138 # 5am Sunday and Wednesday
139 0 5 * * 0,3 /home/mythtv/bin/listings.sh
140 </pre>
141
142 You will now get guide information!
43 JustinHyde 143
144 * 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.
145
146 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)
147
148 !! I want [DivX]'s of my TV shows
149
150 [nuvexport|http://forevermore.net/mythtv/].
151
152 !!Mythbackend wont start from the init script
153
154 I have found this problem under ubuntu hoary, apparently the start-stop-daemon runs the backend as myth
155 but doesn't use myth's envioronment settings (not sure if this is what it's meant to do or not).
156 adding HOME=/home/mythtv to the top of the init script appears to solve this problem.
157
158 !!Ubuntu installation
159
51 SimonGreen 160 Ubuntu's community wiki has an excellent guide on getting MythTV working in Feisty (and earlier versions too). It can be viewed at [[https://help.ubuntu.com/community/MythTV]]. To make matters even easier (as if it wasn't already easy enough), the ivtv module and firmware are included in Feisty by default.
44 JustinHyde 161
162 !Backend won't start
163
164 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.
165
47 JohnMcPherson 166 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.
167
168 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.
44 JustinHyde 169
46 JustinHyde 170 !Mythweb
171
172 You need to install mod_rewrite:
173
174 <pre>
175 a2enmod rewrite
176 </pre>
177
178 and then you need to edit /etc/apache2/sites-enabled/000-default to include
179
47 JohnMcPherson 180 <verbatim>
46 JustinHyde 181 <Directory /var/www/mythweb>
182 FollowSymLinks yes
183 AllowOveride all
184 </Directory>
47 JohnMcPherson 185 </verbatim>
46 JustinHyde 186
187 Restart with <tt>/etc/init.d/apache2 force-reload</tt>.
43 JustinHyde 188 -----
189 CategoryNotes

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach()