aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/LiveTv/ILiveTvManager.cs')
-rw-r--r--MediaBrowser.Controller/LiveTv/ILiveTvManager.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs
new file mode 100644
index 000000000..de88d1562
--- /dev/null
+++ b/MediaBrowser.Controller/LiveTv/ILiveTvManager.cs
@@ -0,0 +1,30 @@
+using MediaBrowser.Model.LiveTv;
+using System.Collections.Generic;
+
+namespace MediaBrowser.Controller.LiveTv
+{
+ /// <summary>
+ /// Manages all live tv services installed on the server
+ /// </summary>
+ public interface ILiveTvManager
+ {
+ /// <summary>
+ /// Gets the services.
+ /// </summary>
+ /// <value>The services.</value>
+ IReadOnlyList<ILiveTvService> Services { get; }
+
+ /// <summary>
+ /// Adds the parts.
+ /// </summary>
+ /// <param name="services">The services.</param>
+ void AddParts(IEnumerable<ILiveTvService> services);
+
+ /// <summary>
+ /// Gets the channel info dto.
+ /// </summary>
+ /// <param name="info">The info.</param>
+ /// <returns>ChannelInfoDto.</returns>
+ ChannelInfoDto GetChannelInfoDto(ChannelInfo info);
+ }
+}