From ccccc611c02eb33d0ec171ec862456b8ab1b59b1 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 18 Mar 2024 12:29:49 -0300 Subject: data: Bandcamp album/track IDs --- src/data/things/album.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/data/things/album.js') diff --git a/src/data/things/album.js b/src/data/things/album.js index 01a232d0..336d777a 100644 --- a/src/data/things/album.js +++ b/src/data/things/album.js @@ -48,6 +48,9 @@ export class Album extends Thing { directory: directory(), urls: urls(), + bandcampAlbumIdentifier: simpleString(), + bandcampArtworkIdentifier: simpleString(), + date: simpleDate(), trackArtDate: simpleDate(), dateAddedToWiki: simpleDate(), @@ -218,6 +221,16 @@ export class Album extends Thing { 'Album': {property: 'name'}, 'Directory': {property: 'directory'}, + 'Bandcamp Album ID': { + property: 'bandcampAlbumIdentifier', + transform: String, + }, + + 'Bandcamp Artwork ID': { + property: 'bandcampArtworkIdentifier', + transform: String, + }, + 'Date': { property: 'date', transform: parseDate, -- cgit 1.3.0-6-gf8a5