It is currently May 5th, 2024, 2:46 pm

NowPlaying Shuffle/Repeat toggle

Get help with creating, editing & fixing problems with skins
DreamEater
Posts: 1
Joined: January 18th, 2013, 12:59 pm

NowPlaying Shuffle/Repeat toggle

Post by DreamEater »

On the skin I'm working on when you change the Shuffle/Repeat settings in iTunes it doesn't update and display the image in Rainmeter, how ever if I click the meters in Rainmeter it displays the image properly and toggles the settings in iTunes.

Measures:

Code: Select all

[MeasureState]
Measure=Plugin
Plugin=Plugins\NowPlaying.dll
PlayerName=[MeasureStatus]
PlayerType=State

[MeasureRepeat]
Measure=Plugin
Plugin=Plugins\NowPlaying.dll
PlayerName=[MeasureStatus]
PlayerType=Repeat
IfBelowlValue=1
IfBelowAction=!Execute [!SetOption MeterRepeat ImageName "none"][!UpdateMeter MeterRepeat][!Redraw]
IfAboveValue=0
IfAboveAction=!Execute [!SetOption MeterRepeat ImageName "Repeat.png"][!UpdateMeter MeterRepeat][!Redraw]

[MeasureShuffle]
Measure=Plugin
Plugin=Plugins\NowPlaying.dll
PlayerName=[MeasureStatus]
PlayerType=Shuffle
IfBelowValue=1
IfBelowAction=!Execute [!SetOption MeterShuffle ImageName "none"][!UpdateMeter MeterShuffle][!Redraw]
IfAboveValue=0
IfAboveAction=!Execute [!SetOption MeterShuffle ImageName "Shuffle.png"][!UpdateMeter MeterShuffle][!Redraw]
Meters:

Code: Select all

[MeterRepeat]
Meter=Image
x=7r
w=30
h=14
LeftMouseUpAction=!Execute [!CommandMeasure "MeasureState" "SetRepeat -1"]

[MeterShuffle]
Meter=Image
x=30r
w=30
h=14
LeftMouseUpAction=!Execute [!CommandMeasure "MeasureState" "SetShuffle -1"]