ILiveTvManager.cs 868 B

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