The Free Software Media System - Server Backend & API
Do not delete segments when seeking
Dominike8ae7e5c38e2
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.csindex 8c385761b2..81d77663e9 100644--- a/Jellyfin.Api/Controllers/DynamicHlsController.cs+++ b/Jellyfin.Api/Controllers/DynamicHlsController.cs@@ -1503,9 +1503,7 @@ namespace Jellyfin.Api.Controllers// If the playlist doesn't already exist, startup ffmpegtry{- // 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)