implement backup and restore

This commit is contained in:
cwilvx
2024-09-23 15:00:33 +03:00
parent b874a9f787
commit dcccfc297e
3 changed files with 195 additions and 25 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ def get_all_favorites(query: GetAllFavoritesQuery):
largest = max(track_limit, album_limit, artist_limit)
favs = FavoritesTable.get_all()
favs.reverse()
favs = sorted(favs, key=lambda x: x.timestamp, reverse=True)
tracks = []
albums = []