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