Skip to content

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

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

feat: Add detection for .sup (PGS) external subtitles#91
pratikpatel8982 wants to merge 1 commit into
nova-video-player:v6.4from
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

- 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