ILiveTvManager.cs 959 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Threading.Tasks;
  2. using MediaBrowser.Model.LiveTv;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.LiveTv
  5. {
  6. /// <summary>
  7. /// Manages all live tv services installed on the server
  8. /// </summary>
  9. public interface ILiveTvManager
  10. {
  11. /// <summary>
  12. /// Gets the services.
  13. /// </summary>
  14. /// <value>The services.</value>
  15. IReadOnlyList<ILiveTvService> Services { get; }
  16. /// <summary>
  17. /// Adds the parts.
  18. /// </summary>
  19. /// <param name="services">The services.</param>
  20. void AddParts(IEnumerable<ILiveTvService> services);
  21. /// <summary>
  22. /// Gets the channel info dto.
  23. /// </summary>
  24. /// <param name="info">The info.</param>
  25. /// <returns>ChannelInfoDto.</returns>
  26. ChannelInfoDto GetChannelInfoDto(ChannelInfo info);
  27. RecordingInfo GetRecordingInfo(RecordingInfo info);
  28. }
  29. }