« get me outta code hell

content: composer's release -> artist's release - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-05-01 18:51:22 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-05-01 18:51:22 -0300
commitddbbf9da0c144cddd82f1c15dfb0de0d30637e85 (patch)
treed1ce91db3c463aa7276c22e70d53eb429a398105 /src
parent43f08c7810fb814896059aa41c77178f7317e80e (diff)
content: composer's release -> artist's release HEAD staging release
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateReleaseInfoListenLine.js6
-rw-r--r--src/external-links.js6
-rw-r--r--src/strings-default.yaml2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/content/dependencies/generateReleaseInfoListenLine.js b/src/content/dependencies/generateReleaseInfoListenLine.js
index f2a6dd29..d07aad19 100644
--- a/src/content/dependencies/generateReleaseInfoListenLine.js
+++ b/src/content/dependencies/generateReleaseInfoListenLine.js
@@ -5,7 +5,7 @@ function getReleaseContext(urlString, {
   _artistURLs,
   albumArtistURLs,
 }) {
-  const composerBandcampDomains =
+  const artistBandcampDomains =
     albumArtistURLs
       .filter(url => url.hostname.endsWith('.bandcamp.com'))
       .map(url => url.hostname);
@@ -16,8 +16,8 @@ function getReleaseContext(urlString, {
     return 'officialRelease';
   }
 
-  if (composerBandcampDomains.includes(url.hostname)) {
-    return 'composerRelease';
+  if (artistBandcampDomains.includes(url.hostname)) {
+    return 'artistRelease';
   }
 
   return null;
diff --git a/src/external-links.js b/src/external-links.js
index daf57b41..67ad5f50 100644
--- a/src/external-links.js
+++ b/src/external-links.js
@@ -33,7 +33,7 @@ export const externalLinkContexts = [
   'group',
   'track',
 
-  'composerRelease',
+  'artistRelease',
   'officialRelease',
 ];
 
@@ -262,10 +262,10 @@ export const externalLinkSpec = [
   {
     match: {
       domain: '.bandcamp.com',
-      context: 'composerRelease',
+      context: 'artistRelease',
     },
 
-    platform: 'bandcamp.composerRelease',
+    platform: 'bandcamp.artistRelease',
     handle: {domain: /^[^.]+/},
 
     icon: 'bandcamp',
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 6b68cdb6..38fa80bd 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -651,7 +651,7 @@ misc:
     bandcamp:
       _: "Bandcamp"
 
-      composerRelease: "Bandcamp (composer's release)"
+      artistRelease: "Bandcamp (artist's release)"
       officialRelease: "Bandcamp (official release)"
 
     bgreco: