fix: duplication of artist albums on album/from-artist

+ remove more fields from artist, album and artist models on serializers
This commit is contained in:
cwilvx
2024-07-05 04:43:39 +03:00
parent 678eed3ab6
commit a76e91cf5a
6 changed files with 53 additions and 27 deletions
+9
View File
@@ -15,6 +15,15 @@ def serialize_for_card(artist: Artist):
"duration",
"albumcount",
"playcount",
"playduration",
"playcount",
"lastplayed",
"id",
"genres",
"genrehashes",
"extra",
"created_date",
"date",
}
for key in props_to_remove: