MythTV is a very simple install in Ubuntu Feisty. Complete instructions are on the Ubuntu wiki.
Prior to Ubuntu, the best guide and distribution was Fedora Myth(TV)ology 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.
This is probably an ivtv DMA issue - see IvTvNotes for a description of a fix
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.
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.
Then you need to give your database remote access:
% mysql -u root -p mysql> GRANT ALL PRIVILEGES ON mythconverg.* TO 'mythtv'@'remotehost' IDENTIFIED BY 'password'
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:
mysql> select * from settings WHERE value = 'BackendServerIP'; +-----------------+------------+---------------------+ | value | data | hostname | +-----------------+------------+---------------------+ | BackendServerIP | 10.69.1.20 | brian.ellusions.tla | | BackendServerIP | 127.0.0.1 | lounge | +-----------------+------------+---------------------+ 2 rows in set (0.00 sec) mysql> UPDATE settings SET data='10.69.1.20' WHERE value='BackendServerIP' AND hostname='lounge';
This is all in the howto, of course, but I only found it afterwards.
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."
Thanks to Michael T. Dean on the mythtv-users mailing list for nailing this one!
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.
|Channel||Frequency||XMLTV id (hairy.geek.nz)||MHz|
Useful link for channel id's covers entire country: http://www.lincrad.co.nz/transmitters.htm
Tell mythtv-setup to use the DVB grabber, and don't load anything in.
sudo su - mythtv mkdir bin cd bin
#!/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
chmod a+x listings.sh crontab -e
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:
# 5am Sunday and Wednesday 0 5 * * 0,3 /home/mythtv/bin/listings.sh
You will now get guide information!
Note: This has been tested and works under Mono, 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 have found this problem under ubuntu hoary, apparently the start-stop-daemon runs the backend as myth but doesn't use myth's envioronment settings (not sure if this is what it's meant to do or not). adding HOME=/home/mythtv to the top of the init script appears to solve this problem.
Ubuntu's community wiki has an excellent guide on getting MythTV working in Feisty (and earlier versions too). It can be viewed at /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.
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.
You need to install mod_rewrite:
and then you need to edit /etc/apache2/sites-enabled/000-default to include
<Directory /var/www/mythweb> FollowSymLinks yes AllowOveride all </Directory>