diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index 81040af3af..16696d4254 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -563,7 +563,7 @@ def is_lyrics(self, text, artist=None): bad_triggers = ['lyrics', 'copyright', 'property', 'links'] if artist: - bad_triggers_occ += [artist] + bad_triggers += [artist] for item in bad_triggers: bad_triggers_occ += [item] * len(re.findall(r'\W%s\W' % item, diff --git a/docs/changelog.rst b/docs/changelog.rst index 6ea5ae1238..0268aa2f92 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -136,6 +136,9 @@ New features: instead of just the child work. Thanks to :user:`aereaux`. :bug:`3650` +* :doc:`/plugins/lyrics`: Fix a bug in the heuristic for detecting valid + lyrics in the Google source of the lyrics plugin + :bug:`2969` Fixes: