so looking at the ServerWMC log it seems there is some funny stuff going on with tuners. WMC reports a twin HDHomeRun (101AD13E-0 and 101AD13E-1) and another one (1019A464-0 and 1019A464-1) but also a "content recorder 3" with "no devices found/configured" and also 2 FM Radio tuners.
Code:
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Tuner Devices and TuningSpaces found:
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 0
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Device #0
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Name: Silicondust HDHomeRun Tuner 1019A464-0, Space: ATSC
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Guid: 167e2467-ad61-4f12-a939-6c2d0c27be76
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 1
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Device #0
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Name: Silicondust HDHomeRun Tuner 101AD13E-0, Space: ATSC
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Guid: e4363751-7891-4879-8b60-dfe00940f35c
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 2
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Device #0
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Name: Silicondust HDHomeRun Tuner 101AD13E-1, Space: ATSC
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Guid: 084b7c03-fcdb-4679-b547-d3e5f3bd2af1
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 3
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> >>> devices for this recorder not found/configured <<<
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 4
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Device #0
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Name: Silicondust HDHomeRun Tuner 1019A464-1, Space: ATSC
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Guid: 0a41bbd7-c99e-4c86-80f9-f06cb3638dcc
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 5
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Device #0
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Name: Hava Remote Video TvTuner, Space: FM Radio
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> Guid: 01b10e7d-3495-4865-af3d-4a75f9a2ebea
2016/01/18 00:07:54.773 EchoStartupInfo EnumerateRecorders> ContentRecorder: 6
2016/01/18 00:07:54.774 EchoStartupInfo EnumerateRecorders> Device #0
2016/01/18 00:07:54.774 EchoStartupInfo EnumerateRecorders> Name: Hava Video TvTuner, Space: FM Radio
2016/01/18 00:07:54.774 EchoStartupInfo EnumerateRecorders> Guid: 6c78777a-8958-4072-a9fa-66ea0c3f3f53
Then in the HDHR section we can see
Code:
2016/01/18 00:07:54.774 EchoStartupInfo HDHRtuner::Init> DeviceId: 101AD13E, IP: 192.168.1.125, Dlna: False, Transcode: False, Lineup.xml: True
2016/01/18 00:07:54.774 EchoStartupInfo HDHRtuner::Init> DeviceId: 1041D0C4, IP: 192.168.1.146, Dlna: True, Transcode: False, Lineup.xml: True
2016/01/18 00:07:54.774 EchoStartupInfo HDHRtuner::GetLineUp> found channel lineup file: 'C:\ProgramData\Silicondust\HDHomeRun\Digital Antenna.xml'
2016/01/18 00:07:54.774 EchoStartupInfo HDHRtuner::GetLineUp> exception in loading lineup.xml at address: http://192.168.1.125/lineup.xml
1 supports DLNA and the other doesnt, though that doesnt generally cause an issue since ServerWMC will find a DLNA capable tuner when you've enabled the DLNA mode. Also we have errors loading the lineup.xml from one of them (though I dont think this is the cause of any actual problem, im just observing things in the log file
)
Also, frequently throughout the log, we see
Code:
2016/01/18 09:58:04.689 HDHRtuner::GetParameter> returned error: unable to connect to device
2016/01/18 09:58:05.138 HDHRtuner::GetParameter> returned error: unable to connect to device
The actual ServerWMC error is an exception when trying to return a DLNA address for each channel. a quick look at the code makes me think it's due to the Content Recorder 3 having no devices under it (we try to directly index a Dictionary using the device ID, without checking if an entry exists for that device yet, since this isnt a normal situation that is encountered).
As krusty says we obviously need to fix that bug and handle this weird situation gracefully (skip past this invalid recorder and keep looking at the others)... but if you turn off DLNA mode that would prevent it from happening for the time being. If im correct in looking at the code, it looks like you also might be able to work around the problem by specifying "DefaultDLNADevice" in your config file to the IP address of the HDHR tuner (eg 192.168.1.146). This will stop ServerWMC from searching through all the tuner devices (and blowing up when it hits the content recorder 3 with missing device) to find a DLNA capable one to use, and just use the one the user has set in their config file instead.
It looks like you could do with re-doing the tuner setup in WMC to get rid of this invalid tuner as it isn't "normal" to have that. Meanwhile it's been a good catch, and we can make ServerWMC more robust to this odd scenario if it ever crops up on someone else's setup...