diff options
Diffstat (limited to 'src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs')
| -rw-r--r-- | src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs new file mode 100644 index 0000000000..3ece181f25 --- /dev/null +++ b/src/Jellyfin.LiveTv/TunerHosts/HdHomerun/DiscoverResponse.cs @@ -0,0 +1,42 @@ +#nullable disable + +using System; + +namespace Jellyfin.LiveTv.TunerHosts.HdHomerun +{ + internal class DiscoverResponse + { + 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.Contains("hdtc", StringComparison.OrdinalIgnoreCase)) + { + return true; + } + + return false; + } + } + } +} |
