ccatterina / plasmusic-toolbar

KDE Plasma widget that shows currently playing song information and provide playback controls.
GNU General Public License v3.0
73 stars 8 forks source link

Colors from album cover #120

Open luisbocanegra opened 1 month ago

luisbocanegra commented 1 month ago

I have been thinking of adding this feature for some time, today I was experimenting and came up what you see below (still wip)

Is this something you would like to have?

If it were to be added:

append-2024-07-22-200105

ccatterina commented 1 month ago

Wow, what a really cool feature! :star_struck:

Should allow to enable/disable the feature, I think it could be distracting having the colors changing all the time for some users

Yeah, and I think this is something that would be disabled for default.

Since the cover allows custom radius the background would need custom one too

yes, but it could be done in a second step IMO.

When there is no image which color should it fallback to?

I would fallback to the current behaviour

What about the expanded representation? Should the widget use colors from the album when placed on the Desktop?

This in my opinion could be an other separate feature, I've been wanting to implement something similar to this for quite a while now. I was thinking to use the dominant color as background (with opacity < 1) and apply a fade effect to the album art, but I've never found an easy way to get the dominant color from the image, I didn't know about Kirigami.ImageColors!

StrongSand94191 commented 1 month ago

this looks amazing!