amnweb / yasb

A highly configurable Windows status bar written in Python.
Other
285 stars 20 forks source link

bugfix(media): winsdk stream stability #8

Closed thomasroodnl closed 3 months ago

thomasroodnl commented 3 months ago

Hopefully this solves weird behaviour where the media detection freezes until restart. The code with dynamic size introduced another stream open, but we never close them. Now we only use a single stream call, and always close it.

Also fixes a small thumbnail loading bug: