MythTV


Systems

I met the devchix at the RailsConf 2008 Birds of a Feather (great time BTW) and somehow the conversation got onto the topic of PVRs. I was telling the ladies about the MythTV system I setup in my home a couple of months ago and how much fun I was having with it. They all wanted to know more about it and suggested maybe I could blog on devchix about it. Wow, a group of females that actually gets excited about this stuff! I’d love to share what I’ve learned with the group. So here goes!

First off, MythTV is very cool. It is a Personal Video Recorder (PVR) like TiVo or Windows Media Center but with some important differences;

  1. It’s cheap. Well, at least the software is. MythTV itself is free but you still have to have buy, borrow, or steal a computer to run it on and you have to sign-up with Schedules Direct for channel listings at about $20/year.
  2. It’s open source – yay!
  3. It’s not Microsoft – something about that just makes me feel good
  4. It includes some features the commercial PVRs don’t have like automatic commercial skip and burning to DVD
  5. You build your own hardware so you can add as many video capture cards or hard drives as your heart desires
  6. Techno geek ability is a prerequisite

And like other PVRs, MythTV includes;

  • Pause and Rewind live TV
  • Automatic recording of a show every time it’s on
  • Disk storage of as many recordings as you can fit on your disk
  • Playback of music and video from other sources
  • Support for HDTV

The only major feature that MythTV does not include, if you live in Canada, is the ability to purchase online movies. If you live in the U.S., however, you can download movies via Netflix.
MythTV Step 1 – hardware

Choosing hardware was the most difficult part of this project for me. I was nervous about forking out $500 to $1,000 for a computer and then not being able to get MythTV to work. I spent a lot of time googling hardware options to make sure that the components I selected would be compatible with Linux. Rule #1 when choosing hardware is make sure it works with Linux. Linux just isn’t plug and play and you will save yourself a lot of grief if you get hardware that MythDora includes drivers for. See MythTV HOWTO for details on compatible hardware. I chose an ASUS M2NPV mother board with embedded nVidia video card (detailed specs below). I recommend checking compatability of all the components you plan to buy especially the video card and video capture card. I chose an nVidia video card because they seem to be well supported in MythDora with binary nVideo drivers – just remember to select the nVideo drivers option when installing MythDora (it is not enabled by default). I installed 2 video captures cards, both Hauppauge PVR-150s. Having multiple video capture cards means you can record 2 shows at the same time or record and watch TV at the same time. I found tons of documentation online on MythTV with Hauppage cards so they seemed like a safe bet. Once I had selected all my components I went to our neighbourhood computer store with my specs and had them assemble it.

Here is the hardware I used…

Once you have your box get it all hooked up and ready for installation. You’ll need a few special cables.

  • S/Video cable to connect the video out on the video card to your TV (assuming your TV supports S/Video, if not, there are other video output options)
  • audio cable to connect left and right audio outputs on the audio card to your TV

Hook-up steps

  1. Connect cable TV via coax cable to TV in on Video Capture Card
  2. Connect S/Video Out on Video Card to S/Video in on TV Input-1 using S/Video cable
  3. Connect Audio Out on motherboard to Right and Left Audio In on TV Input-1 using Audio/Video Cable, black connector to Audio Out on motherboard, right and white connectors to red and white connectors on TV

MythTV Step 2 – Channel Listings

Before you install MythTV, sign up for Schedules Direct so that you can setup MythTV to download channel listings.

MythTV Step 3 – MythDora Installation

MythDora is an installation of MythTV bundled with Fedora. If you are installing a dedicated MythTV server I recommend MythDora for ease of installation.

Download MythDora DVD ISO from www.mythdora.com and burn to DVD (alternately you could download the CD ISO and burn to CD). I recommend connecting a monitor, keyboard, and mouse for installation, you can disconnect it later. MythDora installation is pretty straightforward. The only place I was a bit confused was in network setup. Remember that if you ever want to run another MythClient some day (if you want to access and play your MythTV content from another TV in your house), you should choose a static IP address when installing MythDora. I recommend watching the install video before you start. I had to do some additional steps to get Schedules Direct working with MythDora 4, as follows. Please note these instructions may not be applicable to the recently released MythDora 5.

Upgrading MythDora for Schedules Direct

  1. During the installation of MythTV under Video Sources select North America (Data Direct) for XMLTV Listings Grabber but do *not* select Retrieve Lineups. Under Input do *not* select Fetch channels from listings source.
  2. After completing the installation, follow the instructions at Upgrading MythDora4 for Schedules Direct
  3. Go back into MythTV setup and delete and recreate a video source. Then go back and select Retrieve Lineups and re-configure the Input and select Fetch channels from listings source.
  4. When done, exit out of Myth TV and run xterm via MythTV Tools and execute mythfilldatabase.

I also had an issue with TV out not working for this video card – nVidia GeForce 6150. Here’s what I did to fix it;
If TV out doesn’t work, disconnect the monitor and reboot. If it still doesn’t work, change the BIOS as follows;

  1. On Boot, select Del on the setup screen (be quick!) to enter the BIOS
  2. Select Advanced
  3. Select Chipset
  4. Change RGV/TV Display to TV
  5. Change TV Mode Support to NTSC-M
  6. Disconnect monitor and reboot

MythTV Step 4 – Using and Configuring

Here are a few tips on areas of MythTV usage and configuration that you may encounter.

Create a samba share /videos to /storage/videos and grant access to user mythtv

edit /etc/samba/smb.conf and add

videos
comment = Videos
path = /storage/videos
valid user = mythtv
public = no
writeable = yes
browseable = no

In a linux shell execute
smbpasswd -a mythtv and setting samba password
/etc/init.d/smb restart

Connect network share to \\myth\mythtv (where myth is hostname of MythTV server)

Skip Commercials

To skip commercials, configure the Recording Profile to flag Commercials and configure the Playback Profile to skip commercials. MythTV doesn’t delete commercials it just marks them and you can watch the recording with Auto-Skip enabled. If you burn a recording to DVD you can tell it to delete commercials before burning but you have to first load the commercials into a cut list. To load commercials into a cut list you need to click Menu to edit the recording (while watching it) and click Z to load the cut list. Unfortunately, the keys to press for Menu and Z will vary depending on the remote control you are using. It took me awhile to figure out what all the key mappings were for my remote control. If you are trying to figure out the buttons on your remote control the MythTV wiki is a good place to start . Also the MythTV Daily Use Manual is a great resource for figuring out the day to day operation of MythTV

MythTV has completed changed television viewing for my family. I haven’t watched *any* live TV since we set it up. Instead, I regularly surf the channel listings and record everything I want to watch. Now if I could just get enough time to watch all those hundreds of shows before my hard drive fills up – since of course I can’t possibly delete anything I haven’t seen, I mean, some day I’ll desperately want to watch it, right!? Or maybe I’ll just stroll back into the computer store and get a 2nd hard drive…


7 Responses to “MythTV”

  1. 2 Static » Blog Archive » MythTV

    [...] MythTV Remember that if you ever want to run another MythClient some day (if you want to access and play your MythTV content from another TV in your house), you should choose a static IP address when installing MythDora. … [...]

    Reply
  2. MythTV

    [...] unknown wrote an interesting post today onHere’s a quick excerptIt is a Personal Video Recorder (PVR) like TiVo or Windows Media Center but with some important differences;. It’s cheap. Well, at least the software is. MythTV itself is free but you still have to have buy, borrow, or steal a computer … [...]

    Reply
  3. #|Hash-Pipe » Girl Developer

    [...] my girlfriend can’t even work the microwave!” Then I go to these sites and read “Wow, a group of females that actually gets excited about this stuff!” I really hate that shocked tone, and yet we use it on [...]

    Reply

Leave a Reply