« get me outta code hell

data, yaml: inherit music-related properties from original release - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/cli.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-15 22:05:36 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-15 22:05:36 -0300
commit7e7117e2e1c3d72393289f63695d4f86d358e7ed (patch)
tree68d6e3c5b16328f282ce7f6b4d4536a36aa2cd70 /src/util/cli.js
parentd908377fa3d7a90df344744a9d2429c4a4095d01 (diff)
data, yaml: inherit music-related properties from original release
When a track has 'Originally Released As', these fields are now
automatically inherited:

* Artists
* Contributors
* Referenced Tracks
* Sampled Tracks

Including any of these fields alongside 'Originally Released As'
is an error.

Corresponding properties are valid, but ignored.

This uses a new "compositional" style to define how each of these
properties inherits while retaining the original behavior for
tracks that aren't re-releases, and avoids hard-coding much of
anything!
Diffstat (limited to 'src/util/cli.js')
0 files changed, 0 insertions, 0 deletions