diff options
Diffstat (limited to 'src/data/things/album.js')
-rw-r--r-- | src/data/things/album.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/data/things/album.js b/src/data/things/album.js index e17304d0..539f4fb1 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -217,6 +217,32 @@ export class Album extends Thing { }), ], + referencedTrackArtworks: [ + exitWithoutContribs({ + contribs: 'coverArtistContribs', + value: input.value([]), + }), + + referenceList({ + class: input.value(Track), + find: input.value(find.track), + data: 'trackData', + }), + ], + + referencedAlbumArtworks: [ + exitWithoutContribs({ + contribs: 'coverArtistContribs', + value: input.value([]), + }), + + referenceList({ + class: input.value(Album), + find: input.value(find.album), + data: 'albumData', + }), + ], + // Update only artistData: wikiData({ @@ -384,6 +410,9 @@ export class Album extends Thing { transform: parseAdditionalFiles, }, + 'Referenced Track Artworks': {property: 'referencedTrackArtworks'}, + 'Referenced Album Artworks': {property: 'referencedAlbumArtworks'}, + 'Franchises': {ignore: true}, 'Artists': { |