It is currently May 19th, 2022, 2:28 pm

[Bug] NowPlaying "ClosePlayer" not working with iTunes

Report bugs with the Rainmeter application and suggest features.
baleens spider
Posts: 1
Joined: April 15th, 2022, 2:22 am

[Bug] NowPlaying "ClosePlayer" not working with iTunes

Post by baleens spider »

I have a button that is supposed to close iTunes when pressed [!CommandMeasure "PlayerMeasure" "ClosePlayer"], and when it is pressed iTunes closes and the reopens after a few seconds. This does not happen every time, but seems to happen most times. I cannot find any links between this happening and whether or not iTunes is minimized. "TogglePlayer" has the same behavior when used to close iTunes. "OpenPlayer" and every other feature from NowPlaying i have tried works perfectly.
I am on iTunes version 12.12.3.5, (which is far beyond the stated tested version) and am on the most recent version of Rainmeter as of April 14 2021.
Relevant part of skin:

Code: Select all

[MeterOpenPlayer]
Meter=Button
ButtonImage=#@#open_player.png
X=33
Y=100
ButtonCommand=[!CommandMeasure "PlayerMeasure" "OpenPlayer"]

[MeterClosePlayer]
Meter=Button
ButtonImage=#@#close_player.png
X=97
Y=100
ButtonCommand=[!CommandMeasure "PlayerMeasure" "ClosePlayer"]