SC-14Tasks
The jukebox
A rack of title strips at /jukebox — press one and it plays.
Modelled on a real jukebox selection panel — two columns of title strips, each with a permanent selection code — built as the modern machine rather than the vintage one: black glass, a hard blue edge, no chrome and no amber.
Decisions worth keeping:
- Nothing loads until a strip is pressed. The rack is plain markup and the embed is mounted on selection, so a visitor who never picks a track never touches YouTube. Same bargain the weather proxy makes.
- Every title is read off the service, not remembered. Two of the first six
video ids tried resolved to a different song than expected — one to another
band entirely. The ids and titles in
src/lib/jukebox.tsare what oEmbed returned; adding a strip means reading the title back the same way. - No duration column. The panel it is modelled on has one and oEmbed does not report a runtime. A column that cannot be filled honestly is left out.
RACK_UPDATEDis authored by hand. The page is a route, not a content file, so there is no frontmatter to read — and deriving the sitemap stamp from the source file's git time would collapse it onto the deploy commit, which is the failure SC-10 was about.
The seed rack of sixteen was cut to the two that were actually wanted: Sabotage and Welcome To The Jungle. Columns split by count rather than by the code prefix, so a rack with no B side does not render an empty second column.
Open: two strips is a start, not a rack. It wants more.