I haven't found the offending download, but I might have found a workaround.
At first, I thought that media center had disabled the ATSC tuners in the file mcepg1-5-0.db
. I compared the disabled EPG with previous working copies. Believe me, it's numbing to comb through two 50MB files. But as far as I could tell there was no dfference between the working and disabled versions. But, reloading a previous EPG file didn't re-enable the ATSC tuners. In fact, all my backups failed to restart the ATSC tuners, even the very first hacked EPG file.
This led to a very curious, but totally useless fix.
- Backup mcepg1-5-0.db
- Run the TV Signal Setup for my location in Vancouver
- Delete mcepg1-5-0.db
- Restore the backup file mcepg1-5-0.db
- ATSC tuners work perfectly.
- ATSC tuners are disabled again
So, I concluded that the hacked EPG files where OK but the ATSC tuners were disabled elsewhere. Probably the registry. So, I pored through the ..\ehome\logs and found this interesting entry in the playback logs. These are created when you start live TV.
RecorderBroker:TunersEnumeration: Begin: Tuners Enumeration
Recorder:Recorder: #1 DeviceName=ViXS PureTV ATSC/DVBC Tuner RecorderId=b189b39e-d30f-49d2-81fd-b56a8c63e227
Recorder:Recorder: #2 DeviceName=ViXS PureTV Analog TV Tuner RecorderId=131e355b-171f-483d-a0bb-53849242e35b
Recorder:Recorder: #3 DeviceName=Hauppauge WinTV PVR PCI II TvTuner RecorderId=e5713270-6f7d-46e9-a64b-218890442d54
RecorderBroker:TunersEnumeration: End: Tuners Enumeration
RecorderModel:CheckNowRecording: #3 no change
RecorderModel:CheckNowRecording: #1 no change
RecorderModel:CheckNowRecording: #2 no change
When the hack is working, Media Centre finds 3 tuners, but once I reboot, it only finds the two analog tuners. A search of the registry found entries for those cryptic recorder IDs. The registry keys are:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion \Media Center\Service\Video\Tuners\
Contains entries for WDM Streaming TV Tuner Devices (analog) and BDA Tuner Devices (digital). Two fields maybe responsible for disabling the ATSC tuner:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion \Media Center\Settings\RecorderSettings0]
There are three keys (0,1,2) when the hack is working and only two for the analog tuners when it isn't.
After some trial and error, I was able to re-enable my ATSC tuners and the hack works after downloading new EPG data and after several reboots. So, I exported these keys when the hack was working.
Now I'm just waiting for Media Center to disable my hack so I can test this registry fix. I'm hopeul that this combination of EPG database and registry hacks will give me a permanent solution to enable ATSC tuners in Canada.