Alright, I discovered another "bug" in NowPlaying, which I'll post here as well, since I've adjusted the thread's title a bit to cover that: both the absolute and the relative [!CommandMeasure "SetPosition ..."] variants do not (internally) clamp the position percentage between 0 and 100, or, better said, they only clamp it at 0 and not at 100:
Code: Select all
[Variables]
Plugin=NowPlaying
Player=Winamp
ProBarC=0,255,0,255
ProBarS=128,128,128,255
ProBarP=1
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
---Measures---
[Status]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=#Player#
PlayerType=Status
RegExpSubstitute=1
Substitute="^0$":"Closed","^1$":"Open"
DynamicVariables=1
[State]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=State
RegExpSubstitute=1
Substitute="^0$":"Stopped","^1$":"Playing","^2$":"Paused"
DynamicVariables=1
[Artist]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=Artist
RegExpSubstitute=1
Substitute="^$":"No Artist"
DynamicVariables=1
[Album]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=Album
RegExpSubstitute=1
Substitute="^$":"No Album"
DynamicVariables=1
[Title]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=Title
RegExpSubstitute=1
Substitute="^$":"No Title"
DynamicVariables=1
[Duration]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=Duration
RegExpSubstitute=1
Substitute="(?<!\d)(\d)(?!\d)":"0\1"
DynamicVariables=1
[Position]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=Position
RegExpSubstitute=1
Substitute="(?<!\d)(\d)(?!\d)":"0\1"
DynamicVariables=1
[Progress]
Group=PlayerGroup
Measure=Plugin
Plugin=#Plugin#
PlayerName=[Status]
PlayerType=Progress
DynamicVariables=1
---Meters---
[ProgressBar]
Meter=Bar
X=(0)
Y=(0)
W=(100)
H=(20)
BarColor=#ProBarC#
SolidColor=#ProBarS#
BarOrientation=Horizontal
MeasureName=Progress
MouseScrollUpAction=[!CommandMeasure Progress "SetPosition +#ProBarP#"][!UpdateMeasureGroup PlayerGroup][!UpdateMeter *][!Redraw]
MouseScrollDownAction=[!CommandMeasure Progress "SetPosition -#ProBarP#"][!UpdateMeasureGroup PlayerGroup][!UpdateMeter *][!Redraw]
LeftMouseUpAction=[!CommandMeasure Progress "SetPosition $MouseX:%$"][!UpdateMeasureGroup PlayerGroup][!UpdateMeter *][!Redraw]
MiddleMouseUpAction=[!CommandMeasure Progress "SetPosition 150"][!UpdateMeasureGroup PlayerGroup][!UpdateMeter *][!Redraw]
DynamicVariables=1
Scroll up to see the values of the Progress and Position measures go past the 100 and Duration values when setting the position relatively, middle click to see both go to 150% of the supposed maximum of Progress and Position. Didn't test for other players, just for Winamp:
Relative.jpg
Absolute.jpg
I'm not sure if or how this should be tackled, since it only seems "strange" when the track is paused as you could go on forever past 100%, while when the track is playing, the effect is basically jumping to the 0% of the next track (albeit the measure values still go past the 100% equivalent value for a couple of milliseconds).
This is for the version above in which you guys fixed the previous bug. So, you might want to delay the release a little bit, until this new issue is handled, if that's the case.
You do not have the required permissions to view the files attached to this post.