diff options
author | Alok Saboo <arsaboo@gmx.com> | 2022-07-12 16:15:59 -0400 |
---|---|---|
committer | Alok Saboo <arsaboo@gmx.com> | 2022-07-12 16:15:59 -0400 |
commit | 32afd79eed7f5d89dd5e34d653ec890d571cae63 (patch) | |
tree | f6f1120f05a3da4dfdd6c3e27ad0ae204125a55c | |
parent | 3896e5cd9c6510b3e8e54728d89c4d2a07294b74 (diff) |
Update plugins.py
-rw-r--r-- | beets/plugins.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/beets/plugins.py b/beets/plugins.py index bbf29e4be..b31c55482 100644 --- a/beets/plugins.py +++ b/beets/plugins.py @@ -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): |