jukebox
All repositories: gitoria
426 B
// 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// topics hold separate copies. Dropped by `dropOrderCache` when a scan changed songs.import OrderCache from './order-cache.hl'static cache = new OrderCache()static dropOrderCache = () => {cache.lists = {}cache.stats = nullcache.dups = null}
Branches
Latest commits
- 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