gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit9daebb4b9daebb4bjukebox JB3b: shuffle, now-playing overlay, next and previous, play counting, media session, gates; keyboard left open (Hybriel gap)mre9daebb4b/lib/state.hl

426 B

  1. // lib/state.hl — the ONE in-memory cache every topic shares (lib/browse.hl, lib/dups.hl, lib/plays.hl, lib/queue.hl, lib/catalog.hl): a module of its own so that no two
  2. // topics hold separate copies. Dropped by `dropOrderCache` when a scan changed songs.
  3. import OrderCache from './order-cache.hl'
  4. static cache = new OrderCache()
  5. static dropOrderCache = () => {
  6. cache.lists = {}
  7. cache.stats = null
  8. cache.dups = null
  9. }

Branches

Latest commits

  • 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