ChannelInfo.cs 2.2 KB

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