handle filenotfound in created_date

+ move store loaders up in populate.py
This commit is contained in:
mungai-njoroge
2023-12-13 23:15:25 +03:00
parent c451c0e329
commit 300c614a2f
7 changed files with 23 additions and 8 deletions
+3
View File
@@ -37,6 +37,7 @@ class AlbumStore:
cls.albums = []
print("Loading albums... ", end="")
tracks = remove_duplicates(TrackStore.tracks)
tracks = sorted(tracks, key=lambda t: t.albumhash)
grouped = groupby(tracks, lambda t: t.albumhash)
@@ -72,6 +73,8 @@ class AlbumStore:
_al.set_colors(colors)
break
print("Done!")
@classmethod
def add_album(cls, album: Album):
"""