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.

feat: use new artwork/input component in bundle

+16
+16
src/facets/data/artwork-bundle/index.inline.js
··· 2 2 import { effect } from "~/common/signal.js"; 3 3 4 4 import { NAME as AUDIO_METADATA_NAME } from "~/components/artwork/audio-metadata/element.js"; 5 + import { NAME as INPUT_NAME } from "~/components/artwork/input/element.js"; 5 6 import { NAME as LAST_FM_NAME } from "~/components/artwork/last.fm/element.js"; 6 7 import { NAME as MUSICBRAINZ_NAME } from "~/components/artwork/musicbrainz/element.js"; 7 8 ··· 17 18 const input = foundation.signals.configurator.input(); 18 19 if (!artwork || !input) return; 19 20 21 + inputArtwork(artwork, input); 20 22 audioMetadata(artwork, input); 21 23 lastFm(artwork); 22 24 musicBrainz(artwork); 23 25 }); 26 + 27 + //////////////////////////////////////////// 28 + // INPUT 29 + //////////////////////////////////////////// 30 + 31 + /** 32 + * @param {ArtworkConfigurator} artwork 33 + * @param {import("~/components/configurator/input/element.js").default} input 34 + */ 35 + export function inputArtwork(artwork, input) { 36 + const el = document.createElement(INPUT_NAME); 37 + el.setAttribute("input-selector", input.selector); 38 + artwork.prepend(el); 39 + } 24 40 25 41 //////////////////////////////////////////// 26 42 // AUDIO METADATA