mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
check if album colors have contrast
- remove albumid field from album class - set accent color to $red
This commit is contained in:
committed by
Mungai Geoffrey
parent
a23b6200eb
commit
5acb8cb84d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user