Skip to content

Add M3U/M3U8/PLS playlist content type support - #229

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-228-playlist-content-types
Mar 22, 2026
Merged

melvincarvalho merged 1 commit into
gh-pagesfrom
issue-228-playlist-content-types

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Summary

  • Add .m3u (audio/mpegurl), .m3u8 (application/vnd.apple.mpegurl), and .pls (audio/x-scpls) to the content type map in src/utils/url.js
  • Add the corresponding MIME types to the mashlib rdfTypes array in src/mashlib/index.js so the data browser serves them

Fixes #228

Test plan

  • Verify .m3u files are served with audio/mpegurl content type
  • Verify .m3u8 files are served with application/vnd.apple.mpegurl content type
  • Verify .pls files are served with audio/x-scpls content type
  • Verify mashlib renders these content types when browsing with Accept: text/html

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.

Add M3U/M3U8/PLS playlist content types

1 participant