mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
Update plugins.py
This commit is contained in:
parent
28614d94dc
commit
3896e5cd9c
1 changed files with 2 additions and 1 deletions
|
|
@ -731,7 +731,8 @@ class MetadataSourcePlugin(metaclass=abc.ABCMeta):
|
|||
if not va_likely:
|
||||
query_filters['artist'] = artist
|
||||
results = self._search_api(query_type='album', filters=query_filters)
|
||||
albums = [self.album_for_id(album_id=r['id']) for r in results]
|
||||
if results is not None:
|
||||
albums = [self.album_for_id(album_id=r['id']) for r in results]
|
||||
return [a for a in albums if a is not None]
|
||||
|
||||
def item_candidates(self, item, artist, title):
|
||||
|
|
|
|||
Loading…
Reference in a new issue