2014-12-14, 07:35 PM
I noticed today that my SiliconDust HDHR locked up and was not responsive. I had to physically reset the device (via power cord) to get it working again.
While it was in this unresponsive state, NPVR behavior was that I'd get a black screen with no notice that there was a problem. See logs below, there is an obvious message "Error: unable to connect to device", however there doesn't seem to be a catch for this error in the code...
I would have suspected, NPVR would have iterated thru my tuner list until it either found a responsive tuner or exhausted the list (and returned an error message to the UI). I have a 2250 that could have served up the channel...
Thoughts?
While it was in this unresponsive state, NPVR behavior was that I'd get a black screen with no notice that there was a problem. See logs below, there is an obvious message "Error: unable to connect to device", however there doesn't seem to be a catch for this error in the code...
I would have suspected, NPVR would have iterated thru my tuner list until it either found a responsive tuner or exhausted the list (and returned an error message to the UI). I have a 2250 that could have served up the channel...
Thoughts?
Code:
2014-12-14 10:20:51.126 [DEBUG][9] StartStream(10365:8 KTXL)
2014-12-14 10:20:51.126 [DEBUG][9] looking for capture source
2014-12-14 10:20:51.126 [DEBUG][9] checking: HDHomeRun Device 1318E35A
2014-12-14 10:20:51.126 [DEBUG][9] enabled and present
2014-12-14 10:20:51.126 [DEBUG][9] does not have channel
2014-12-14 10:20:51.126 [DEBUG][9] checking: HDHomeRun Device 1318E35A
2014-12-14 10:20:51.126 [DEBUG][9] enabled and present
2014-12-14 10:20:51.126 [DEBUG][9] does not have channel
2014-12-14 10:20:51.126 [DEBUG][9] checking: HDHomeRun Device 1318E35A
2014-12-14 10:20:51.126 [DEBUG][9] enabled and present
2014-12-14 10:20:51.126 [DEBUG][9] does not have channel
2014-12-14 10:20:51.126 [DEBUG][9] checking: IPTV Device
2014-12-14 10:20:51.126 [DEBUG][9] enabled and present
2014-12-14 10:20:51.126 [DEBUG][9] does not have channel
2014-12-14 10:20:51.126 [DEBUG][9] checking: HDHomeRun Device 1318E35A
2014-12-14 10:20:51.126 [DEBUG][9] enabled and present
2014-12-14 10:20:51.126 [DEBUG][9] has channel
2014-12-14 10:20:51.126 [DEBUG][9] live tv is possible
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@1]HDHomeRunRecorder@1[/email]
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@2.0]HDHomeRunRecorder@2.0[/email]
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@2.1]HDHomeRunRecorder@2.1[/email]
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@2.2]HDHomeRunRecorder@2.2[/email] nextPort=36314
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@2.2.0]HDHomeRunRecorder@2.2.0[/email]
2014-12-14 10:20:51.126 [DEBUG][9] HDHomeRunRecorder@2.2.0@allocated
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@2.3]HDHomeRunRecorder@2.3[/email]
2014-12-14 10:20:51.126 [DEBUG][9] Allocated port: 36314
2014-12-14 10:20:51.126 [DEBUG][9] [email=HDHomeRunRecorder@3]HDHomeRunRecorder@3[/email]
2014-12-14 10:20:51.126 [DEBUG][9] About to start HDHR device. Checking status for information sake... (could tell if it's already in use elsewhere)
2014-12-14 10:20:51.126 [DEBUG][9] Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 1318E35A get /tuner0/status
2014-12-14 10:20:51.846 [DEBUG][9] [B]Error: unable to connect to device[/B]
2014-12-14 10:20:52.931 [DEBUG][9] [email=SetTarget@2]SetTarget@2[/email]
2014-12-14 10:20:52.931 [DEBUG][9] Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 1318E35A set /tuner0/vchannel 8
2014-12-14 10:20:53.333 [DEBUG][9] [B]Error: unable to connect to device[/B]
2014-12-14 10:20:53.743 [DEBUG][9] ForcedIP.xml does not exists
2014-12-14 10:20:53.743 [DEBUG][9] [B]Unexpected error looking up ip from netmask: [/B]System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at NShared.HDHomeRunRecorder.DetermineIP(String deviceIdentifier)
2014-12-14 10:20:54.262 [DEBUG][9] NIC: Realtek PCIe GBE Family Controller
2014-12-14 10:20:54.262 [DEBUG][9] Executing: C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe 1318E35A set /tuner0/target rtp://192.168.1.30:36314
2014-12-14 10:20:54.263 [DEBUG][9] [email=SetTarget@2]SetTarget@2[/email]
2014-12-14 10:20:54.263 [DEBUG][9] Allocated Handle: 1
2014-12-14 10:20:54.276 [DEBUG][9] Live TV handle: 0x250001
2014-12-14 10:21:04.354 [DEBUG][9] Renew lease ok (0x250001)
2014-12-14 10:21:14.420 [DEBUG][9] Renew lease ok (0x250001)