fix(subsync): retry zero-event embedded tracks from combined pass

- Treat batch entries that come back with no subtitle events as missing, so they get retried on their own instead of being skipped
- Tests now check the ffmpeg call order for omitted-track and empty-entry retries
- Apply-error test now forces a sub-add failure and checks the exact OSD message
This commit is contained in:
sudacode committed 2026-11-27 09:44:23 -08:00
1 parent 8f87640e4d
commit 593af920c3
2 files changed
+165 -13

No files matched your search

+1 -1
View File
@@ -2013,7 +2013,7 @@ async function runAutoSubsync(deps: TriggerSubsyncFromConfigDeps): Promise<void>
if (singlePass) {
for (const item of remainingItems) {
const parsed = singlePass.embeddedSubtitles.get(item.ffIndex);
if (!parsed) continue;
if (!parsed || parsed.events.length === 0) continue;
if (await tryAlignRemoteEmbeddedTrack(item, parsed)) {
return;
}