From 316cb1b1567a60ea6d7d23929028e79b964ff04a Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 3 Jan 2022 13:13:49 +0100 Subject: [PATCH] Add Discogs and regular YouTube known links. --- source/ts/utilities/known-links.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/ts/utilities/known-links.json b/source/ts/utilities/known-links.json index 431a9ea..dbf90fa 100644 --- a/source/ts/utilities/known-links.json +++ b/source/ts/utilities/known-links.json @@ -19,6 +19,10 @@ "regex": "deezer\\.com$", "text": "Deezer" }, + { + "regex": "discogs\\.com$", + "text": "Discogs" + }, { "regex": "qobuz\\.com$", "text": "Qobuz" @@ -38,5 +42,10 @@ { "regex": "music\\.youtube\\.com$", "text": "YouTube Music" - } + }, + { + "__comment": "Make sure we don't match the YouTube Music sub-domain", + "regex": "^(www\\.)?(youtu\\.be|youtube\\.com)$", + "text": "YouTube" + } ]