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

Configure Feed

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

chore: 🧹

-6
-6
src/components/orchestrator/scoped-tracks/element.js
··· 115 115 await customElements.whenDefined(output.localName); 116 116 if (scope) await customElements.whenDefined(scope.localName); 117 117 118 - const startTime = performance.now(); 119 - 120 118 // Watch tracks collection 121 119 this.effect(async () => { 122 120 const collection = output.tracks.collection(); 123 - console.log("🫠", collection); 124 121 if ((await this.isLeader()) === false) return; 125 122 const { availableTracks } = await this.#proxy.supply(collection); 126 123 this.#tracksAvailable.value = availableTracks; ··· 154 151 const final = playlist 155 152 ? await this.#proxy.filterByPlaylist({ tracks, playlist }) 156 153 : tracks; 157 - 158 - const endTime = performance.now(); 159 - console.log("🚀", final, endTime - startTime); 160 154 161 155 this.#tracksFinal.set(final); 162 156 });