LiveTvTunerInfo.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #pragma warning disable CS1591
  2. using System.Collections.Generic;
  3. using MediaBrowser.Model.LiveTv;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. public class LiveTvTunerInfo
  7. {
  8. public LiveTvTunerInfo()
  9. {
  10. Clients = new List<string>();
  11. }
  12. /// <summary>
  13. /// Gets or sets the type of the source.
  14. /// </summary>
  15. /// <value>The type of the source.</value>
  16. public string SourceType { get; set; }
  17. /// <summary>
  18. /// Gets or sets the name.
  19. /// </summary>
  20. /// <value>The name.</value>
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// Gets or sets the identifier.
  24. /// </summary>
  25. /// <value>The identifier.</value>
  26. public string Id { get; set; }
  27. /// <summary>
  28. /// Gets or sets the URL.
  29. /// </summary>
  30. /// <value>The URL.</value>
  31. public string Url { get; set; }
  32. /// <summary>
  33. /// Gets or sets the status.
  34. /// </summary>
  35. /// <value>The status.</value>
  36. public LiveTvTunerStatus Status { get; set; }
  37. /// <summary>
  38. /// Gets or sets the channel identifier.
  39. /// </summary>
  40. /// <value>The channel identifier.</value>
  41. public string ChannelId { get; set; }
  42. /// <summary>
  43. /// Gets or sets the recording identifier.
  44. /// </summary>
  45. /// <value>The recording identifier.</value>
  46. public string RecordingId { get; set; }
  47. /// <summary>
  48. /// Gets or sets the name of the program.
  49. /// </summary>
  50. /// <value>The name of the program.</value>
  51. public string ProgramName { get; set; }
  52. /// <summary>
  53. /// Gets or sets the clients.
  54. /// </summary>
  55. /// <value>The clients.</value>
  56. public List<string> Clients { get; set; }
  57. /// <summary>
  58. /// Gets or sets a value indicating whether this instance can reset.
  59. /// </summary>
  60. /// <value><c>true</c> if this instance can reset; otherwise, <c>false</c>.</value>
  61. public bool CanReset { get; set; }
  62. }
  63. }