feat(subsync): keep a one-time backup when replacing subtitles in place

Auto mode rewrites the active subtitle from one keypress with replace on by
default. The first in-place rewrite now copies the original to <file>.orig
(not a subtitle extension, so mpv autoload and sidecar discovery skip it).
Replacements also write through symlinks and keep the file's permissions.
This commit is contained in:
sudacode committed 2026-11-28 03:17:10 -08:00
1 parent 24b25287bd
commit 3b3c6581f4
5 files changed
+128 -28

No files matched your search

+1
View File
@@ -3,3 +3,4 @@ area: subsync
- Integrated built-in alass-based subtitle syncing with sign/song stripping, framerate and scene-cut/ad-break handling, audio alignment verification across all loaded/embedded/sidecar tracks, and built-in speech-activity audio fallback.
- Added one-click automatic syncing via the subtitle sidebar Sync button and `Ctrl+Alt+S` (`subsync.mode: "auto"`), automatically opening the guided Subtitle Sync modal with diagnostics, file browsing, external engine fallbacks, and manual offset only when guidance is needed.
- In-place sync (`subsync.replace`, on by default) keeps the untouched original next to the subtitle as `<file>.orig` on the first overwrite.