diff --git a/providers/song-info.js b/providers/song-info.js index c4028355..88f757a3 100644 --- a/providers/song-info.js +++ b/providers/song-info.js @@ -112,13 +112,12 @@ const suffixesToRemove = [ " - topic", "vevo", " (performance video)", - " (official music video)", - " (official video)", " (clip officiel)", ]; function cleanupName(name) { if (!name) return name; + name = name.replace(/\((?:official)?[ ]?(?:music)?[ ]?(?:lyric[s]?)?[ ]?(?:video)?\)$/i, '') const lowCaseName = name.toLowerCase(); for (const suffix of suffixesToRemove) { if (lowCaseName.endsWith(suffix)) {