aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IDirectStreamProvider.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-09-10 09:29:14 +0200
committercvium <clausvium@gmail.com>2021-09-10 09:29:14 +0200
commit1603d1928e888abeccc6a5fab2e1f13aa65eea6c (patch)
tree4be38a370ab2c2340af7a547f1c79390c2de42cc /MediaBrowser.Controller/Library/IDirectStreamProvider.cs
parentb96dbbf553820861eab9d1a453adcc8ce8a9ef05 (diff)
Kill ProgressiveFileCopier and seek to end for ongoing livetv
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);
+ }
+}