update changelog

+ minor bugfixes
This commit is contained in:
cwilvx
2025-02-28 20:39:21 +03:00
parent 7aae38ae3b
commit da364d8514
4 changed files with 77 additions and 7 deletions
+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):