Cooking with Linux - Watching the Community Network
This is all you need. There are also a handful of recommended modules, which you will be told about when you install the xmltv package. The installation is typical for Perl packages and not unlike the standard extract and build five-step:
xmltv-0.5.10.tar.bz2 cd xmltv-0.5.10 perl Makefile.PL make su -c "make install"
As part of the XMLTV installation, you'll be asked about listings for your area, so pay attention to the messages at this stage. You're almost there. Because MythTV uses MySQL to store its information, you need to set up a database for it. You also should have the qt-MySQL package loaded (look for qt-mysql or libqt3-mysql). Even if you have MySQL set up properly, you may get an error similar to QMYSQL3 driver not loaded if you run without this. Now, make sure MySQL is installed and running, then use the provided schema file:
cd database mysql -u root < mc.sql
Depending on your distribution, you may not need the -u root above. Now, we still have a couple of database things to attend to here. At this point, only the localhost address is allowed to access the MythTV databases. In my case, I wanted to provide access to all users in my 192.168.22.0 private subnet:
$ mysql -u root mythconverg mysql> grant all on mythconverg.* to \ mythtv@"192.168.1.%" identified by "mythtv";
The percent sign above is used as a wild card. Consequently, if you want to allow all domains in (probably not what you want), remove the subnet portion and leave only the percent sign.
Aside from taking several steps, the installation was pretty easy. That said, I did run into a couple of minor problems. For instance, with qmake, part of the Qt development package, the configure script didn't seem to be able to locate the program, so I created a symbolic link for it in /usr/bin. Then, I ran a make from the MythTV distribution directory, and all was well.
Now that you've compiled and installed the software, in the MythTV distribution directory, you'll see a directory called setup, and in that directory, an executable by the same name. Run the command as follows: setup/setup.
You'll see a screen with four options labeled General, Capture Cards, Video Sources and, finally, Input Connections. Go through each of these to configure MythTV for your local system setup. Your input connections (number 4) should basically be set up already as part of selecting your video sources. Pay attention to the on-screen help messages and guides as you go through this process. When you are done with all the setup steps, press Esc.
Now, run mythfilldatabase to pick up your television listings. If this is the first time, you may encounter an error because your local xmltv configuration file may not exist:
You'll be asked for your ZIP or postal code to help identify a local provider for the TV guide listings. From that list, you also will be able to decide for which channels xmltv will gather listings. Being one for spice in my life, I opted for maximum variety and accepted every channel. Filling the database with program information is certainly something you will want to do with a cron job.
The next step is to start the mythbackend program. I chose to run it as a dæmon by using the -d option (you can add this to your rc.local start-up scripts if you like).
Finally, as a regular user, run mythfrontend to start up the MythTV interface. At this stage, you have two options on the graphical screen, setup and TV. Use your cursor keys to navigate the screen. Choose TV, and you'll be able to select from watching TV now, scheduling a recording or watching a previously scheduled recording. You also can browse the Program Guide for current or upcoming programs (Figure 4).
Another option is to record embarrassing programs from your youth, such as my early documentary of the 1984 Tall Ships Festival, “Romancing the Sail”. Select the appropriate channel for your VCR, pop in the tape and record those memories.
MythTV is an excellent package with a great deal of energy and promise. In addition to the obvious television playing and recording aspect of the package, additional modules are available, which I don't have time to cover here. They include MythWeb, which allows control of MythTV through a Web page; MythGallery, for photos and slideshows; MythMusic, for ripping, storing and playing music files; and MythWeather, for weather information.
Well, mes amis, the hour is growing late and we must soon close the doors. As late as it is, after tonight, you will have no worries about missing your favorite programs, non? In the meantime, François happily will pour you another glass of wine—perhaps we should make it two glasses, and you can pretend you never saw that old Marcel video. There is surely something to be said for growing up. Until next time, mes amis, let us all drink to one another's health. A vôtre santé! Bon appétit!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
- RSS Feeds
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Dynamic DNS—an Object Lesson in Problem Solving
- New Products
- Validate an E-Mail Address with PHP, the Right Way
- Drupal Is a Framework: Why Everyone Needs to Understand This
- A Topic for Discussion - Open Source Feature-Richness?
- Download the Free Red Hat White Paper "Using an Open Source Framework to Catch the Bad Guy"
- Tech Tip: Really Simple HTTP Server with Python
- Roll your own dynamic dns
4 hours 5 min ago
- Please correct the URL for Salt Stack's web site
7 hours 16 min ago
- Android is Linux -- why no better inter-operation
9 hours 31 min ago
- Connecting Android device to desktop Linux via USB
10 hours 23 sec ago
- Find new cell phone and tablet pc
10 hours 58 min ago
12 hours 27 min ago
- Automatically updating Guest Additions
13 hours 35 min ago
- I like your topic on android
14 hours 22 min ago
- This is the easiest tutorial
20 hours 58 min ago
- Ahh, the Koolaid.
1 day 2 hours ago