jukebox
All repositories: gitoria
3.5 KB
# STATUS — jukebox## 2026-10-25 — mission JB1: library scanner, mpackdb and JSON API — branch main, NOT deployed, nothing listensDone: the ID3 reader (v2.2/2.3/2.4, unsynchronisation, extended header, POPM of every owner, PCNT, APIC, ID3v1), the scanner as a child process, covers, the database, the JSON API, fixtures and a gate (112 checks), README.No player screen, no audio streaming, no playlists yet (next mission). Full scan of the real library: 13,449 songs, 3,966 artists, 9,985 albums, 4,572 songs with play count >= 5, first scan 706 s, rescan 0.4 s. Report: reports/JB1-jukebox-scanner.md. mpackdb bug found: index values with a comma are lost after a reopen (worked around).## 2026-10-25 — mission JB2: the library screens and playing in the browser — branch main, NOT deployed, nothing listensDone: Songs (sort by artist, title, album, plays; Favourites with an adjustable minimum and the count), Artists, Albums, an artist (albums / songs), an album (large cover, tracks in order), Search (while typing), the compact player bar with the clicked list as queue, `/stream/<id>` with Range, 96 px thumbnails, the virtual list component (vendored from components branch jb2-virtual-list, for Atlas's review). Gate `node tests/ui.mjs` 53/0 on a generated 13,450-song database; one check on a copy of the real database (scroll to the end, search an artist, play 5 s). Report: reports/JB2-jukebox-library-ui.md.Open: the playing row in a list is marked only after a tap in that list (not after the next song starts by itself); no now-playing overlay, playlists, play counts (JB3); `/stream` reads with dd until hybriel#233.## 2026-10-25 — mission JB3 / JB3b: shuffle, now-playing overlay, play counting, albums without folder — merged into main, NOT deployed, nothing listensDone: albums are artist + album name with CD markers folded into a disc number; duplicate songs shown once with "n copies"; "Shuffle my favourites" (Songs screen, N from the Favourites field, default 5) and "Shuffle" on Songs, an album, an artist and Search (the server keeps the seeded order, no song repeats before all were played); the bar has previous and next (new icons prevTrack and nextTrack in the shared icon set, branch jb2-virtual-list 46d90ec, vendored); a tap on the bar opens the overlay (large cover, title, artist, album, all controls, the 20 songs after the current one; close button or a swipe down); a play counts after half of the song or 4 minutes of real listening, once, in the jukebox database only; the media session is set (title, artist, album, cover, play, pause, previous, next). Gates: tests/gate.mjs 120, tests/ui.mjs 53, tests/jb3.mjs 50, all passing.Open: (1) KEYBOARD (space, arrows, n, p, Escape): Hybriel gap, any keydown handler in the shell makes the audio element reload its source, see reports/JB3b-keyboard-gap.md; (2) the run on a copy of the real database at 390 px was not made (request cap); (3) the media session's lock screen buttons are set but were not tried on a real phone; (4) the order cache is dropped on every counted play. The components branch jb2-virtual-list (virtual-list and the two icons) is not merged: Atlas reviews it.## 2026-10-28 — JB12 (jukebox#12): a list scroll handle a finger can useDone: on touch screens the virtual list draws a handle at the right edge (44 px wide tap area, 56 px tall, slim drawn strip), dragged with pointer events through all rows in proportion, shows the position; desktop unchanged. Gate tests/touch.mjs 27/0 (fails on the old code). Not done: the same change in components.hybriel's virtual-list.
Branches
Latest commits
- 06c548d6jukebox JB15: report, log linemre
- 980859cbjukebox JB15 (jukebox#15): the now-playing overlay on a short screen (tablet or phone on its side) gave the queue 12 to 100 px because the big cover took the room; the cover now shrinks with the screen height and goes away under 41rem, the queue keeps 3+ rows; gate tests/jb15.mjs at 8 sizesmre
- 9efc40ffjukebox#12 #14: Grok session 1793246574527-181160mre
- 7d58b36ejukebox JB13 (jukebox#13): Next and Previous ask for the songs after / before the current song's id in the current order, not for place + 1; gate tests/jb13.mjs checks Next with the queue down to one song after the order changedmre
- 51358794jukebox JB14 (jukebox#14): the Songs screen opens sorted the way it was left (kept on the server in storage/ui.json), the sort control shows the sort the rows really have (selected options, autocomplete off); gate tests/jb14.mjsmre
- cc68a063jukebox JB13 (jukebox#13): a tapped song plays the song that was tapped, found by its id in the list as it is now (not by its row number, which counted plays move); the queue goes on from its place there, the rows refresh on the tap; gate tests/jb13.mjs (songs by plays, favourites)mre
- 88d3d5c1jukebox JB12b (jukebox#12): the scroll handle is big (2.75rem x 4rem, accent colour, grip) and drawn on every device, no media query; native bar hidden; gate tests/touch.mjs checks the drawn width with and without touchmre
- b58e4495jukebox JB11 (jukebox#11): the next song starts in the ended event on the same audio element, so it also starts with the screen locked; gate tests/jb11.mjs (hidden tab, no frames)mre
- 12a26233jukebox JB12 (jukebox#12): the long lists get a scroll handle a finger can use on touch screens (44 px tap area, slim look, drag through all rows), gate tests/touch.mjsmre
- 0f2157a9jukebox JV1: onto Hybriel set-day27b: readBytes and stat for /stream and the mp3 tags (no dd, head or tail), startup fault exits 1, fs and mpackdb plugins re-vendored; songs with a comma in the title are indexed againmre
- 63d0f2eejukebox ST1 (jukebox#2): styles of main, songs and search moved into their own Style blocks (styles.hl 81 to 8 rules, pixel-identical at 390 and 1280); artist and album wait for an hl:web fixmre
- c5b8fde9jukebox JB3b: keyboard gap repro as a reportmre
- 9daebb4bjukebox JB3b: shuffle, now-playing overlay, next and previous, play counting, media session, gates; keyboard left open (Hybriel gap)mre
- 59c1373ejukebox JB3 (work in progress): albums without folder and with disc markers folded, compilations, duplicate songs, own play counter, server-side shuffle queuemre
- 2a4cfc55jukebox: library screens (songs, artists, albums, artist, album, search, favourites), compact player bar, /stream with Range, thumbnails, virtual list vendored, ui gate and real-library checkmre
- 93a44212jukebox: report, numbers of the full scan, notes on the index key rulemre
- bf5167dajukebox: index keys without commas (mpackdb loses them after a reopen), comma fixture and gate checksmre
- 28a82fa2jukebox: README, STATUS, LOG, DECISIONSmre
- d13987dfjukebox: library scanner, ID3 reader, mpackdb database and JSON API, with fixtures and a gatemre