The Free Software Media System - Server Backend & API
Remove the unused arg
cviumf3573b061c4d
diff --git a/Emby.Server.Implementations/Library/ExclusiveLiveStream.cs b/Emby.Server.Implementations/Library/ExclusiveLiveStream.csindex 9ba9f2115e..868071a992 100644--- a/Emby.Server.Implementations/Library/ExclusiveLiveStream.cs+++ b/Emby.Server.Implementations/Library/ExclusiveLiveStream.cs@@ -42,7 +42,7 @@ namespace Emby.Server.Implementations.Libraryreturn _closeFn();}- public Stream GetStream(bool seekNearEnd)+ public Stream GetStream(){throw new NotSupportedException();}diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.csindex 4f9d343276..817b1f8046 100644--- a/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/LiveStream.cs@@ -95,7 +95,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHostsreturn Task.CompletedTask;}- public Stream GetStream(bool seekNearEnd = true)+ public Stream GetStream(){var stream = GetInputStream(TempFilePath, AsyncFile.UseAsyncIO);bool seekFile = (DateTime.UtcNow - DateOpened).TotalSeconds > 10;diff --git a/MediaBrowser.Controller/Library/IDirectStreamProvider.cs b/MediaBrowser.Controller/Library/IDirectStreamProvider.csindex 2939668f7d..96f8b7eba9 100644--- a/MediaBrowser.Controller/Library/IDirectStreamProvider.cs+++ b/MediaBrowser.Controller/Library/IDirectStreamProvider.cs@@ -11,10 +11,9 @@ namespace MediaBrowser.Controller.Librarypublic interface IDirectStreamProvider{/// <summary>- /// Gets the live stream, optionally seeks to the end of the file first.+ /// Gets the live stream, shared streams seek 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);+ Stream GetStream();}}diff --git a/MediaBrowser.Controller/Library/ILiveStream.cs b/MediaBrowser.Controller/Library/ILiveStream.csindex a29a91fe9c..4c44a17fdd 100644--- a/MediaBrowser.Controller/Library/ILiveStream.cs+++ b/MediaBrowser.Controller/Library/ILiveStream.cs@@ -27,6 +27,6 @@ namespace MediaBrowser.Controller.LibraryTask Close();- Stream GetStream(bool seekNearEnd = true);+ Stream GetStream();}}