Commit Graph
15 Commits
Author SHA1 Message Date
sudacode a303d6be27 fix(subsync): correct broadcast windows and partial-fit confidence in aligner
- center each broadcast act's search on the whole-file shift (broke past ~25 min)
- cap confidence when the weakest quarter does not fit (recaps, wrong episodes)
- never let a broadcast result replace a higher-scoring fit
- lower the ambiguity cap below the reference-vs-audio gate
- fix alignNoSplit off-by-one, scene-cut boundary clobbering, and NaN lengths
2026-11-28 03:15:35 -08:00
sudacode f2e82bc556 fix(subsync): harden subtitle parsing, sign heuristics, and ffmpeg extraction
- shift signs and songs with the dialogue line nearest in time, not in file order
- keep the BOM (and add one for non-UTF-8 sources) when rewriting in place
- stop treating full tracks with songs and lines containing a music mark as signs
- skip TTML tracks in local ffmpeg extraction (no decoder)
- do not cache tracks that parsed to zero cues; cap retained ffmpeg stderr
2026-11-28 03:15:35 -08:00
sudacode 71d8d9148c fix(subsync): guard embedded track cache against replaced media files
- Capture the file signature before an individual embedded retry and skip caching if the file changed mid-extraction
- Keep cached embedded tracks when the combined single-pass rip fails on a broken track
- Expose getCachedEmbeddedSubtitles and getMediaFileSignature helpers
2026-11-27 17:18:27 -08:00
sudacode ac693be359 perf(subsync): cache retried local embedded tracks across runs
- Add cacheEmbeddedSubtitleTrack to store non-empty individually extracted
  embedded tracks in the single-pass cache for local media
- Picker no longer skips embedded extraction just because a combined pass
  ran, so omitted and zero-event tracks get retried and evaluated
- Later auto-sync runs and picker opens reuse cached retries without
  spawning ffmpeg again
2026-11-27 17:07:15 -08:00
sudacode 768d3b6a8f fix(subsync): harden auto-sync fallbacks and temp cleanup
- Keep sampled-audio misalignment verdicts when escalated full audio is unavailable
- Try remaining remote embedded tracks one at a time in rank order when the combined rip fails
- Skip the ffmpeg requirement for alass when the reference is fetched over HTTP
- Remove temp dirs when subtitle extraction or write fails
- Build Jellyfin subtitle URLs on the media origin so double-slash paths can't redirect the ApiKey
2026-11-26 22:57:49 -08:00
sudacode 584dfa3608 perf(subsync): avoid streaming remote media for embedded references
- Fetch embedded Jellyfin subtitle tracks through the Subtitles Stream endpoint instead of running ffmpeg over the HTTP stream
- Try external references before extracting embedded tracks on remote streams, and skip embedded extraction when opening the picker
- Run the sampled-audio fast path before the full MKV demux when a non-signs external or sidecar reference exists
- Escalate to a single-pass embedded and audio rip only when sampled verification is inconclusive
2026-11-26 22:07:13 -08:00
sudacode fc113cfbca fix(subsync): address PR review findings and deterministic CI check 2026-11-25 20:17:25 -08:00
sudacode 8e3d9e21e0 style(subsync): remove em and en dashes from UI strings and comments 2026-11-25 19:57:44 -08:00
sudacode 05bdb64880 feat(subsync): integrate built-in automatic subtitle syncing 2026-11-25 19:47:56 -08:00
sudacode 5b8848518a feat(subsync): add reference and target subtitle track picker (#181) 2026-08-03 01:00:14 -07:00
sudacode dc52bc2fba feat(config): add configuration window (#70) 2026-05-21 04:16:21 -07:00
sudacode c799a8de3c Prepare Windows release and signing process (#16) 2026-03-08 19:51:30 -07:00
sudacode e18985fb14 Enhance AniList character dictionary sync and subtitle features (#15) 2026-03-07 18:30:59 -08:00
sudacode 10ef535f9a feat(subsync): add replace option and deterministic retimed naming 2026-03-03 00:26:31 -08:00
sudacode d3fd47f0ec feat(core): add Electron runtime, services, and app composition 2026-02-22 21:43:43 -08:00