Skip to content

Fix subtitle MIME detection for content URIs#1672

Open
Caege wants to merge 2 commits intoanilbeesetti:mainfrom
Caege:fix-subtitle-mime
Open

Fix subtitle MIME detection for content URIs#1672
Caege wants to merge 2 commits intoanilbeesetti:mainfrom
Caege:fix-subtitle-mime

Conversation

@Caege
Copy link
Copy Markdown

@Caege Caege commented Apr 7, 2026

Uri.path is unreliable for content:// URIs returned by the Android file picker and often does not include a file extension.

Use filename via ContentResolver and fallback to TEXT_VTT to avoid strict SRT parsing failures.
Fixes #1626

Caege and others added 2 commits April 7, 2026 22:54
Uri.path is unreliable for content:// URIs returned by the Android
file picker and often does not include a file extension.

Use filename via ContentResolver and fallback to TEXT_VTT
to avoid strict SRT parsing failures.#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] vtt subtitles couldn't be detected

1 participant