PATCH: Fixed old .ts files still being present after stream end

This commit is contained in:
2025-03-03 21:41:50 +00:00
parent 0ba21a7666
commit 43f3b54e22
2 changed files with 11 additions and 6 deletions

View File

@@ -50,12 +50,6 @@ def combine_ts_stream(stream_path, vods_path, vod_file_name):
subprocess.run(vod_command)
# Remove ts files
for ts_file in ts_files:
remove(f"{stream_path}/{ts_file}")
# Remove m3u8 file
remove(f"{stream_path}/index.m3u8")
@shared_task
def convert_image_to_png(image_path, png_path):
"""