2021-05-20 21:28:18 +02:00
|
|
|
#nullable disable
|
|
|
|
|
2020-12-08 18:53:38 +01:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun
|
|
|
|
{
|
2020-12-09 01:08:41 +01:00
|
|
|
internal class DiscoverResponse
|
2020-12-08 18:53:38 +01: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;
|
|
|
|
|
2023-12-05 18:01:59 +01:00
|
|
|
if (model.Contains("hdtc", StringComparison.OrdinalIgnoreCase))
|
2020-12-08 18:53:38 +01:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|