diff options
| author | Dominik <git@secnd.me> | 2022-11-15 17:14:18 +0100 |
|---|---|---|
| committer | Dominik <git@secnd.me> | 2022-11-15 17:14:18 +0100 |
| commit | e8ae7e5c38e28f13fa8de295e26c930cb46d9b79 (patch) | |
| tree | f7d357dd2a1266e055ab0359fa21496903f833e6 /Jellyfin.Api/Controllers/DynamicHlsController.cs | |
| parent | 09a1d6786a0cad593cc862d62351a0c5e748497f (diff) | |
Do not delete segments when seeking
Diffstat (limited to 'Jellyfin.Api/Controllers/DynamicHlsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DynamicHlsController.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Jellyfin.Api/Controllers/DynamicHlsController.cs b/Jellyfin.Api/Controllers/DynamicHlsController.cs index 8c385761b..81d77663e 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 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) |
