mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-02 12:41:34 +02:00
Do not delete segments when seeking
This commit is contained in:
parent
09a1d6786a
commit
e8ae7e5c38
1 changed files with 1 additions and 3 deletions
|
|
@ -1503,9 +1503,7 @@ namespace Jellyfin.Api.Controllers
|
|||
// If the playlist doesn't already exist, startup ffmpeg
|
||||
try
|
||||
{
|
||||
// Delete old HLS files when segment deletion is active since ffmpeg doesn't clean them up by itself
|
||||
var deleteFiles = _encodingOptions.EnableThrottling && _encodingOptions.EnableSegmentDeletion;
|
||||
await _transcodingJobHelper.KillTranscodingJobs(streamingRequest.DeviceId, streamingRequest.PlaySessionId, _ => deleteFiles)
|
||||
await _transcodingJobHelper.KillTranscodingJobs(streamingRequest.DeviceId, streamingRequest.PlaySessionId, p => false)
|
||||
.ConfigureAwait(false);
|
||||
|
||||
if (currentTranscodingIndex.HasValue)
|
||||
|
|
|
|||
Loading…
Reference in a new issue