ChannelInfo.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. public string CallSign { get; set; }
  26. /// <summary>
  27. /// Gets or sets the tuner host identifier.
  28. /// </summary>
  29. /// <value>The tuner host identifier.</value>
  30. public string TunerHostId { get; set; }
  31. /// <summary>
  32. /// Gets or sets the type of the channel.
  33. /// </summary>
  34. /// <value>The type of the channel.</value>
  35. public ChannelType ChannelType { get; set; }
  36. /// <summary>
  37. /// Supply the image path if it can be accessed directly from the file system
  38. /// </summary>
  39. /// <value>The image path.</value>
  40. public string ImagePath { get; set; }
  41. /// <summary>
  42. /// Supply the image url if it can be downloaded
  43. /// </summary>
  44. /// <value>The image URL.</value>
  45. public string ImageUrl { get; set; }
  46. /// <summary>
  47. /// Gets or sets a value indicating whether this instance has image.
  48. /// </summary>
  49. /// <value><c>null</c> if [has image] contains no value, <c>true</c> if [has image]; otherwise, <c>false</c>.</value>
  50. public bool? HasImage { get; set; }
  51. /// <summary>
  52. /// Gets or sets a value indicating whether this instance is favorite.
  53. /// </summary>
  54. /// <value><c>null</c> if [is favorite] contains no value, <c>true</c> if [is favorite]; otherwise, <c>false</c>.</value>
  55. public bool? IsFavorite { get; set; }
  56. public bool? IsHD { get; set; }
  57. public string AudioCodec { get; set; }
  58. public string VideoCodec { get; set; }
  59. }
  60. }