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

74 lines
2.3 KiB
C#
Raw Normal View History

using MediaBrowser.Model.LiveTv;
namespace MediaBrowser.Controller.LiveTv
{
/// <summary>
/// Class ChannelInfo
/// </summary>
public class ChannelInfo
{
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
2013-11-15 21:31:44 +00:00
/// <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>
2013-10-31 20:45:58 +00:00
public string Id { get; set; }
2017-08-20 19:10:00 +00:00
public string Path { get; set; }
2017-02-01 07:47:12 +00:00
public string TunerChannelId { get; set; }
2017-02-04 23:32:16 +00:00
public string CallSign { get; set; }
2016-02-24 19:06:26 +00:00
/// <summary>
/// Gets or sets the tuner host identifier.
/// </summary>
/// <value>The tuner host identifier.</value>
public string TunerHostId { get; set; }
/// <summary>
/// Gets or sets the type of the channel.
/// </summary>
/// <value>The type of the channel.</value>
public ChannelType ChannelType { get; set; }
2013-12-13 15:48:48 +00:00
/// <summary>
2013-12-19 21:51:32 +00:00
/// Supply the image path if it can be accessed directly from the file system
2013-12-13 15:48:48 +00:00
/// </summary>
2013-12-19 21:51:32 +00:00
/// <value>The image path.</value>
public string ImagePath { get; set; }
/// <summary>
/// Supply the image url if it can be downloaded
/// </summary>
/// <value>The image URL.</value>
public string ImageUrl { get; set; }
2013-12-22 17:16:24 +00:00
/// <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; }
2015-07-20 18:32:55 +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; }
2016-04-04 00:01:03 +00:00
public bool? IsHD { get; set; }
public string AudioCodec { get; set; }
public string VideoCodec { get; set; }
}
}