You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
908 B
43 lines
908 B
3 years ago
|
#nullable disable
|
||
|
|
||
4 years ago
|
using System;
|
||
|
|
||
5 months ago
|
namespace Jellyfin.LiveTv.TunerHosts.HdHomerun
|
||
4 years ago
|
{
|
||
4 years ago
|
internal class DiscoverResponse
|
||
4 years ago
|
{
|
||
|
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;
|
||
|
|
||
6 months ago
|
if (model.Contains("hdtc", StringComparison.OrdinalIgnoreCase))
|
||
4 years ago
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|