From 774fec6d77fb4dc2dbf5d1f7947d3525517fe7b8 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sun, 24 Mar 2024 22:27:32 +0000 Subject: [PATCH] fix(HLS): Delete subtitle segments as they are merged --- devine/core/manifests/hls.py | 1 + 1 file changed, 1 insertion(+) diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py index 7674ea9..704a7ab 100644 --- a/devine/core/manifests/hls.py +++ b/devine/core/manifests/hls.py @@ -530,6 +530,7 @@ class HLS: discontinuity_data = discontinuity_file.read_bytes() f.write(discontinuity_data) f.flush() + discontinuity_file.unlink() save_dir.rmdir()