« 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/yaml.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 65e7bcae..e473790a 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -448,7 +448,11 @@ export function parseAdditionalFiles(entries) {
 export function parseAdditionalNames(entries) {
   return parseArrayEntries(entries, item => {
     if (typeof item === 'object' && typeof item['Name'] === 'string')
-      return {name: item['Name'], annotation: item['Annotation'] ?? null};
+      return {
+        name: item['Name'],
+        annotation: item['Annotation'] ?? null,
+        specificAlbumExclusive: item['This Album Only'] ?? null,
+      };
 
     if (typeof item !== 'string') return item;
 
@@ -458,6 +462,7 @@ export function parseAdditionalNames(entries) {
     return {
       name: match.groups.main,
       annotation: match.groups.accent ?? null,
+      specificAlbumExclusive: null,
     };
   });
 }