A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: process-tracks facet should not check for leadership, this happens automatically already

+3 -3
+2 -2
src/facets/data/process-tracks/prelude/index.inline.js
··· 22 22 disableWhenReady: true, 23 23 }); 24 24 25 - if (diff >= MAX_TIME_DIFF && await orchestrator.isLeader()) { 25 + if (diff >= MAX_TIME_DIFF) { 26 26 // Wait until we're actually done processing, only then set the timestamp 27 27 await orchestrator.process(); 28 28 localStorage.setItem(KEY, JSON.stringify(now)); ··· 40 40 /** @param {import("~/components/input/types.d.ts").Source} _sources */ async ( 41 41 _sources, 42 42 ) => { 43 - if (initialised && await orchestrator.isLeader()) orchestrator.process(); 43 + if (initialised) orchestrator.process(); 44 44 else initialised = true; 45 45 }, 46 46 { atBegin: false },
+1 -1
src/themes/winamp/webamp/element.js
··· 8 8 * @import {Track} from "~/definitions/types.d.ts" 9 9 */ 10 10 11 - const UI_STATE_KEY = "diffuse/themes/winamp/webamp/ui"; 11 + const UI_STATE_KEY = "themes/winamp/webamp/ui"; 12 12 13 13 /** @returns {{ milkdropOpen: boolean, eqOpen: boolean, playlistOpen: boolean, eqOn: boolean, eqSliders: Record<string, number> | null }} */ 14 14 function loadUiState() {