It is currently March 29th, 2024, 2:13 pm

NowPlaying shuffle/repeat foobar not working

Report bugs with the Rainmeter application and suggest features.
RedStripe
Posts: 1
Joined: June 3rd, 2017, 12:55 pm

NowPlaying shuffle/repeat foobar not working

Post by RedStripe »

Can't seem to get shuffle or repeat to work with either the toggle(-1) parameter or the on(1) off(0) parameters. Can someone confirm that there is an issue here and if the is work around. Below is my code:

Code: Select all

[mShuffle]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=SHUFFLE
IfEqualValue=1
IfEqualAction=[!SetOption Shuffle ToolTipText "Set Shuffle Off"][!SetOption Shuffle LeftMouseUpAction """[!CommandMeasure mPlayer "SetShuffle 0"]"""]
IfBelowValue=1
IfBelowAction=[!SetOption Shuffle ToolTipText "Set Shuffle On"][!SetOption Shuffle LeftMouseUpAction """[!CommandMeasure mPlayer "SetShuffle 1"]"""]

[mRepeat]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=REPEAT
IfEqualValue=1
IfEqualAction=[!SetOption Repeat ToolTipText "Set Repeat Off"][!SetOption Repeat LeftMouseUpAction """[!CommandMeasure mPlayer "SetRepeat 0"]"""]
IfBelowValue=1
IfBelowAction=[!SetOption Repeat ToolTipText "Set Repeat On"][!SetOption Repeat LeftMouseUpAction """[!CommandMeasure mPlayer "SetRepeat 1"]"""]

[Shuffle]
Meter=Image
ImageName=Shuffle.png
ImageAlpha=160
X=1R
Y=r
ToolTipText=Toggle Shuffle
MouseOverAction=[!SetOption Shuffle ImageAlpha 255]
MouseLeaveAction=[!SetOption Shuffle ImageAlpha 160]
LeftMouseUpAction=[!CommandMeasure "mPlayer" "SetShuffle -1"][!UpdateMeasure mPlayer]
DynamicVariables=1

[Repeat]
Meter=Image
ImageName=Repeat.png
ImageAlpha=160
X=1R
Y=r
ToolTipText=Toggle Repeat
MouseOverAction=[!SetOption Repeat ImageAlpha 255]
MouseLeaveAction=[!SetOption Repeat ImageAlpha 160]
LeftMouseUpAction=[!CommandMeasure "mPlayer" "SetRepeat -1"][!UpdateMeasure mPlayer]
DynamicVariables=1
Last edited by fonpaolo on June 3rd, 2017, 1:58 pm, edited 1 time in total.
Reason: Please use the [code] tags
mak_kawa
Posts: 908
Joined: December 30th, 2015, 9:47 am

Re: NowPlaying shuffle/repeat foobar not working

Post by mak_kawa »

I, too, think that it is a bug of Nowplaying plugin in relation with current version of foobar2000. See https://forum.rainmeter.net/viewtopic.php?f=5&t=26056.

So far, there is no workaround, maybe.