Skip to content

feat: Add detection for .sup (PGS) external subtitles - #91

Open
pratikpatel8982 wants to merge 1 commit into
nova-video-player:v6.4-lintfrom
pratikpatel8982:pgs
Open

pratikpatel8982 wants to merge 1 commit into
nova-video-player:v6.4-lintfrom
pratikpatel8982:pgs

Conversation

@pratikpatel8982

Copy link
Copy Markdown
  • StreamOverHttp.java: Add "sup" to SUBTITLES_ARRAY so the file picker surfaces them alongside other subtitle formats.
  • MimeUtils.java: Register the "sup" extension with the "application/pgs" MIME type.

This allows the Java layer to successfully recognize .sup files and pass them down to the C backend parser without requiring manual file renaming.

Prerequisites: nova-video-player/aos-avos#6

@pratikpatel8982
pratikpatel8982 force-pushed the pgs branch 3 times, most recently from 6eae9ab to 70838a1 Compare August 20, 2026 13:45
@pratikpatel8982
pratikpatel8982 force-pushed the pgs branch 2 times, most recently from d09e80a to fe1bb55 Compare August 26, 2026 09:24
@pratikpatel8982
pratikpatel8982 force-pushed the pgs branch 3 times, most recently from ac2e79e to 79a5f97 Compare September 20, 2026 13:26
@pratikpatel8982
pratikpatel8982 changed the base branch from v6.4 to v6.4-lint September 20, 2026 13:27
- StreamOverHttp.java: Add "sup" to SUBTITLES_ARRAY so the file picker
  surfaces them alongside other subtitle formats.
- MimeUtils.java: Register the "sup" extension with the
  "application/pgs" MIME type.

This allows the Java layer to successfully recognize .sup files and pass
them down to the C backend parser without requiring manual file
renaming.
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.

1 participant