« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/track.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 91ef724e..d4ce7790 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -155,7 +155,14 @@ export class Track extends Thing {
     ],
 
     commentary: commentary(),
-    lyrics: contentString(),
+
+    lyrics: [
+      inheritFromOriginalRelease({
+        property: input.value('lyrics'),
+      }),
+
+      contentString(),
+    ],
 
     additionalFiles: additionalFiles(),
     sheetMusicFiles: additionalFiles(),
@@ -444,6 +451,11 @@ export class Track extends Thing {
         'Contributors',
       ]},
 
+      {message: `Re-releases inherit lyrics from the original`, fields: [
+        'Originally Released As',
+        'Lyrics',
+      ]},
+
       {
         message: ({'Has Cover Art': hasCoverArt}) =>
           (hasCoverArt