Archive for the ‘HTPC’ tag
HTPC Log 05 – EPG, Network Recorded TV Fixed
A week after I first finished setting up the EPG, I noticed that it wasn’t working properly. I’ve been busy since then, but finally got the time to do some maintenance this weekend. I found out that the problem was that my discSvc registry value had changed back to the default value, reason being the disableUpdateDiscSvc entry was missing. After adding the missing DWORD entry and setting it to 1, everything is back to working condition. Tested it a few times by manually asking Media Center to grab the latest guide data, no problems.
Now, over the past few weeks my dad has been following the NBA and recording whatever matches were being broadcast. This ate up disk space, fast. Fortunately, I had already foreseen this problem back when we first put the HTPC to use, and had prepared a nice 1TB NAS (for general backup and archiving, including recorded TV). Trouble is, Media Center doesn’t like letting you add network folders to the More TV Locations list. Initially I tried using the registry hack method, but that didn’t do anything. Then I found this, which involves creating a symbolic link to the network folder and thereby tricking Media Center. Worked like a charm. Only problem now is I still have Media Center recording new shows to the cramp local drive, and I have to manually move recordings over to the NAS. I guess I could try the symbolic link trick, but because my HTPC is a little far from my router, the WiFi connection isn’t the best. I’ve also noticed that sometimes the WiFi doesn’t work at all after resuming from sleep, but I’ve yet to confirm and look into this. Anyway, since the WiFi isn’t stable, I don’t want to risk the recorded TV being lost or corrupted, so I’m leaving it to first record to the local drive.
I’m considering writing a simple add-in that would automatically watch for disk space and move files when needed, or simply provide an interface for the user to manually “move recording to network drive”. Unfortunately, I don’t have time for that right now. Another option I came across is to use Belvedere to automatically monitor the folder and move files once they pop up, but each recorded TV file is usually huge and so takes awhile to move over to the NAS. If I were to let Belvedere do this automatically in the background, there’s the possibility of my dad (or whoever’s using the HTPC) switching it off before the move can complete. And if this keeps occurring then well, the files would never get moved over. I could schedule it to run during the night, but again I have no idea how long it’ll take. Plus we don’t record stuff every day, so on those nights the computer would wake up and sit there for a few hours for nothing. Ideally it should only automatically wake up and do the moving only if there are files and limited space left, and go back to sleep once it is done. Unfortunately, I haven’t found a tool that does this.
HTPC Log 04 – EPG Done, Update on IR
Finally got around to finish setting up TVxb with BladeRunner Pro to get EPG data. Seems to work fine, but I will have to continue monitoring it to make sure it automatically stays up to date (depends on whether or not the scheduled task was created with the correct settings). Also, missing some channels – namely the free-to-air ones like channel 5 (including 5HD). Problem is the Starhub portal doesn’t provide guide info for that, so will probably have to try getting from elsewhere.
On the channel changing side, site visitor Paul came across some useful information. This did help get past the remote learning phase, but instead the results were worse – media center was unable to change the channels at all. The IR blaster seems to be sending signals, but the STB is not responding.
HTPC Log 03 – TV Quality, IR Blaster Woes
Switched to using Composite input from the Starhub HD box. No significant improvements, unfortunately.
The poor quality can be primarily described as having a lot of significant scanlines. I’ll try to upload a screenshot/sample video. Perhaps something to do with the NTSC/PAL settings? I don’t know if Media Center has such settings, though.
Deciding to stay with the current setup, so that we can record other Starhub channels as well. After discussing with my dad, we decided that it’s not as important to be able to watch and record at the same time, as the likelihood of that being required is very low – usually we record stuff only when we’re not around. The chances of there being two programs we really want to watch being shown simultaneously is low. However, this gives rise to a new problem: I can’t get the IR blaster to work reliably.
First off, Vista Media Center is unable to recognize the Starhub HD box remote, and I can’t seem to get it to learn – it keeps telling me to press-hold-release button ‘1’, and never moves on. I decided to work around this by telling VMC that the box doesn’t have a remote, but it doesn’t change the channels properly 100% of the time. What happens is that the numbers being sent gets recognized extra times. I don’t think I’ve ever encountered it sending the recognizing numbers altogether. I’ve noticed that this seems to happen more (if not only) with certain numbers. In my case, the number 6 (ie. if I try to change to channel 6, about 40% of the time it changes to 66 instead). This of course is unacceptable because that means we may end up recording the wrong channel, so more investigation is required here.
Settings I’m using: Cable, comes with Set-top Box, No Remote, requires to press “Enter” or “OK” before changing channels, StarHub, code: (the first one) I think it is C19…something, speed: slow.
Come to think of it, when testing the speed, Fast/Medium may have worked. They worked sometimes, and other times I had the “duplicate numbers” problem. I forgot to notice whether or not that happened for all channels, or only certain numbers. If it was only certain numbers, perhaps the IR blaster is sending the wrong signal for those numbers, and the problem has nothing to do with the speed.
HTPC Quick Specs:
Intel Pentium 4 CPU 2.80GHz
2×512MB PC3200 DDR RAM
Microsoft Windows Vista (6.0) Ultimate Edition Service Pack 1 (Build 6001)
Shuttle FB71x
HTPC Log 01 – S3 Sleep, TV Tuner Quality
(Quick Specs: an old shuttle PC running Vista. ok, I can’t remember the specs. will update later)
Attempting to get S3 sleep state to work.
Had to change power settings in BIOS – ACPI Standby State set to S3. I think setting it to S1&S3 didn’t seem to work, will elaborate more on this later.
Initially, I followed the instructions as linked above but it made things worse – the PC didn’t seem to power down at all, with the “On” indicator light not going off. It turned off the TV display but that’s about it.
Then I found out that the problem was having created based off the High Performance plan. When using High Performance, the computer doesn’t sleep much, only as above. Switching to Power Saver fixed this, and my shuttle went off nice and quiet (previously you could still hear a fan spinning), as if it was completely off. Cool.
Minor problem at this point – had to push power button to wake it up, keyboard/remote control didn’t work. Fixed this by enabling wake by USB keyboard in BIOS.
Quick elaboration on setting BIOS ACPI Standby State to S1&S3 – when I had done so earlier, I think I was still using the High Performance plan. Don’t remember testing after I switched to Power Saver.
Next attempted to schedule a recording and put computer to sleep. However PC seemed to just turn off the display again. Suspecting Windows (Vista) Media Center to be preventing proper S3 sleep, closed VMC and tried going to sleep. Success. It came on as scheduled to record, but it didn’t go back to sleep after that.
End of this for today.
Noticed that watching TV through the PC (tuner card) was significantly worse than watching from Starhub HD STB. Understandable since what I’m getting is probably the analog free-to-air and signal strength is not as good as cable’s (and it’s analog vs. digital). Currently I’m using the TV OUT from the Starhub STB to connect to PC (via coax cable). Rerouted this TV OUT to TV to test signal quality. TV looks better than PC, but still worse than cable STB (over HDMI). Makes sense, but notes that the PC is indeed degrading quality. I need to figure out if it’s due to the TV card, or a VMC problem. Perhaps VMC is enconding the video badly before displaying? Or is the video encoding handled by the TV tuner card? The “bad” quality looks like it may be a compression issue. Will have to look into this.
Next up…
- Fix S3 Sleep
- Run another scheduled recording test, see if it goes back to sleep
- Verify scheduled recording behaviour by reverting to regular sleep
- Find out if this uses the Windows Task Scheduler. If so, might be able to get info from that.
- Verify inability to sleep when hybrid sleep enabled and VMC running
- Improve Live/Recorded TV Quality
- Check if it’s signal quality issue (including analog vs. digital) by switching to composite video input from STB (ie. see how cable channels look like)
