feat: add playlist admin panel UI, now-playing pill, CSS, and marketplace script

- Admin panel in rail with collapsible playlist section (create, rename,
  delete, expand, drag-reorder tracks, playback controls, active selection)
- playlist.js IIFE wired to REST API with CSRF meta-tag injection
- Live events forwarded from console.js via window CustomEvent
- Admin-only now-playing pill overlaid on canvas surface
- playlist-now-playing marketplace script draws rounded pill on canvas
- Fix: add data-asset-type/id/name to asset list items so playlist.js can
  populate the track-add dropdown
- Fix: renderer.js _onPlaylistTrackEnded reads XSRF-TOKEN cookie for CSRF
- Fix: playlist.js commandPause no longer passes headers:{} that stripped CSRF
- Fix: PLAYLIST_PREV restarts current track when currentTime >= 3 s
This commit is contained in:
2026-05-01 10:54:47 +02:00
parent d4a38cf6ee
commit cc478f99dd
7 changed files with 1060 additions and 2 deletions
@@ -0,0 +1,4 @@
{
"name": "Now Playing",
"description": "Shows a minimal pill in the bottom-right corner with the current playlist track name. Fades in when playing and out when paused or stopped."
}