ChannelInfo.cs 2.2 KB

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