feat: align subtitles from first 10 seconds audio

This commit is contained in:
TTlaji committed 2026-06-03 15:10:49 +08:00
1 parent 93e06ca40a
commit 5228765473
11 files changed
+248 -22

No files matched your search

+1
View File
@@ -223,6 +223,7 @@ async function processAiSubtitles() {
els.aiReport.textContent = [
`处理完成:删除重复 ${report.duplicate_count || 0} 条`,
`删除空白 ${report.empty_count || 0} 条`,
report.timestamp_calibrated ? `首句校准 ${Number(report.timestamp_offset_seconds || 0).toFixed(2)} 秒` : (report.alignment_note || "首句未自动校准"),
`生成中文 ${report.translation_count || 0} 条`,
].join(",") + "。";
}