From 8f92695c246e62c0d758ff21ac9b36823319009e Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 5 Nov 2023 20:00:20 -0800 Subject: [PATCH] chore: update filters --- src/utils/media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/media.js b/src/utils/media.js index 9b47d708..7504521e 100644 --- a/src/utils/media.js +++ b/src/utils/media.js @@ -26,7 +26,7 @@ module.exports = { */ sanitizeMedia: (media) => { const denyList = - /-\s*(?:single|ep)\s*|(\[|\()(Deluxe|Special|Remastered|Full Dynamic Range|Expanded|Bonus Track)(?:\s+\d+(?:th|nd|rd|st)? Anniversary)?(?:\s+Edition)?(?:\s+Version)?(\]|\))/gi + /-\s*(?:single|ep)\s*|(\[|\()(Deluxe|Special|Remastered|Main Digital|Full Dynamic Range|Expanded|Bonus Track)(?:\s+\d+(?:th|nd|rd|st)? Anniversary)?(?:\s+Edition)?(?:\s+Version)?(\]|\))/gi return media.replace(denyList, '').trim() },