Hotfix: All album tracks get properly fetched

This commit is contained in:
Dniel97
2022-04-19 19:08:33 +02:00
parent bfbd688492
commit 35a03de293

View File

@@ -312,7 +312,7 @@ class ModuleInterface:
# fetch the new album tracks with the given offset
track_items = self.session.get_album_contributors(album_id, offset=offset, limit=limit)
# append those tracks to the album_data
tracks_data['items'] += track_items
tracks_data['items'] += track_items.get('items')
# add the track contributors to a new list called 'credits'
cache = {'data': {}}