update changelog

+ minor bugfixes
This commit is contained in:
cwilvx committed 2025-02-28 20:39:21 +03:00
1 parent 7aae38ae3b
commit da364d8514
4 files changed
+77 -7

No files matched your search

+7 -1
View File
@@ -119,7 +119,13 @@ class AlbumStore:
"""
Returns albums by their hashes.
"""
return [cls.albummap[albumhash].album for albumhash in albumhashes]
albums = []
for albumhash in albumhashes:
entry = cls.albummap.get(albumhash)
if entry is not None:
albums.append(entry.album)
return albums
@classmethod
def count_albums_by_artisthash(cls, artisthash: str):