diff options
Diffstat (limited to 'src/content/dependencies/generateTrackCoverArtwork.js')
-rw-r--r-- | src/content/dependencies/generateTrackCoverArtwork.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/dependencies/generateTrackCoverArtwork.js b/src/content/dependencies/generateTrackCoverArtwork.js index f75bf00b..2ad14993 100644 --- a/src/content/dependencies/generateTrackCoverArtwork.js +++ b/src/content/dependencies/generateTrackCoverArtwork.js @@ -44,6 +44,8 @@ export default { }), slots: { + mode: {type: 'string'}, + details: { validate: v => v.is('tags', 'artists'), default: 'tags', @@ -52,6 +54,8 @@ export default { generate: (data, relations, slots, {language}) => relations.coverArtwork.slots({ + mode: slots.mode, + image: relations.image.slots({ path: data.path, |