2014-04-26, 07:38 PM
Svekke Wrote:Thank you for the update. Sorry for the late reaction. Didn't had the time to change the stuff.
Some new question for you. Is it possible to give more information? Now i have this in MB3 --> http://i.imgur.com/xds9yem.png
We have the following class for the "live tv" tuners
Code:public class LiveTvTunerInfo
{
public LiveTvTunerInfo();
public string ChannelId { get; set; }
public List<string> Clients { get; set; }
public string Id { get; set; }
public string Name { get; set; }
public string ProgramName { get; set; }
public string RecordingId { get; set; }
public string SourceType { get; set; }
public LiveTvTunerStatus Status { get; set; }
}
So is it possible to give more information on a tuner?
public string ChannelId { get; set; } --> The current channelId (doesn't matter recording, live stream, ...)
public List<string> Clients { get; set; } --> That's something on our side
public string Id { get; set; }
public string Name { get; set; } --> The name of the tuner ( You can see it on the screenshot )
public string ProgramName { get; set; } --> The program name ( doesn't matter recording, live stream,... )
public string RecordingId { get; set; } --> When there is a recording, the recording id
public string SourceType { get; set; } --> I should ask Luke, what this means.
public LiveTvTunerStatus Status { get; set; } --> Is there a status available? Like recording, live stream ....
I checked some stuff for the stream, recording. It looks the problem is when one of the two stops. And not at the start...
Not sure, but that's something i tried on my local machine..
I think some of the info is already there... I'll check API to see if there is any more info I can pass back or not....
Code:
{
"Tuners": [
{
"tunerName": "Silicondust HDHomeRun Tuner 101B02C7-0:1", [color=#FF0000]==> Tuner Name[/color]
"tunerStatus": "Recording", [color=#FF0000]==> Tuner Status[/color]
"recordings": [
"Kill Bill: Vol. 1" [color=#FF0000]==> Recording Name[/color]
],
"liveTV": []
},
{
"tunerName": "Silicondust HDHomeRun Tuner 101B02C7-1:1",
"tunerStatus": "Recording",
"recordings": [],
"liveTV": [
"LiveTV - F:\\Live_TV_Buffer\\live-63.1600-WHP-2596-1.ts" [color=#FF0000]==> Live TV[/color]
]
},
{
"tunerName": "Silicondust HDHomeRun Tuner 10143F3B-0:1",
"tunerStatus": "Sleeping",
"recordings": [],
"liveTV": []
}
]
}
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's