fix(HLS): Delete subtitle segments as they are merged

This commit is contained in:
rlaphoenix 2024-03-24 22:27:32 +00:00
parent e7294c95d1
commit 774fec6d77
1 changed files with 1 additions and 0 deletions

View File

@ -530,6 +530,7 @@ class HLS:
discontinuity_data = discontinuity_file.read_bytes() discontinuity_data = discontinuity_file.read_bytes()
f.write(discontinuity_data) f.write(discontinuity_data)
f.flush() f.flush()
discontinuity_file.unlink()
save_dir.rmdir() save_dir.rmdir()