mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
added IServerEntryPoint to replace plugin.initialize
This commit is contained in:
@@ -107,7 +107,7 @@ namespace MediaBrowser.Api.Playback.Progressive
|
||||
|
||||
var outputPath = GetOutputFilePath(state);
|
||||
|
||||
if (File.Exists(outputPath) && !Plugin.Instance.HasActiveTranscodingJob(outputPath, TranscodingJobType.Progressive))
|
||||
if (File.Exists(outputPath) && !ServerEntryPoint.Instance.HasActiveTranscodingJob(outputPath, TranscodingJobType.Progressive))
|
||||
{
|
||||
return ToStaticFileResult(outputPath);
|
||||
}
|
||||
@@ -133,7 +133,7 @@ namespace MediaBrowser.Api.Playback.Progressive
|
||||
}
|
||||
else
|
||||
{
|
||||
Plugin.Instance.OnTranscodeBeginRequest(outputPath, TranscodingJobType.Progressive);
|
||||
ServerEntryPoint.Instance.OnTranscodeBeginRequest(outputPath, TranscodingJobType.Progressive);
|
||||
}
|
||||
|
||||
return new ProgressiveStreamWriter
|
||||
|
||||
Reference in New Issue
Block a user