jellyfin-server/MediaBrowser.Controller/LiveTv/ChannelInfo.cs

87 lines
2.6 KiB
C#
Raw Normal View History

#pragma warning disable CS1591
using MediaBrowser.Model.LiveTv;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.LiveTv
{
/// <summary>
/// Class ChannelInfo.
2018-12-27 23:27:57 +00:00
/// </summary>
public class ChannelInfo
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
/// <summary>
/// Gets or sets the number.
/// </summary>
/// <value>The number.</value>
public string Number { get; set; }
/// <summary>
/// Get or sets the Id.
/// </summary>
/// <value>The id of the channel.</value>
public string Id { get; set; }
public string Path { get; set; }
public string TunerChannelId { get; set; }
public string CallSign { get; set; }
/// <summary>
/// Gets or sets the tuner host identifier.
/// </summary>
/// <value>The tuner host identifier.</value>
public string TunerHostId { get; set; }
2019-01-07 23:27:46 +00:00
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the type of the channel.
/// </summary>
/// <value>The type of the channel.</value>
public ChannelType ChannelType { get; set; }
2021-03-20 19:15:19 +00:00
/// <summary>
/// Gets or sets the group of the channel.
2021-03-20 19:15:19 +00:00
/// </summary>
/// <value>The group of the channel.</value>
2021-03-20 19:15:19 +00:00
public string ChannelGroup { get; set; }
2018-12-27 23:27:57 +00:00
/// <summary>
/// Supply the image path if it can be accessed directly from the file system.
2018-12-27 23:27:57 +00:00
/// </summary>
/// <value>The image path.</value>
public string ImagePath { get; set; }
/// <summary>
/// Supply the image url if it can be downloaded.
2018-12-27 23:27:57 +00:00
/// </summary>
/// <value>The image URL.</value>
public string ImageUrl { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance has image.
/// </summary>
/// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
public bool? HasImage { get; set; }
2020-08-31 20:20:19 +00:00
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets a value indicating whether this instance is favorite.
/// </summary>
/// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
public bool? IsFavorite { get; set; }
public bool? IsHD { get; set; }
2020-06-15 21:43:52 +00:00
2018-12-27 23:27:57 +00:00
public string AudioCodec { get; set; }
2020-06-15 21:43:52 +00:00
2018-12-27 23:27:57 +00:00
public string VideoCodec { get; set; }
2020-06-15 21:43:52 +00:00
2018-12-27 23:27:57 +00:00
public string[] Tags { get; set; }
}
}