« get me outta code hell

replacer: {album,track}-referencing-tracks:<directory> - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/track.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-28 17:48:46 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-28 17:48:46 -0400
commitdaa8fcfe3c9b7de2faa5bb61f6d0487c7b91ff5b (patch)
tree01a8bd4ec57a28ff9bc3cc53bb25748f3741d36f /src/data/things/track.js
parent270a6d0dc04198f9135be4955fd124720ab536bb (diff)
replacer: {album,track}-referencing-tracks:<directory>
Diffstat (limited to 'src/data/things/track.js')
-rw-r--r--src/data/things/track.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/data/things/track.js b/src/data/things/track.js
index ff4750db..af2206f0 100644
--- a/src/data/things/track.js
+++ b/src/data/things/track.js
@@ -600,6 +600,7 @@ export class Track extends Thing {
   static [Thing.findSpecs] = {
     track: {
       referenceTypes: ['track'],
+
       bindTo: 'trackData',
 
       getMatchableNames: track =>
@@ -626,7 +627,12 @@ export class Track extends Thing {
     },
 
     trackWithArtwork: {
-      referenceTypes: ['track'],
+      referenceTypes: [
+        'track',
+        'track-referencing-artworks',
+        'track-referenced-artworks',
+      ],
+
       bindTo: 'trackData',
 
       include: track =>