LiveTvTunerInfo.cs 2.1 KB

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