From 2df41b9e166bd3c5e449c9c55d026519f7d6258e Mon Sep 17 00:00:00 2001 From: ghbrown Date: Mon, 16 Jan 2023 18:43:26 -0600 Subject: [PATCH] Limit number of returned track candidates --- beetsplug/discogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/beetsplug/discogs.py b/beetsplug/discogs.py index 435d67b40..990c1d786 100644 --- a/beetsplug/discogs.py +++ b/beetsplug/discogs.py @@ -218,7 +218,8 @@ class DiscogsPlugin(BeetsPlugin): candidates += track_list for candidate in candidates: candidate.data_source = 'Discogs' - return candidates + # first 10 results, don't overwhelm with options + return candidates[:10] def get_tracks_from_album(self, album_info): """Return a list of tracks in the release