ChannelInfo.cs 2.3 KB

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