diff --git a/beetsplug/lyrics.py b/beetsplug/lyrics.py index 00954e2c3..e58408f04 100644 --- a/beetsplug/lyrics.py +++ b/beetsplug/lyrics.py @@ -271,8 +271,9 @@ def is_page_candidate(urlLink, urlTitle, title, artist): tokens = [by + '_' + artist for by in BY_TRANS] + \ [artist, sitename, sitename.replace('www.', '')] + LYRICS_TRANS songTitle = re.sub(u'(%s)' % u'|'.join(tokens), u'', urlTitle) + songTitle = songTitle.strip('_|') + typoRatio = .9 - typoRatio = .8 return difflib.SequenceMatcher(None, songTitle, title).ratio() >= typoRatio