« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/Artist.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/Artist.js')
-rw-r--r--src/data/things/Artist.js4
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