mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-28 04:46:07 -08:00
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:
2 files changed
+165
-13
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user