Hi, sorry for late reply.balala wrote: ↑December 13th, 2021, 7:02 pm This is what I do:
- Activate the skin (Skins\MediaPlayer\MediaPlayer.ini). Both Groove Music and YouTube are closed.
- Launching any of the above two players (Groove or YouTube in Edge).
- The skin doesn't show the proper information. In order to get this, I have to refresh the skin.
Unfortunately, if I take the same steps it updates automatically for me. I really don't understand why it wouldn't update the info for you.
The things that could happen are it would either crash (and you would see an error in Rainmeter) or hang and Rainmeter would become unresponsive (because it waits for the plugin to provide the updated info, but the plugin doesn't respond).
But the fact that right click and refresh works means that the plugin "works" as intended, but windows API gives wrong info.
We can test this with the modified plugin attached below, which shows debug info about the update cycles. It should cycle (at approximatively 1 second) between 1 and 2 when idle, 5 and 6 when media active and 3 and 4 when errors caught.
If it doesn't change it means that there is something with Rainmeter that prevents updating.
if it cycles only between 1 and 2 even if there is a player active it means that the windows api gives wrong data for some reason or another.
Also, I'm assuming you have:
a fairly recent windows 10 version (you can see that in settings -> system -> about) (I have 21H1, but the api was added in 1809, so any version higher than that should be ok) (also idk if the api should behave differently in pro versions, I can't test this),
recent rainmeter version (I have 4.5.7),
vc++ runtime higher than 14.20 (in settings -> apps and features).
It really bugs me why it doesn't work but it also doesn't crash.