ChannelInfo.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using MediaBrowser.Model.LiveTv;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. /// <summary>
  7. /// Class ChannelInfo.
  8. /// </summary>
  9. public class ChannelInfo
  10. {
  11. /// <summary>
  12. /// Gets or sets the name.
  13. /// </summary>
  14. /// <value>The name.</value>
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// Gets or sets the number.
  18. /// </summary>
  19. /// <value>The number.</value>
  20. public string Number { get; set; }
  21. /// <summary>
  22. /// Gets or sets the Id.
  23. /// </summary>
  24. /// <value>The id of the channel.</value>
  25. public string Id { get; set; }
  26. public string Path { get; set; }
  27. public string TunerChannelId { get; set; }
  28. public string CallSign { get; set; }
  29. /// <summary>
  30. /// Gets or sets the tuner host identifier.
  31. /// </summary>
  32. /// <value>The tuner host identifier.</value>
  33. public string TunerHostId { get; set; }
  34. /// <summary>
  35. /// Gets or sets the type of the channel.
  36. /// </summary>
  37. /// <value>The type of the channel.</value>
  38. public ChannelType ChannelType { get; set; }
  39. /// <summary>
  40. /// Gets or sets the group of the channel.
  41. /// </summary>
  42. /// <value>The group of the channel.</value>
  43. public string ChannelGroup { get; set; }
  44. /// <summary>
  45. /// Gets or sets the image path if it can be accessed directly from the file system.
  46. /// </summary>
  47. /// <value>The image path.</value>
  48. public string ImagePath { get; set; }
  49. /// <summary>
  50. /// Gets or sets the image url if it can be downloaded.
  51. /// </summary>
  52. /// <value>The image URL.</value>
  53. public string ImageUrl { get; set; }
  54. /// <summary>
  55. /// Gets or sets a value indicating whether this instance has image.
  56. /// </summary>
  57. /// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
  58. public bool? HasImage { get; set; }
  59. /// <summary>
  60. /// Gets or sets a value indicating whether this instance is favorite.
  61. /// </summary>
  62. /// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
  63. public bool? IsFavorite { get; set; }
  64. public bool? IsHD { get; set; }
  65. public string AudioCodec { get; set; }
  66. public string VideoCodec { get; set; }
  67. public string[] Tags { get; set; }
  68. }
  69. }