2020-12-08 17:53:38 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
|
|
|
|
{
|
2020-12-09 00:08:41 +00:00
|
|
|
internal class DiscoverResponse
|
2020-12-08 17:53:38 +00:00
|
|
|
{
|
|
|
|
public string FriendlyName { get; set; }
|
|
|
|
|
|
|
|
public string ModelNumber { get; set; }
|
|
|
|
|
|
|
|
public string FirmwareName { get; set; }
|
|
|
|
|
|
|
|
public string FirmwareVersion { get; set; }
|
|
|
|
|
|
|
|
public string DeviceID { get; set; }
|
|
|
|
|
|
|
|
public string DeviceAuth { get; set; }
|
|
|
|
|
|
|
|
public string BaseURL { get; set; }
|
|
|
|
|
|
|
|
public string LineupURL { get; set; }
|
|
|
|
|
|
|
|
public int TunerCount { get; set; }
|
|
|
|
|
|
|
|
public bool SupportsTranscoding
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
var model = ModelNumber ?? string.Empty;
|
|
|
|
|
|
|
|
if (model.IndexOf("hdtc", StringComparison.OrdinalIgnoreCase) != -1)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|