mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 06:22:48 +01:00
Limit number of returned track candidates
This commit is contained in:
parent
2e916404f9
commit
2df41b9e16
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue