Fix redundant requests for artist == artist_sort
@@ -206,6 +206,9 @@ def search_pairs(item):
# Remove any featuring artists from the artists name
r"(.*?) {0}".format(plugins.feat_tokens())]
artists = generate_alternatives(artist, patterns)
+ # 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 = [
