aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IDirectStreamProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Library/IDirectStreamProvider.cs')
-rw-r--r--MediaBrowser.Controller/Library/IDirectStreamProvider.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/IDirectStreamProvider.cs b/MediaBrowser.Controller/Library/IDirectStreamProvider.cs
new file mode 100644
index 000000000..2939668f7
--- /dev/null
+++ b/MediaBrowser.Controller/Library/IDirectStreamProvider.cs
@@ -0,0 +1,20 @@
+using System.IO;
+
+namespace MediaBrowser.Controller.Library
+{
+ /// <summary>
+ /// The direct live TV stream provider.
+ /// </summary>
+ /// <remarks>
+ /// Deprecated.
+ /// </remarks>
+ public interface IDirectStreamProvider
+ {
+ /// <summary>
+ /// Gets the live stream, optionally seeks to the end of the file first.
+ /// </summary>
+ /// <param name="seekNearEnd">A value indicating whether to seek to the end of the file.</param>
+ /// <returns>The stream.</returns>
+ Stream GetStream(bool seekNearEnd = true);
+ }
+}