From 793a74cd17740eef2ae7ca9fd8bcca3e480c04cd Mon Sep 17 00:00:00 2001 From: j Date: Tue, 27 Jan 2026 14:25:31 +0100 Subject: [PATCH] subtitle path has changed too --- render.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/render.py b/render.py index 62040f7..ef74e1b 100644 --- a/render.py +++ b/render.py @@ -333,13 +333,13 @@ def write_subtitles(data, folder, options): if options.get("subtitle_format") == "srt": srt = ox.srt.encode(data) write_if_new(str(path), srt, 'b') - path = folder / "front.ass" + path = folder / "segment.ass" if os.path.exists(path): os.unlink(path) else: if os.path.exists(path): os.unlink(path) - path = folder / "front.ass" + path = folder / "segment.ass" ass = ass_encode(data, options) write_if_new(str(path), ass, '')