diff options
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r-- | src/data/things/track.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js index e3526f1c..586e5f4c 100644 --- a/src/data/things/track.js +++ b/src/data/things/track.js @@ -319,6 +319,30 @@ export class Track extends Thing { }), ], + referencedTrackArtworks: [ + exitWithoutUniqueCoverArt({ + value: input.value([]), + }), + + referenceList({ + class: input.value(Track), + find: input.value(find.track), + data: 'trackData', + }), + ], + + referencedAlbumArtworks: [ + exitWithoutUniqueCoverArt({ + value: input.value([]), + }), + + referenceList({ + class: input.value(Album), + find: input.value(find.album), + data: 'albumData', + }), + ], + // Update only albumData: wikiData({ @@ -482,6 +506,9 @@ export class Track extends Thing { 'Referenced Tracks': {property: 'referencedTracks'}, 'Sampled Tracks': {property: 'sampledTracks'}, + 'Referenced Track Artworks': {property: 'referencedTrackArtworks'}, + 'Referenced Album Artworks': {property: 'referencedAlbumArtworks'}, + 'Franchises': {ignore: true}, 'Inherit Franchises': {ignore: true}, |