fix(subtitle): drive SubtitleEdit 4.x with legacy /convert syntax

Registry refactor (2923292) emitted seconv-only --flags; 4.x opened the GUI per subtitle. Pick syntax per binary; prefer seconv for 5.x.
This commit is contained in:
imSp4rky
2026-06-11 19:09:06 -06:00
parent e207116d30
commit 680f5059b5
2 changed files with 25 additions and 8 deletions
+2 -1
View File
@@ -37,7 +37,8 @@ def find(*names: str) -> Optional[Path]:
FFMPEG = find("ffmpeg")
FFProbe = find("ffprobe")
FFPlay = find("ffplay")
SubtitleEdit = find("SubtitleEdit", "seconv") # seconv = cross-platform subtitleedit-cli (.NET 8)
# seconv = SubtitleEdit 5+ CLI (the 5.0 GUI has no batch mode); SubtitleEdit = 4.x
SubtitleEdit = find("seconv", "SubtitleEdit")
ShakaPackager = find(
"shaka-packager",
"packager",