mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Remove the unused arg
This commit is contained in:
parent
1603d1928e
commit
f3573b061c
4 changed files with 5 additions and 6 deletions
|
@ -42,7 +42,7 @@ namespace Emby.Server.Implementations.Library
|
|||
return _closeFn();
|
||||
}
|
||||
|
||||
public Stream GetStream(bool seekNearEnd)
|
||||
public Stream GetStream()
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
|||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public Stream GetStream(bool seekNearEnd = true)
|
||||
public Stream GetStream()
|
||||
{
|
||||
var stream = GetInputStream(TempFilePath, AsyncFile.UseAsyncIO);
|
||||
bool seekFile = (DateTime.UtcNow - DateOpened).TotalSeconds > 10;
|
||||
|
|
|
@ -11,10 +11,9 @@ namespace MediaBrowser.Controller.Library
|
|||
public 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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@ namespace MediaBrowser.Controller.Library
|
|||
|
||||
Task Close();
|
||||
|
||||
Stream GetStream(bool seekNearEnd = true);
|
||||
Stream GetStream();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue