From 8c5ccf470c3ced8f3568e31404cd6eaf468a93bf Mon Sep 17 00:00:00 2001 From: ali Date: Thu, 19 Nov 2026 12:22:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=B4=E6=97=B6=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=89=8D=E7=BC=80=E6=94=B9=E4=B8=BA=20.scenemarshal-?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media/src/services/subtitle.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media/src/services/subtitle.py b/media/src/services/subtitle.py index 08ddb4d..33d3f82 100644 --- a/media/src/services/subtitle.py +++ b/media/src/services/subtitle.py @@ -156,7 +156,7 @@ class SubtitleService: log.debug(f"✨ [跳过导出] 目标内置 ASS 已存在: {out_ass.name}") return 1 - temp_ass = dest_dir / f".scenerename-{uuid4().hex[:12]}.ass" + temp_ass = dest_dir / f".scenemarshal-{uuid4().hex[:12]}.ass" task_mgr.add_extract( f"[导出内置 ASS] {file_path.name} (轨道 {stream_idx}) --> {out_ass.name}", SubtitleService.do_export_ass, @@ -172,7 +172,7 @@ class SubtitleService: SubtitleService._drop_external_copies(out_srt) return 1 - temp_ass = dest_dir / f".scenerename-{uuid4().hex[:12]}.ass" + temp_ass = dest_dir / f".scenemarshal-{uuid4().hex[:12]}.ass" task_mgr.add_extract( f"[提取内置字幕] {file_path.name} (轨道 {stream_idx}) --> {out_srt.name}", SubtitleService.do_extract, @@ -330,7 +330,7 @@ class SubtitleService: if out_srt.exists() and out_srt.stat().st_size > 0: continue - temp = dest_dir / f".scenerename-{uuid4().hex[:12]}.srt" + temp = dest_dir / f".scenemarshal-{uuid4().hex[:12]}.srt" cmd = ["ffmpeg", "-v", "error", "-i", str(file_path), "-map", f"0:{s['index']}", "-an", "-vn", "-c:s", "srt", "-f", "srt", "-y", str(temp)]