diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-05-05 19:33:01 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-05-05 19:33:01 -0300 |
commit | 8fd50d6f0ba8dcfcfe34eb1321dc0bdd307b8c6a (patch) | |
tree | b7bed8c523dcdfaa4eec7c89e311457400530807 /src/data | |
parent | e943484cf46cfe509b8d68fada06a760ae05545f (diff) |
support albums without cover art
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things.js | 1 | ||||
-rw-r--r-- | src/data/yaml.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things.js b/src/data/things.js index 4cc5d061..b2251430 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -474,6 +474,7 @@ Album.propertyDescriptors = { update: {validate: isDimensions} }, + hasCoverArt: Thing.common.flag(true), hasTrackArt: Thing.common.flag(true), isMajorRelease: Thing.common.flag(false), isListedOnHomepage: Thing.common.flag(true), diff --git a/src/data/yaml.js b/src/data/yaml.js index fdb7d9c1..2e0e985a 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -219,6 +219,7 @@ export const processAlbumDocument = makeProcessDocument(Album, { coverArtDate: 'Cover Art Date', dateAddedToWiki: 'Date Added', + hasCoverArt: 'Has Cover Art', hasTrackArt: 'Has Track Art', isMajorRelease: 'Major Release', isListedOnHomepage: 'Listed on Homepage', |