« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/external-links.js6
-rw-r--r--src/strings-default.yaml2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/external-links.js b/src/external-links.js
index 6624082b..f3273037 100644
--- a/src/external-links.js
+++ b/src/external-links.js
@@ -698,6 +698,12 @@ export const externalLinkSpec = [
   },
 
   {
+    match: {domain: 'music.youtube.com'},
+    platform: 'youtubeMusic',
+    icon: 'youtube',
+  },
+
+  {
     match: {domain: 'youtube.com'},
 
     platform: 'youtube',
diff --git a/src/strings-default.yaml b/src/strings-default.yaml
index 200296f3..9137ee7a 100644
--- a/src/strings-default.yaml
+++ b/src/strings-default.yaml
@@ -857,6 +857,8 @@ misc:
       playlist: "YouTube (playlist)"
       fullAlbum: "YouTube (full album)"
 
+    youtubeMusic: "YouTube Music"
+
   flashActWithTitle: "{ACT}: {TITLE}"
 
   # lyrics: