gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2a4cfc552a4cfc55jukebox: library screens (songs, artists, albums, artist, album, search, favourites), compact player bar, /stream with Range, thumbnails, virtual list vendored, ui gate and real-library checkmre2a4cfc55/components/media-player/media-player.hl

20.0 KB

  1. // media-player.hl — THE MEDIA PLAYER, all Hybriel (no JavaScript file): audio and video in one phone-first player.
  2. // `MediaPlayer { src = "/media/x.mp4" kind = "video" title = "The clip" artist = "Someone" }` — `kind = "audio"` shows a
  3. // cover image (`cover`) with the title and artist instead of the video area. The browser's own media element plays (no
  4. // `controls`: this component draws the controls, sized for a thumb): a seek bar you drag with a finger (the played part in
  5. // the accent colour, the buffered part as a lighter bar, a 44 px tall touch area with a thin visible bar), Back 10 s,
  6. // play/pause (the largest button), Forward 10 s, mute, the current time / total time, the playback speed (1 / 1.25 / 1.5 / 2)
  7. // and, on video, fullscreen. THE QUEUE is the host's list: `queue = [{ src, title, dur }]` renders under the player, the
  8. // item that plays is marked with the accent colour only, and a tap calls the host's function with the record's `src`
  9. // (hybriel#87: a child talks upward through a function its host gives it) — the host hands a new `src` back, the player
  10. // loads and plays it; when an item ends, the next one is picked the same way. USE ONE PER PAGE (a composed component's
  11. // members are the page's state). Keyboard: the media element takes the focus (a click on it), Space plays / pauses,
  12. // ArrowLeft / ArrowRight jump 10 s. The handlers read the elements' own state, never the members.
  13. import Icon from '../icons/icons.hl'
  14. String src = ''
  15. String kind = 'video'
  16. String title = ''
  17. String artist = ''
  18. String cover = ''
  19. String playLabel = 'Play'
  20. String pauseLabel = 'Pause'
  21. String backLabel = 'Back 10 seconds'
  22. String forwardLabel = 'Forward 10 seconds'
  23. String muteLabel = 'Mute'
  24. String unmuteLabel = 'Unmute'
  25. String speedLabel = 'Playback speed'
  26. String fullscreenLabel = 'Fullscreen'
  27. String queueLabel = 'Queue'
  28. Hybrid queue = []
  29. onPlay = null
  30. Number jump = 10
  31. // the state the media events write (the framework repaints the sites that read them)
  32. String playing = 'false'
  33. String muted = 'false'
  34. String timeText = '0:00'
  35. String totalText = '0:00'
  36. String playedPct = '0'
  37. String bufferedPct = '0'
  38. String speedText = '1'
  39. String dragging = 'false'
  40. String bufferedStyle = 'width:0%'
  41. String playedStyle = 'width:0%'
  42. String thumbStyle = 'left:0%'
  43. String autoPlay = 'false'
  44. String playClass = 'mp-play'
  45. String playLabelNow = playLabel
  46. String playIsNow = playLabel
  47. String muteClass = 'mp-mute'
  48. String muteLabelNow = muteLabel
  49. // "1:23" — whole seconds are enough for a time line
  50. clockText(t) {
  51. if (t == null || t < 0 || t != t) { return '0:00' }
  52. s = t - t % 1
  53. m = (s - s % 60) / 60
  54. sec = s - m * 60
  55. return m + ':' + (sec < 10 ? '0' : '') + sec
  56. }
  57. // the player's own element (the video or audio tag of this component)
  58. mediaOf(node) { return node.closest('media-player').querySelector('video, audio') }
  59. // the media element an event came from: the element itself (its own events can arrive while it is not yet in the page),
  60. // or the one of the player the node belongs to (the mount tick of the seek bar)
  61. mediaFrom(node) { return node.matches('video, audio') ? node : mediaOf(node) }
  62. // the seek bar of this component
  63. barOf(node) { return node.closest('media-player').querySelector('mp-seek') }
  64. // the media element's buffered end as a percent of its duration
  65. bufferedPctOf(v) {
  66. if (v == null || v.buffered.length == 0 || v.duration == 0 || v.duration == null) { return '0' }
  67. return '' + ((v.buffered.end(v.buffered.length - 1) / v.duration) * 100 - (v.buffered.end(v.buffered.length - 1) / v.duration) * 100 % 1)
  68. }
  69. Style {
  70. 'media-player' { display = 'block' font = 'inherit' color = 'var(--color-text, #000)' background = 'var(--color-background, #fff)' }
  71. 'media-player video' { display = 'block' width = '100%' aspectRatio = '16 / 9' height = 'auto' objectFit = 'contain' background = 'var(--color-background-sunken, #555)' borderRadius = 'var(--radius-large, 10px)' cursor = 'pointer' }
  72. 'media-player audio' { display = 'none' }
  73. // the mount tick (the code editor's trick): an endless 100 ms animation fires animationiteration once
  74. // the page is live; the handler turns it off again. The tick sits on the seek bar: it is on screen for audio and video
  75. // alike (the audio element is display:none and a CSS animation never runs there, and a cover may be missing).
  76. '@keyframes media-player-mount' { 'from' { opacity = '.999' } to { opacity = '1' } }
  77. // the cover of an audio item, with the title and the artist
  78. 'media-player .mp-cover' { display = 'flex' alignItems = 'center' gap = '.8rem' margin = '0 0 .4rem' }
  79. 'media-player .mp-cover img' { flex = 'none' width = '5rem' height = '5rem' objectFit = 'cover' borderRadius = 'var(--radius-large, 10px)' background = 'var(--color-surface, #ddd)' }
  80. 'media-player .mp-cover h2' { margin = '0' fontSize = '1.15rem' lineHeight = '1.3' color = 'var(--color-text-strong, #000)' overflowWrap = 'anywhere' }
  81. 'media-player .mp-cover p' { margin = '.15rem 0 0' color = 'var(--color-text-muted, #555)' overflowWrap = 'anywhere' }
  82. // THE SEEK BAR: a 44 px touch area, the visible bar thin in the middle (a fat bar is decoration); the played part is the
  83. // accent, the buffered part a lighter grey over the pale track. No border anywhere.
  84. 'media-player mp-seek' { display = 'block' position = 'relative' height = '2.75rem' margin = '.15rem 0' touchAction = 'none' cursor = 'pointer' animation = 'media-player-mount 100ms linear infinite' }
  85. 'media-player mp-seek .mp-track' { position = 'absolute' left = '.3125rem' right = '.3125rem' top = '1.1875rem' height = '.375rem' borderRadius = 'var(--radius-small, 5px)' background = 'var(--color-surface, #ddd)' overflow = 'hidden' }
  86. 'media-player mp-seek .mp-buffered' { position = 'absolute' left = '0' top = '0' bottom = '0' width = '0' background = 'var(--color-grey, #999)' opacity = '.55' }
  87. 'media-player mp-seek .mp-played' { position = 'absolute' left = '0' top = '0' bottom = '0' width = '0' background = 'var(--color-accent, #000)' }
  88. 'media-player mp-seek .mp-thumb' { position = 'absolute' top = '1.0625rem' width = '.625rem' height = '.625rem' borderRadius = '50%' background = 'var(--color-accent, #000)' transform = 'translateX(-50%)' left = '0' marginLeft = '.3125rem' }
  89. // the buttons: 44 px (the play / pause one larger); only the icon buttons on the row, the times between them
  90. 'media-player mp-buttons' { display = 'flex' alignItems = 'center' flexWrap = 'wrap' gap = '.2rem' }
  91. 'media-player mp-buttons button' { display = 'inline-flex' alignItems = 'center' justifyContent = 'center' minWidth = '2.75rem' minHeight = '2.75rem' padding = '0' font = 'inherit' fontWeight = '600' color = 'var(--color-text, #000)' background = 'transparent' border = '0' borderRadius = 'var(--radius-small, 5px)' cursor = 'pointer' }
  92. 'media-player mp-buttons button:hover' { background = 'var(--color-surface, #f2f2f2)' }
  93. 'media-player mp-buttons button:focus-visible' { outline = '2px solid var(--color-accent, #555)' outlineOffset = '1px' }
  94. 'media-player mp-buttons button.mp-play' { background = 'var(--color-surface, #f2f2f2)' minWidth = '3.25rem' minHeight = '3.25rem' width = '3.25rem' height = '3.25rem' }
  95. 'media-player mp-buttons .mp-times' { display = 'inline-flex' alignItems = 'center' minHeight = '2.75rem' padding = '0' flex = '0 1 auto' flexWrap = 'nowrap' fontVariantNumeric = 'tabular-nums' fontSize = '.85rem' whiteSpace = 'nowrap' color = 'var(--color-text-muted, #555)' }
  96. // the two icons of a toggle button: one shows, the other waits (an `if` would re-create the DOM);
  97. // the wrapping spans are inline-flex with no leading, or the icon rides the text baseline (3 px high)
  98. 'media-player mp-buttons .i-play, media-player mp-buttons .i-pause, media-player mp-buttons .i-on, media-player mp-buttons .i-off' { display = 'inline-flex' flex = 'none' lineHeight = '0' }
  99. 'media-player .mp-play .i-pause' { display = 'none' }
  100. 'media-player .mp-play.is-playing .i-play' { display = 'none' }
  101. 'media-player .mp-play.is-playing .i-pause' { display = 'inline-flex' }
  102. 'media-player .mp-mute .i-off' { display = 'none' }
  103. 'media-player .mp-mute.is-muted .i-on' { display = 'none' }
  104. 'media-player .mp-mute.is-muted .i-off' { display = 'inline-flex' }
  105. // THE QUEUE under the player: title and length per row, dense (a 44 px tap area with thin rows, not loose ones)
  106. 'media-player .mp-queue-title' { margin = '1rem 0 .2rem' fontSize = '1rem' color = 'var(--color-text-strong, #000)' }
  107. 'media-player ol.mp-queue' { display = 'grid' gap = '.1rem' margin = '0' padding = '0' listStyle = 'none' }
  108. 'media-player ol.mp-queue li' { margin = '0' }
  109. 'media-player ol.mp-queue button' { display = 'flex' alignItems = 'center' gap = '.5rem' width = '100%' minHeight = '2.75rem' padding = '.3rem .55rem' font = 'inherit' textAlign = 'left' color = 'var(--color-text, #000)' background = 'transparent' border = '0' borderRadius = 'var(--radius-small, 5px)' cursor = 'pointer' }
  110. 'media-player ol.mp-queue button:hover' { background = 'var(--color-surface, #f2f2f2)' }
  111. 'media-player ol.mp-queue button:focus-visible' { outline = '2px solid var(--color-accent, #555)' outlineOffset = '1px' }
  112. 'media-player ol.mp-queue li.current button' { color = 'var(--color-accent, #000)' background = 'var(--color-surface, #f2f2f2)' }
  113. 'media-player ol.mp-queue .mp-q-title' { flex = '1' minWidth = '0' overflowWrap = 'anywhere' textAlign = 'left' }
  114. 'media-player ol.mp-queue .mp-q-dur' { flex = 'none' fontSize = '.85rem' color = 'var(--color-text-muted, #555)' }
  115. 'media-player ol.mp-queue li.current .mp-q-dur' { color = 'inherit' }
  116. }
  117. View {
  118. mediaPlayer {
  119. if (isVideo) { video { src = src preload = "metadata" playsinline = "playsinline" tabindex = "0" title = title class = "mp-media"
  120. on click(e) { emit mpToggle(e) } on play(e) { emit mpStarted(e) } on pause(e) { emit mpPaused(e) } on ended(e) { emit mpEnded(e) } on timeupdate(e) { emit mpTime(e) } on durationchange(e) { emit mpTotal(e) } on loadedmetadata(e) { emit mpLoad(e) } on progress(e) { emit mpBuffered(e) } on volumechange(e) { emit mpVolume(e) } on ratechange(e) { emit mpRate(e) } on keydown(e) { emit mpKey(e) }
  121. } }
  122. if (isAudio) { audio { src = src preload = "metadata" class = "mp-media"
  123. on play(e) { emit mpStarted(e) } on pause(e) { emit mpPaused(e) } on ended(e) { emit mpEnded(e) } on timeupdate(e) { emit mpTime(e) } on durationchange(e) { emit mpTotal(e) } on loadedmetadata(e) { emit mpLoad(e) } on progress(e) { emit mpBuffered(e) } on volumechange(e) { emit mpVolume(e) } on ratechange(e) { emit mpRate(e) } on keydown(e) { emit mpKey(e) }
  124. }
  125. if (hasCover) { div { class = "mp-cover"
  126. img { src = cover alt = "" }
  127. div {
  128. h2 { title }
  129. p { artist }
  130. }
  131. } }
  132. }
  133. mpSeek { role = "slider" 'aria-label' = "Seek" 'aria-valuemin' = "0" 'aria-valuemax' = "100" 'aria-valuenow' = playedPct 'aria-valuetext' = seekText tabindex = "0"
  134. on animationiteration(e) { emit mpMount(e) } on pointerdown(e) { emit mpDown(e) } on pointermove(e) { emit mpMove(e) } on pointerup(e) { emit mpUp(e) } on pointercancel(e) { emit mpUp(e) } on keydown(e) { emit mpBarKey(e) }
  135. div { class = "mp-track"
  136. div { class = "mp-buffered" style = bufferedStyle }
  137. div { class = "mp-played" style = playedStyle }
  138. }
  139. div { class = "mp-thumb" style = thumbStyle }
  140. }
  141. mpButtons {
  142. button { type = "button" class = "mp-back" title = backLabel 'aria-label' = backLabel Icon { name = "skipBack" size = "1.5em" } on click(e) { emit mpBack(e) } }
  143. button { type = "button" class = playClass title = playLabelNow 'aria-label' = playIsNow
  144. span { class = "i-play" Icon { name = "play" size = "1.75em" } }
  145. span { class = "i-pause" Icon { name = "pause" size = "1.75em" } }
  146. on click(e) { emit mpToggle(e) }
  147. }
  148. button { type = "button" class = "mp-forward" title = forwardLabel 'aria-label' = forwardLabel Icon { name = "skipForward" size = "1.5em" } on click(e) { emit mpForward(e) } }
  149. span { class = "mp-times"
  150. time { timeText }
  151. span { 'aria-hidden' = "true" "/" }
  152. time { totalText }
  153. }
  154. button { type = "button" class = muteClass title = muteLabelNow 'aria-label' = muteLabelNow
  155. span { class = "i-on" Icon { name = "volume" } }
  156. span { class = "i-off" Icon { name = "volumeOff" } }
  157. on click(e) { emit mpMute(e) }
  158. }
  159. button { type = "button" class = "mp-speed" title = speedLabel 'aria-label' = speedName on click(e) { emit mpSpeed(e) }
  160. span { 'aria-hidden' = "true" speedText + '×' }
  161. }
  162. if (isVideo) { button { type = "button" class = "mp-fullscreen" title = fullscreenLabel 'aria-label' = fullscreenLabel Icon { name = "fullscreen" } on click(e) { emit mpFull(e) } } }
  163. }
  164. if (hasQueue) { div {
  165. h2 { class = "mp-queue-title" queueLabel }
  166. ol { class = "mp-queue" 'aria-label' = queueLabel
  167. for (q of rows) { li { class = q.cls
  168. button { type = "button" 'data-src' = q.src title = q.title
  169. span { class = "mp-q-title" q.title }
  170. span { class = "mp-q-dur" q.dur }
  171. on click(e) { emit mpPick(e) }
  172. }
  173. } }
  174. }
  175. } }
  176. }
  177. }
  178. isVideo = kind != 'audio'
  179. isAudio = kind == 'audio'
  180. hasCover = kind == 'audio' && cover != ''
  181. hasQueue = queue.length > 0
  182. seekText = timeText + ' of ' + totalText
  183. speedName = speedLabel + ' ' + speedText + '×'
  184. Hybrid rows = rowsOf(queue, src)
  185. // the queue rows with the current one marked (a row's class must be a field of the record)
  186. rowsOf(list, now) {
  187. out = []
  188. let i = 0
  189. while (i < list.length) {
  190. out.push({ src = list[i].src title = list[i].title dur = list[i].dur cls = list[i].src == now ? 'current' : '' })
  191. i = i + 1
  192. }
  193. return out
  194. }
  195. // ---- the buttons ----------------------------------------------------------------------------------------
  196. on mpToggle(e) {
  197. v = mediaOf(e.target)
  198. if (v.paused) { v.play() } else { v.pause() }
  199. return null
  200. }
  201. on mpBack(e) {
  202. v = mediaOf(e.target)
  203. if (v.currentTime > jump) { v.currentTime = v.currentTime - jump } else { v.currentTime = 0 }
  204. return null
  205. }
  206. on mpForward(e) {
  207. v = mediaOf(e.target)
  208. if (v.duration > 0 && v.currentTime + jump < v.duration) { v.currentTime = v.currentTime + jump } else if (v.duration > 0) { v.currentTime = v.duration }
  209. return null
  210. }
  211. on mpMute(e) {
  212. v = mediaOf(e.target)
  213. v.muted = !v.muted
  214. return null
  215. }
  216. on mpSpeed(e) {
  217. v = mediaOf(e.target)
  218. s = v.playbackRate
  219. let next = 1
  220. if (s == 1) { next = 1.25 } else if (s == 1.25) { next = 1.5 } else if (s == 1.5) { next = 2 }
  221. v.playbackRate = next
  222. speedText = '' + next
  223. return null
  224. }
  225. on mpFull(e) {
  226. p = e.target.closest('media-player')
  227. if (document.fullscreenElement != null) { document.exitFullscreen() } else { p.requestFullscreen() }
  228. return null
  229. }
  230. // ---- the seek bar ---------------------------------------------------------------------------------------
  231. // the percent of the bar a pointer x lands on
  232. pctOf(bar, x) {
  233. r = bar.getBoundingClientRect()
  234. if (r.width == 0) { return 0 }
  235. let p = (x - r.left) / r.width * 100
  236. if (p < 0) { p = 0 }
  237. if (p > 100) { p = 100 }
  238. return p - p % 1
  239. }
  240. on mpDown(e) {
  241. v = mediaOf(e.target)
  242. bar = barOf(e.target)
  243. bar.setPointerCapture(e.pointerId)
  244. dragging = 'true'
  245. if (v.duration > 0) { v.currentTime = pctOf(bar, e.clientX) / 100 * v.duration }
  246. return null
  247. }
  248. on mpMove(e) {
  249. if (dragging != 'true') { return null }
  250. v = mediaOf(e.target)
  251. bar = barOf(e.target)
  252. if (v.duration > 0) { v.currentTime = pctOf(bar, e.clientX) / 100 * v.duration }
  253. return null
  254. }
  255. on mpUp(e) {
  256. dragging = 'false'
  257. return null
  258. }
  259. // the seek bar itself takes the keyboard too: arrows jump, Home / End go to the ends
  260. on mpBarKey(e) {
  261. v = mediaOf(e.target)
  262. if (e.key == 'ArrowLeft') { e.preventDefault() emit mpBack(e) return null }
  263. if (e.key == 'ArrowRight') { e.preventDefault() emit mpForward(e) return null }
  264. if (e.key == 'Home' && v.duration > 0) { e.preventDefault() v.currentTime = 0 return null }
  265. if (e.key == 'End' && v.duration > 0) { e.preventDefault() v.currentTime = v.duration return null }
  266. return null
  267. }
  268. // ---- the media element's events --------------------------------------------------------------------------
  269. // the whole display read from the media element: the labels, the times, the bars, the play / mute / speed state. A new
  270. // source on the SAME element (a queue item of the same kind) or a new element (the kind changed) must never show the
  271. // old item's state: the time, the bars, the speed and the mute of the element are what the buttons show.
  272. on mpSync(e) {
  273. v = mediaFrom(e.target)
  274. timeText = clockText(v.currentTime)
  275. totalText = v.duration > 0 ? clockText(v.duration) : '0:00'
  276. playedPct = v.duration > 0 ? '' + (v.currentTime / v.duration * 100 - v.currentTime / v.duration * 100 % 1) : '0'
  277. playedStyle = 'width:' + playedPct + '%'
  278. thumbStyle = 'left:' + playedPct + '%'
  279. bufferedPct = bufferedPctOf(v)
  280. bufferedStyle = 'width:' + bufferedPct + '%'
  281. speedText = '' + v.playbackRate
  282. muted = v.muted ? 'true' : 'false'
  283. muteClass = v.muted ? 'mp-mute is-muted' : 'mp-mute'
  284. muteLabelNow = v.muted ? unmuteLabel : muteLabel
  285. playClass = v.paused ? 'mp-play' : 'mp-play is-playing'
  286. playLabelNow = v.paused ? playLabel : pauseLabel
  287. playIsNow = playLabelNow
  288. return null
  289. }
  290. // the metadata of a new source arrived after the handlers were bound (a queue pick of the same kind keeps the element and
  291. // only changes its src; `loadstart` is not a DOM event the framework knows, `loadedmetadata` is): read the display again
  292. // and, when the host asked for it, start the new item
  293. on mpLoad(e) {
  294. emit mpSync(e)
  295. v = mediaFrom(e.target)
  296. if (autoPlay == 'true') { v.play() }
  297. return null
  298. }
  299. on mpRate(e) { speedText = '' + e.target.playbackRate return null }
  300. // the first tick of the mount animation: the element's own state (already loaded before the handlers bound)
  301. // is read in, then the animation is turned off
  302. on mpMount(e) {
  303. e.target.style.animationName = 'none'
  304. emit mpSync(e)
  305. v = mediaOf(e.target)
  306. if (autoPlay == 'true') { v.play() }
  307. return null
  308. }
  309. on mpStarted(e) { playing = 'true' playClass = 'mp-play is-playing' playLabelNow = pauseLabel playIsNow = pauseLabel return null }
  310. on mpPaused(e) { playing = 'false' playClass = 'mp-play' playLabelNow = playLabel playIsNow = playLabel return null }
  311. on mpTime(e) {
  312. v = e.target
  313. timeText = clockText(v.currentTime)
  314. if (v.duration > 0) {
  315. playedPct = '' + (v.currentTime / v.duration * 100 - v.currentTime / v.duration * 100 % 1)
  316. playedStyle = 'width:' + playedPct + '%'
  317. thumbStyle = 'left:' + playedPct + '%'
  318. if (totalText == '0:00') { totalText = clockText(v.duration) }
  319. bufferedPct = bufferedPctOf(v)
  320. bufferedStyle = 'width:' + bufferedPct + '%'
  321. }
  322. return null
  323. }
  324. on mpTotal(e) {
  325. if (e.target.duration > 0) { totalText = clockText(e.target.duration) }
  326. return null
  327. }
  328. on mpBuffered(e) {
  329. v = e.target
  330. bufferedPct = bufferedPctOf(v)
  331. bufferedStyle = 'width:' + bufferedPct + '%'
  332. if (v.duration > 0 && totalText == '0:00') { totalText = clockText(v.duration) }
  333. return null
  334. }
  335. on mpVolume(e) {
  336. muted = e.target.muted ? 'true' : 'false'
  337. muteClass = muted == 'true' ? 'mp-mute is-muted' : 'mp-mute'
  338. muteLabelNow = muted == 'true' ? unmuteLabel : muteLabel
  339. return null
  340. }
  341. on mpKey(e) {
  342. if (e.key == ' ' || e.key == 'Spacebar') { e.preventDefault() emit mpToggle(e) return null }
  343. if (e.key == 'ArrowLeft') { e.preventDefault() emit mpBack(e) return null }
  344. if (e.key == 'ArrowRight') { e.preventDefault() emit mpForward(e) return null }
  345. return null
  346. }
  347. // ---- the queue ---------------------------------------------------------------------------------------------
  348. // a tap on a queue item tells the host, which hands a new src back (the player is built anew with it)
  349. // a tap on a queue item tells the host, which hands a new src back (the player is built anew with it); the
  350. // new one starts playing at once (the user asked for it — autoplay policies allow a play after a tap)
  351. on mpPick(e) {
  352. b = e.target.closest('button')
  353. if (onPlay != null) { onPlay(b.getAttribute('data-src')) }
  354. return null
  355. }
  356. // an item ended: the next one is picked the same way (the last one just stops)
  357. on mpEnded(e) {
  358. playing = 'false'
  359. let i = 0
  360. let next = ''
  361. while (i < queue.length) {
  362. if (queue[i].src == src && i + 1 < queue.length) { next = queue[i + 1].src }
  363. i = i + 1
  364. }
  365. if (next != '' && onPlay != null) { onPlay(next) }
  366. return null
  367. }

Branches

Latest commits

  • 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