diff options
| author | Kyle Farnung <kfarnung@outlook.com> | 2026-08-30 12:01:05 -0700 |
|---|---|---|
| committer | Kyle Farnung <kfarnung@outlook.com> | 2026-08-30 17:29:49 -0700 |
| commit | 39c2885fd6d0ae4075ee24c00e6128fa0de9d92b (patch) | |
| tree | d020a07c061acb6a3ae1ac089670bb16533189d8 /Emby.Server.Implementations/TextEncoding/NLangDetect | |
| parent | 420d44f638c44b942b43303c3165c2e8795b9020 (diff) | |
Probe .idx instead of .sub for external VobSub subtitle language detection
External VobSub subtitle pairs (.idx and .sub) were only probed via the
bare .sub file. In cases where multiple languages are present, this
results in missing language metadata.
Fix by detecting the matching .idx file during media info resolution
to run ffprobe on that file and skip processing the .sub entirely.
ffprobe will automatically find the matching (same directory,
case-sensitive base) .sub file and process both.
Added regression tests covering idx/sub pairing, unpaired files,
cross-directory pairs, and language-flagged filenames.
Fixes #17745
Diffstat (limited to 'Emby.Server.Implementations/TextEncoding/NLangDetect')
0 files changed, 0 insertions, 0 deletions
