From d9873dac256460eba4f0ced309e7c78de729fdf9 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sun, 24 Mar 2024 22:28:15 +0000 Subject: [PATCH] fix(HLS): Delete video/audio segments after FFmpeg merge --- devine/core/manifests/hls.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py index 704a7ab..9435ecc 100644 --- a/devine/core/manifests/hls.py +++ b/devine/core/manifests/hls.py @@ -569,6 +569,9 @@ class HLS: ]) demuxer_file.unlink() + for segment in segments: + segment.unlink() + return save_path.stat().st_size @staticmethod