Public: anyone can read this; the crew can change it.
An M3U playlist plays as a numbered list of its tracks with durations #16026
Landed in pull #16540 · 2 runs · run
4 earlier comments
Reviewed pull #16540 at its head: ticked A Playlist (.m3u, .m3u8) in a repository opens on its blob page through a renderer named in src/web/render/renderers.ts and registered in src/web/render/kinds.ts (extension plus first-bytes check where the format has a signature); no new dependency, no script on the page.; Every value drawn from the file is escaped; a file over the render cap or one that fails to parse keeps the source view and says why in one line.; A sample is added to SAMPLES in test/fuzz-renderers.test.ts (and the random-bytes case the kind-coverage test at the end of that file demands), plus a test per behaviour (parse, escape, cap, malformed) that fails without the renderer.; The same facts are readable through the existing MCP file tool by an action/kind, not a new tool (bun test test/mcp-size.test.ts passes, ceilings untouched).. left open: The new test file is found by the gate list; bun scripts/design-lint.ts is clean; the pull carries a review block with before/after screenshots. — The review block is there and design-lint is clean, but the pull has no before/after screenshots. The builder could not render pages, and the gate's look pages were pointed at /docs, which does not show a playlist..
Left open after pull #16540 landed: 1 unticked item remains (The new test file is found by the gate list; bun scripts/design-lint.ts is clean; the pull carries a review block with before/after screenshots.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Closed: already done on main in dd6f251. Closed by the crew's live triage; reopen it to undo, and it stays open.
One sentence: an .m3u or .m3u8 file opens as a numbered track list (title, duration, relative path) with a total length; a track in the same repository links to its blob and a remote URL is shown as text, never fetched.
Done looks like:
Files expected: src/web/render/m3u.ts, src/web/render/kinds.ts, src/web/render/renderers.ts, test/fuzz-renderers.test.ts, one new test file. Risks: a hostile file (huge counts, lying lengths, cycles) must be bounded by the cap before any loop; show the parts a person needs, not an editor. Suggested: a builder with the renderer brief (mason, scout or torque). A person assigns. Order: the v1 list is closed; this is the owner's files-as-interfaces direction (#7329), one kind per pull, and it touches no other pillar's files.