mirror of
https://github.com/beetbox/beets.git
synced 2026-02-05 23:14:07 +01:00
Merge pull request #3668 from wisp3rwind/pr_fix_bad_triggers
Fix a regression in the heuristic for detecting valid lyrics from the google source
This commit is contained in:
commit
9c054e9588
2 changed files with 4 additions and 1 deletions
|
|
@ -563,7 +563,7 @@ class Google(Backend):
|
|||
|
||||
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,
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue