check if album colors have contrast

- remove albumid field from album class
- set accent color to $red
This commit is contained in:
geoffrey45 authored and Mungai Geoffrey committed 2022-07-06 17:38:33 +03:00
1 parent a23b6200eb
commit 5acb8cb84d
9 files changed
+42 -38

No files matched your search

+1 -1
View File
@@ -45,6 +45,6 @@ class ProcessAlbumColors:
colors = get_image_colors(img)
if len(colors) > 0:
instances.album_instance.set_album_colors(colors, album.albumid)
instances.album_instance.set_album_colors(colors, album.hash)
return colors