From a8af1e76ec2b0d51d243f68aebf21c64f9f35be6 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 26 Jan 2024 10:58:36 -0400 Subject: data: Album.coverArtDimensions ("Cover Art Dimensions") --- src/data/things/album.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/data/things/album.js b/src/data/things/album.js index 336d777a..40cd4631 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -92,6 +92,11 @@ export class Album extends Thing { simpleString(), ], + coverArtDimensions: [ + exitWithoutContribs({contribs: 'coverArtistContribs'}), + dimensions(), + ], + bannerDimensions: [ exitWithoutContribs({contribs: 'bannerArtistContribs'}), dimensions(), @@ -261,6 +266,11 @@ export class Album extends Thing { 'Cover Art File Extension': {property: 'coverArtFileExtension'}, 'Track Art File Extension': {property: 'trackCoverArtFileExtension'}, + 'Cover Art Dimensions': { + property: 'coverArtDimensions', + transform: parseDimensions, + }, + 'Wallpaper Artists': { property: 'wallpaperArtistContribs', transform: parseContributors, -- cgit 1.3.0-6-gf8a5