Saturday, May 9, 2015

Damn I Hate Windows Media Center

Actually hate is not strong enough of a word for I feel about WMC. Loath might come closer.

WMC almost immediately began complaining that it didn't have enough space to record programs. There was 60 GB on the C drive for Pete's sake and 30 GB on the media volume. At first I thought that it was freaking out because it the media volume was a mapped drive and not a using a drive letter, thereby making it difficult to tell how much space was left on the media volume. Then I discovered that there was even more space on the system drive (Drive C). So, I don't know what the heck its problem was.

So I went through and told WMC not to delete programs that are older than 2 week. ("Yes, I know how far behind I am. I don't need a piece of software to nag me.") So, I figured that it would just do the best it could when it actually ran out of space, or perhaps delete old programs if it actually ran into trouble. Nope, it didn't do something sensible like that. It just didn't record the program... that it had plenty of space to record... because, well, because its disk space estimation algorithm is horribly flawed!

No wonder Microsoft is not going to support this piece of junk in Windows 10. I really wish there was another game in town for recording encrypted programs.

So, my intention was to work really hard a watching all the programs on the media volume and then give it a drive letter. But after I discovered this crappy software was just refusing to record, I looked at the Fry's online ad and found that Western Digital 1 TB hard drives were on sale. I started to get an external drive and make my life easier, but my HTPC won't support USB 3. It did support eSATA, but Fry's didn't have any external drives with that, so I was going to need to purchase a drive enclosure and drive separately. After I picked the hard drive, I decided to dispense with the enclosure and try to install it in the machine directly. That went well, except for one little wrinkle: The SATA power cable, which had the perfect number of three connectors on it (two for the hard drives and one for the Blu-Ray DVD) wouldn't quite reach to all three drives. No matter how I turned it. The first connector would reach to the original hard drive, and the last connector would reach to the second hard drive, but I couldn't quite make the middle cable reach the DVD drive, although the new drive and the DVD drive are in the same cage. Or, I could make the second and third connectors fit into DVD drive and the new drive, but not quite reach to the original drive.

I almost purchased a SATA power cable extension when I discovered that I still had a second SATA cable for the Seasonic power supply. (Hooray for module power supplies.) I plugged it in, connected it to the original, booted the machine, created a volume for the entire 1 TB hard drive (this time with a drive letter), and told WMC to record TV programs there. (I had created a WMC\Recorded TV folder for it, but no, it just created its own Recorded TV folder on the root of the drive. Grrr.)

I hope it's happy now. I hear that Silicon Dust is running a Kick Starter campaign to write a DVR program that can handle encryption. I need to check that out.

Saturday, February 21, 2015

SiliconDust's HD HomeRun Prime

I knew some day, it would come to this. Back when the country was switching to digital TV, and everyone without a modern TV set was going to have to get an adapter so that they could receive the digital signals, Time Warner Cable here was touting "If you're a Time Warner customer, no need to worry. We've got you covered." Yeah, right. I knew at some point, Time Warner would stop broadcasting its analog signals, and my HTPC would become a whole lot less capable.

I mean, they could have switched the basic cable channels to unencrypted and then it would be fine, but what are the odds of that?

So, in December 2014, we got the letter telling us that they were going all digital, and I started looking for a solution. I guess I could have given up and got one of TWC's DVRs, but I must admit that I liked being able to stream Netflix in my living room, so I looked into other solutions, and I found one: Silicon Dust's HD HomeRun Prime. I looked at the offerings of others, including Hauppauge's, but I liked the HD HomeRun Prime because 1) it could receive three channels at once, 2) it used Ethernet to communicate with the HTPC, and 3) it would send its signal to any computer in the house, not just the HTPC. Sweet.

In the spirit of full disclosure, my friend at work, Steve, did some research on this (in fact I think that the HD HomeRun Prime had originally been his suggestion) and found lots of glowing reviews on it, but there was one ominous post. Someone asked, how do I get this to work on TWC? The answer had been, you don't. Undaunted by this, I purchased the HD HomeRun Prime and plowed ahead.

Now, I could relate the entire sorry affair of all the dead ends that I took to get this thing working, but it's not that interesting, so I'm going to switch gears in this narrative and just tell you what it takes to "get'er done", as an ex-boss of mine says.

  1. The first thing you'll want to do is get a network drop in the room where the HTPC is, if you don't have one already. The HD HomeRun Prime, hereafter called HDHR3, will not stream HD signals through a wireless network. Ever since I set up the HTPC in my living room, I've wished that I had a wired network there, so I took this opportunity to do that.
  2. If you don't have one already, get a Gigabit switch, like the NetGear ProSAFE 8-port Gigabit Desktop Switch. There's no sense in pumping a HD signal through a 100 Megabit network.
  3. Go down to TWC and request a CableCARD, Tuning Adapter, and a digital signal splitter. The signal splitters that they sell at Radio Shack are not worthy.
  4. If you're HTPC is not running Windows 7 already, then take the time to install it. I was still running Vista, but the software for HDHR3 requires Windows 7, and you will need Windows Media Center. I have heard that Microsoft has dropped WMC from Windows 8 and beyond. Sadly, this software is essential for the effort, as I eventually learned.
  5. Hook the HDHR3 and the Tuning Adapter to the cable network. TWC sent instructions to do this and, despite it being a very simple process, they still left out some vital pieces of information. The main problem is that they were instructions for several CableCARD devices, none of which are the HDHR3. They also have instructions on the web that, again, don't include the HDHR3. As I said, this is really a simple process: Connect the digital cable splitter to the network, if not there already, and run its output signals to both the HDHR3 and the tuning adapter. Yes, it looks like you can run the signal from the tuning adapter to the HDHR3, but that way lies madness. Give them each their own signal. Next, put the CableCARD into the HDHR3. Yes, the tuning adapter has a slot for it too, but the HDHR3 is where it belongs. Run the USB cable that came with the tuning adapter between the HDHR3 and the tuning adapter. Finally, plug the HDHR3 into your home network. The TWC instructions say to power on the CableCARD device first and activate it, but I powered on both the HDHR3 and the tuning adapter at the same time, with no ill effects. I don't think that it matters.
  6. Open your browser, and navigate to the Silicon Digital's website for the instructions to install the HD HomeRun Prime. The most important thing that you will need to do is to download the software for the HDHR3 and install it. It's pretty obvious what to do, so I will not bore you with the details.
  7. Now the clerk at TWC told me that my CableCARD was already activated. This was not the truth. Perhaps it was correct for the tuning adapter, but you'll need to activate it for the HDHR3. From the Start menu, navigate to HDHomeRun/HDHomeRun Setup. Click on the Device Inputs tab. On this tab, you'll see table of HDHomeRun Primes that the setup software detected. In the left hand column, there will be an underlined hexadecimal number. Click on it. Your browser will open and you'll be communicating directly with the HDHR3. You'll see a menu of choices on the HDHR3 webpage, click on CableCARD Menu, then click on Cisco CableCARD/Host ID Screen. This page will give you instructions for how to activate the cable card, which includes calling a number on the screen, having a pleasant chat with TWC customer support computer until you finally can convince it that it can't help you and it sends you to a human. Even here you might get bounced around a bit, but just keep asking for CableCARD support until you get one of the folks who can actually help you. They will eventually ask you for the Host ID and perhaps the CableCARD ID. Then they will work some magic on their end and your HDHR3 and the CableCARD will be paired.
  8. At this point, your hardware is set up. If you open HDHomerun VIEW, you will be able to see the unencrypted QAM channels, but you might not be able to hear them. If this is the case, you need to install an AC3 CODEC. I downloaded Media Player CODEC Pack from www.mediaplayercodecpack.com, but I understand that the K-Lite CODEC Pack, available from several places, including www.free-codecs.com is a better source. You'll need the Full version of K-Lite for AC3 support. Be sure to look at the bottom of the screen for the download button. All of the other Download buttons on the page are ads.
  9. If you are thinking, I'd really rather use Next-PVR or KODI, those might work if all you want are the QAM channels, but you'll need to set up your own source to the Electronic Program Guides (EPGs). Initially I went down this path, but I wanted to be able to record the basic cable channels, and for TWC, these pieces of software are a dead end. Press on to Windows Media Center.
  10. Start WMC and go through its setup. Then, down arrow to Extras and then right arrow to Extras Gallery. If none of the Extras is the Digital Cable Advisor (DCA) (or you don't have an Extras Gallery at all), you will need to download it. The HDHR3 website gives instructions, but essentially you need to close WMC, open a Command Prompt as Administrator, and then execute the command C:\Windows\ehome\mcupdate.exe -u.
  11. When you can run the DCA, execute it from the Extra Gallery. It will ask a few questions, and then run a scan on your system to see if it meets the "minimum requirements for performance and display capabilities". It declared my machine "not worthy" because the display adapter or driver was not capable of supporting HDMI. Sadly, it does not tell you what exactly is wrong, so you have no hope of fixing it. However, I knew that it was total BS since my HTPC had been handling HD for years. If you get this message, again the HDHR3 website has advice for this, and that is following instructions on www.missingremote.com for overriding the DCA. Basically this will involve you setting up an account with Missing Remote (not terribly onerous), downloading a Windows command script, and then running that script as Administrator. What this script does is tell the DCA that its system scan has already been run and it completed successfully. When the script completes, start the DCA again. This time, when it gets to the point of performing the system scan, it will announce "Congratulations" instead. Click Cancel to exit the DCA.
  12. When the DCA has been run, you are still not ready to watch TV. Now, in WMC, down arrow to Tasks, then click on Settings. In the Settings, click on TV, then TV Signal, then Set Up TV Signal. Answer its questions until it scans your machine for tuners. It should locate the HDHR3 tuners. Accept this configuration and click Next. You'll next be presented with a screen to activate the CableCARD. Click Yes and then Next. You will then be presented with a screen asking you to contact your cable company to activate the card. You'd already done this. Keep clicking Next until you see a screen for setting up the TV Signal Provider. Select your provider, such as Austin, Time Warner Cable (Digital), and click Next. You'll see a confirmation screen, click Next and then click Finished.
  13. At this point, you are ready to watch TV, but may not be ready to record. If you wish to have the recordings placed on a separate disk drive, down arrow to Tasks, and then click on Setup. Then click on TV, Recorder, Recorder Storage. There you will be able to add another drive to record on. However, if you have the second drive mounted as a volume, you will not be able to do it through this interface. Close WMC. Click on the Start button. In the Search Programs and Files box, enter regedit. In the search results, click on regedit.exe. (Insert standard disclaimer about being careful changing things in the registry.) Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Recorder. Change RecordPath to be the full path to the directory that you wish recordings placed in. I also changed LastRecordPathSet, but I don't think that is necessary. Note that WMC will not have an accurate understanding about the remaining space on the drive, since it only looks at the drive letter.

And there you have it. You are ready to record and watch TV. WMC will not be able to watch the SageTV recordings that I still have, so I reinstalled SageTV. It looks like there is a way for SageTV to see the HDHR3 cards, but you have to install some other software first. If I do that in the future, I'll cover it in a separate blog entry. I am also thinking about adding an HD antenna so that my Hauppauge card can pick up over the air signals. That way I can record 5 programs at once, and if TWC gets into another tiff with one of the local channels, I'll be covered.