fix: artist track count

+ fix: album type on artits page
+ sort by release date help text on get all
This commit is contained in:
cwilvx
2024-07-03 15:57:05 +03:00
parent a5634f267f
commit 2e63aa4a41
4 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ def get_all_items(path: GetAllItemsPath, query: GetAllItemsQuery):
item_dict = serialize_album(item) if is_albums else serialize_artist(item)
if sort_is_date:
item_dict["help_text"] = item.date
item_dict["help_text"] = datetime.fromtimestamp(item.date).year
if sort_is_create_date:
date = create_new_date(datetime.fromtimestamp(item.created_date))