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 authored and Mungai Geoffrey committed 2022-07-06 17:38:33 +03:00
1 parent 34a214df22
commit 77a5d2b7c2
7 files changed
+44 -68

No files matched your search

+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