mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-21 22:15:40 +00:00
a6122f9db4
Windows SMTC could not render our cached WebP album covers: souvlaki loads the file and SetThumbnail/set_metadata succeed, but the lock screen and Quick Settings media tile showed a blank cover, because the OS thumbnail decoder does not handle WebP even with the Store WebP extension installed. Transcode local file:// WebP covers to PNG (libwebp decode then image PNG encode, into a single reusable temp file) before handing them to the OS media controls, gated to Windows. macOS (ImageIO) and Linux pass through unchanged. (cherry picked from commit 76d028127d3a79627057e15e3838b2b186807e88)