Building a Linux PVR Part I - MythTV Setup and Install
- Posted in
- Linux
MythTV
We have gone through all the steps to get our hardware configured. From now on, we are basically software limited, assuring that we have properly configured and set up MythTV and its dependencies. Again, for those playing at home, please check the official MythTV documentation for setting up Myth.The largest issue that most people have with Myth are getting the dependencies correct. We used YAST, which in turn solved many of the dependencies for us. Just a quick refresher on which packages are needed:
qt3
qt3-devel
qt3-mysql
mysql
Some other items, such as XMLTV, Zap2It and lame, cannot be installed via YAST, and have some specific instructions of their own. Read the MythTV page very carefully.
Following the instructions on the Myth website got us up and compiling very quickly. Using the default compiling options, we had MythTV built and installed in a little under 20 minutes.
Now, we only need to run the setup configuration and install our plugins. The setup comes fairly easily once you become accustomed to using a keyboard or the remote control. There are two things that we must do before runnig ./setup. The first is to get mysql up and running, and then insert the Myth database. Myth's website documents this well.
The second thing to do concerns the Zap2it configuration. DataDirect (from Zap2it) downloads our channel listings and information, which is detailed on the MythTV page as well. Without DataDirect, we lose all of our Tivo-like functionality. Make sure to run the mythfilldatabase command before starting MythTV!
Finally, it is time to run ./setup. When we run the command, we are greeted with a simple screen with a few options. As we install plugins, this screen gets more complicated.
The majority of options should be left relatively unchanged, but since Myth is so configurable, we will go over some of the more interesting configuration options before Part II. Once in the initial setup screen, the first option allows us to configure the Myth database server. Remember, the Myth front end has no objections to running on a separate machine that does not have a PVR card at all!
Originally published at https://www.anandtech.com/show/1458 (Wayback Machine).

