From dc6c10adadb947edc3b1c7ca5bd0d7d635fc0c3d Mon Sep 17 00:00:00 2001 From: onamdumbare <76520941+onamdumbare@users.noreply.github.com> Date: Tue, 15 Oct 2024 12:04:23 +1100 Subject: [PATCH] Add coverImage and thumb to images array in artist schema Ensures cover image (if available) is the first item - Adds thumbnail as second item for artist's profile picture --- packages/core/src/plugins/meta/audius.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/plugins/meta/audius.ts b/packages/core/src/plugins/meta/audius.ts index 7ec486127e..dccf5c7379 100644 --- a/packages/core/src/plugins/meta/audius.ts +++ b/packages/core/src/plugins/meta/audius.ts @@ -94,7 +94,7 @@ class AudiusMetaProvider extends MetaProvider { onTour: hasLastFmArtist ? lastFmInfo.ontour === '1' : false, coverImage, thumb, - images: [], + images: [coverImage, thumb], topTracks: _.map(ArtistTracks, (track) => ({ name: track.title, title: track.title,