Add two vertical text fields, allowing title and artist to be listed above each other, making the widget smaller with more info! The labels can be configured through the config.
Fixed a bug where the thumbnail would sometimes not update correctly on song change, as the title and artist fields would change before the thumbnail, causing a thumbnail update to the same old thumbnail. Now, once artist and title change, it will update the thumbnail until it is different from the previous one, and then stops updating and waits for title/artist change.
Thumbnail alpha is now calculated based on the lightness of the image, which should help equalize the 'darkness' of the images a bit. This means that bright thumbnails are darkened more than light thumbnails, hopefully helping with readability. Two parameters, thumbnail_alpha_range and thumbnail_alpha_multiplier, control this calculation.
Also removes the start_timer() overload, like we discussed :)
I am closing this PR because I am doing substantial work on the MediaWidget back-end, which has priority. I will open a new PR with this functionality on the updated version once it is done.
Big update with a lot of neat features:
thumbnail_alpha_range
andthumbnail_alpha_multiplier
, control this calculation.Also removes the
start_timer()
overload, like we discussed :)