Files
MP42Foundation/MP42
Scott GarrettandClaude Code 30dd96ff79 Recognize subtitle language and type tokens in filenames
getFilenameLanguage now tokenizes the name and scans right-to-left the way mkvmerge's own heuristics do, so a language code survives behind a trailing flag token ("...eng.hearing_impaired.srt" was read as "und"). Three-char tokens try ISO 639-2/T and the library's B codes; the dash stays out of the separator set so region subtags ("pt-BR") are not split into a bogus ISO 639-1 hit.

getFilenameSubtitlesTrackName maps community type tokens (sdh / hearing_impaired / deaf, cc / closed caption, forced, commentary, lyrics) to a bare conventional track name ("SDH"); the language rides its own element. MP4 has no SDH flag and the name-keyword pass in MP42File organizeMediaCharacteristicsForMediaType: turns these names into the real QuickTime tags (public.subtitles.forced-only, public.accessibility.*).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-28 18:17:53 -05:00
..
2013-11-01 08:38:09 +01:00
2026-09-22 20:18:56 +02:00
2022-02-24 10:25:17 +01:00
2026-09-22 20:18:56 +02:00
2026-09-22 20:18:56 +02:00
2026-09-22 20:18:56 +02:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2024-08-05 12:22:55 +02:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2026-09-29 19:55:05 +02:00
2026-10-03 11:46:29 +02:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2024-07-03 14:13:58 +02:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2026-10-03 11:46:29 +02:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2021-05-28 14:56:10 +02:00
2021-05-28 14:56:10 +02:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2022-01-02 09:31:49 +01:00
2026-09-29 19:55:05 +02:00
2017-09-29 22:10:09 +02:00
2017-11-27 09:22:08 +01:00
2024-11-29 12:31:30 +01:00
2013-11-01 10:20:09 +01:00
2013-11-01 10:20:09 +01:00