start: rewrite the database layer using a freaking ORM

+ start ditching in-mem stores
+ move main db table to a new name
+ experiments!
This commit is contained in:
cwilvx
2024-06-24 00:26:47 +03:00
parent c3472a865a
commit c42ec4dcde
27 changed files with 1399 additions and 397 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ def get_artist_albums(path: ArtistHashSchema, query: GetArtistAlbumsQuery):
AlbumStore.remove_album_by_hash(a.albumhash)
continue
a.check_is_single(album_tracks)
a.is_single(album_tracks)
all_albums = sorted(all_albums, key=lambda a: str(a.date), reverse=True)