send processing album colors to a background thread

- use white color as default album page play button color
- return 404 if album is None on get_album_bio()
This commit is contained in:
geoffrey45
2022-07-02 08:21:10 +03:00
committed by Mungai Geoffrey
parent 34a214df22
commit 77a5d2b7c2
7 changed files with 44 additions and 68 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ class CreateAlbums:
album = create_album(track)
self.db_tracks.remove(track)
else:
album["image"] = hash
album["image"] = hash + ".webp"
try:
album = Album(album)
return album