FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add M3U/M3U8/PLS playlist content type support by melvincarvalho · Pull Request #229 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Repository navigation

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

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL