mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
40 lines
913 B
C#
40 lines
913 B
C#
using System;
|
|
|
|
namespace Emby.Server.Implementations.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.IndexOf("hdtc", StringComparison.OrdinalIgnoreCase) != -1)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|