chore: update filters
This commit is contained in:
parent
ce801139a1
commit
8f92695c24
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ module.exports = {
|
||||||
*/
|
*/
|
||||||
sanitizeMedia: (media) => {
|
sanitizeMedia: (media) => {
|
||||||
const denyList =
|
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()
|
return media.replace(denyList, '').trim()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Reference in a new issue