dweb-search-frontend
dweb-search-frontend copied to clipboard
Show album cover / related art for audio files in the image (in stead of picsum)
Currently we use random picsum images with a fixed seed for the image associated with audio files. This works well, but other than some colorful drapery of the frontend it makes no sense, and it would be much nicer to use e.g. album covers or other images.
To do so, we ave hte following options.
- Songs with MusicBrainz ID (mbid) in metadata can use 'Covers API' : https://wiki.musicbrainz.org/Cover_Art_Archive/API
- Often there is a cover.jpg or png in the folder above
- often there are covers in the metatags of songs. Nyats has a tentative (untested) code for this https://github.com/ipfs-search/nyats/blob/dabd7c00d24ff0b5660c745c31d478482a2e170e/packages/server/src/ffmpeg_extractor.ts#L131
Additional context Je kan de mbid vinden/gokken door queries op de MusicBrainz API, bijvoorbeeld op (artist-album-year) https://musicbrainz.org/doc/MusicBrainz_API https://wiki.musicbrainz.org/MusicBrainz_API/Search#Release https://github.com/Borewit/musicbrainz-api#search-query Let dat een album bij MB een release genoemd wordt.