diff options
| author | (quasar) nebula <qznebula@protonmail.com> | 2026-05-01 08:06:52 -0300 |
|---|---|---|
| committer | (quasar) nebula <qznebula@protonmail.com> | 2026-05-01 08:06:52 -0300 |
| commit | 92d82211fdf3d653b1a5a4d2cfdad5c684e2367d (patch) | |
| tree | 0822b2122963232988cbac2bd6e4689bb5cd4c32 /src/data/things/Artist.js | |
| parent | dba7bea5c4ef2499c3cc0aee2a3154f6a31ea5b2 (diff) | |
content, data, validators: stub url entries
Diffstat (limited to 'src/data/things/Artist.js')
| -rw-r--r-- | src/data/things/Artist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/Artist.js b/src/data/things/Artist.js index 6ce448ff..64798527 100644 --- a/src/data/things/Artist.js +++ b/src/data/things/Artist.js @@ -4,7 +4,7 @@ import CacheableObject from '#cacheable-object'; import {colors} from '#cli'; import {input, V} from '#composite'; import Thing from '#thing'; -import {parseArtistAliases, parseArtwork} from '#yaml'; +import {parseArtistAliases, parseArtwork, parseURLs} from '#yaml'; import { sortAlbumsTracksChronologically, @@ -351,7 +351,7 @@ export class Artist extends Thing { fields: { 'Artist': {property: 'name'}, 'Directory': {property: 'directory'}, - 'URLs': {property: 'urls'}, + 'URLs': {property: 'urls', transform: parseURLs}, 'Context Notes': {property: 'contextNotes'}, // note: doesn't really work as an independent field yet |