mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 02:52:33 +01:00
Fix redundant requests for artist == artist_sort
This commit is contained in:
parent
a5ef8c7b09
commit
45c8e51d6c
1 changed files with 4 additions and 1 deletions
|
|
@ -206,7 +206,10 @@ def search_pairs(item):
|
|||
# Remove any featuring artists from the artists name
|
||||
r"(.*?) {0}".format(plugins.feat_tokens())]
|
||||
artists = generate_alternatives(artist, patterns)
|
||||
artists.append(artist_sort)
|
||||
# Use the artist_sort as fallback only if it differs from artist to avoid
|
||||
# repeated remote requests with the same search terms
|
||||
if artist != artist_sort:
|
||||
artists.append(artist_sort)
|
||||
|
||||
patterns = [
|
||||
# Remove a parenthesized suffix from a title string. Common
|
||||
|
|
|
|||
Loading…
Reference in a new issue