extract original thumbnail image

This commit is contained in:
mungai-njoroge
2023-07-06 13:52:32 +03:00
parent 6ef3cc3545
commit 65d21d07da
10 changed files with 47 additions and 27 deletions
+2
View File
@@ -16,6 +16,8 @@ def track_serializer(track: Track, _remove: set = {}, retain_disc=False) -> dict
to_remove.union("disc", "track")
to_remove.update(key for key in album_dict.keys() if key.startswith("is_"))
to_remove.remove('is_favorite')
for key in to_remove:
album_dict.pop(key, None)