« 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/replacer.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/replacer.js
parent270a6d0dc04198f9135be4955fd124720ab536bb (diff)
replacer: {album,track}-referencing-tracks:<directory>
Diffstat (limited to 'src/replacer.js')
-rw-r--r--src/replacer.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/replacer.js b/src/replacer.js
index e3f5623e..68361488 100644
--- a/src/replacer.js
+++ b/src/replacer.js
@@ -26,6 +26,16 @@ export const replacerSpec = {
     link: 'linkAlbumGallery',
   },
 
+  'album-referenced-artworks': {
+    find: 'albumWithArtwork',
+    link: 'linkAlbumReferencedArtworks',
+  },
+
+  'album-referencing-artworks': {
+    find: 'albumWithArtwork',
+    link: 'linkAlbumReferencingArtworks',
+  },
+
   'artist': {
     find: 'artist',
     link: 'linkArtist',
@@ -144,6 +154,16 @@ export const replacerSpec = {
     find: 'track',
     link: 'linkTrackDynamically',
   },
+
+  'track-referenced-artworks': {
+    find: 'trackWithArtwork',
+    link: 'linkTrackReferencedArtworks',
+  },
+
+  'track-referencing-artworks': {
+    find: 'trackWithArtwork',
+    link: 'linkTrackReferencingArtworks',
+  },
 };
 
 // Syntax literals.