« get me outta code hell

data: Track.musicVideos: inherit from main release - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-01-17 04:28:52 -0400
committer(quasar) nebula <qznebula@protonmail.com>2026-01-17 04:28:52 -0400
commit36b99391128458f47a7d93762467d74389478824 (patch)
tree33d1ca54a8e0d7766f0098fd132ffd5763aaac61 /src/data/things
parent1109e617fe71f2e2253f0aaff229784b172e02c0 (diff)
data: Track.musicVideos: inherit from main release
Diffstat (limited to 'src/data/things')
-rw-r--r--src/data/things/track.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index 8652fbdf..5b40ca4d 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -492,7 +492,17 @@ export class Track extends Thing {
 
     // > Update & expose - Music videos
 
-    musicVideos: thingList(V(MusicVideo)),
+    musicVideos: [
+      exposeUpdateValueOrContinue(),
+
+      // TODO: Same situation as lyrics. Inherited music videos don't set
+      // the proper .thing property back to this track... but then, it needs
+      // to keep a reference to its original .thing to get its proper path,
+      // so maybe this is okay...
+      inheritFromMainRelease(),
+
+      thingList(V(MusicVideo)),
+    ],
 
     // > Update & expose - Additional files