- Quality button opens a modal picker over the video: Auto at the top plus
every rung from the HLS master's variant list (parsed in the router;
Piped videoStreams is unreliable), virtual-focus list like the rest of
the dev player's chrome, OK applies / Back cancels, panel auto-sizes.
- Applying a quality rebuilds the /api/hls URL with the quality filter and
restarts at the saved position (stop->stopped-edge->play), persists to
playback.preferred_quality, keeps the retry URL list consistent.
- Captions button toggles globalCaptionMode On/Off (+ first-track fallback
when the OS language match finds nothing); N/A when the video has none.
- Status line above the button row: 'Quality: Auto (1080p) | Captions: On'
tracks streamingSegment while auto ramps.
- Fix: QualityLevelsFromPiped sort crashed the /streams converter (string
vs AA compare); replaced by QualityLevelsFromHlsMaster.
- Seam tests for picker open/navigate/apply/cancel/clamp + captions toggle;
ButtonRow specs updated for the 4-button row. Lib tag PIPED-LIB-26.
- PipedBackendRouter serves Invidious-shaped /api/v1 JSON on the local
web server at /playlet-piped-backend, translating from a real Piped
instance (trending/search/suggestions/videos/comments/channels/
playlists/stats; auth endpoints return unsupported for now).
- PipedToInvidious converters incl. HLS-first playback metadata
(Piped's hls master via proxy.piped instance; muxed mp4 fallback)
and previewFrames -> Playlet storyboard shape.
- preferences: backend.selected gains 'piped'; new piped.instance
(default https://api.piped.spaghet.io).
- InvidiousService.GetInstance routes backend=piped to the local
translation router; ResolveBackendId returns 'piped'.