ChannelInfo.cs 2.4 KB

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