Page 1 of 1

Basic question for NowPlaying

Posted: February 3rd, 2017, 1:09 am
by CyberTheWorm
Trying to create a Player/visualizer got the code working but some things don't.

Code: Select all

[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=AIMP
PlayerType=TITLE
Substitute="":"N\A"

[MeterStop]
Meter=Image
ImageName=#@#\Images\Stop.png
X=100r
Y=0r
H=50
W=50
LeftMouseUpAction=!CommandMeasure "MeasurePlayer" "Stop"
RightMouseUpAction=!CommandMeasure "MeasurePlayer" "ClosePlayer"
ToolTipText=Left Mouse Click Stop Track#CRLF#Right Mouse Click to Close Player

[MeterPlay]
Meter=Image
ImageName=#@#\Images\PlayPause.png
X=100r
Y=0r
H=50
W=50
LeftMouseUpAction=!CommandMeasure "MeasurePlayer" "PlayPause"
RightMouseUpAction=!CommandMeasure "MeasurePlayer" "OpenPlayer"
ToolTipText=Left Mouse Click Play/Pause Track#CRLF#Right Mouse Click to Open Player
When I use WMP for the player this works
AIMP will not open the player, but will close it
Winamp will not open or close.

Do I need to do something different?

Re: Basic question for NowPlaying

Posted: February 3rd, 2017, 3:05 am
by eclectic-tech
Add PlayerPath="C:\Program Files (x86)\AIMP\aimp.exe" to the main NowPlaying measure.

Of course, you want to use the path+executable for the location of your installation.
You will need to do this for WinAmp also, if Rainmeter is not opening/closing that program.

https://docs.rainmeter.net/manual-beta/plugins/nowplaying/#PlayerPath

Re: Basic question for NowPlaying

Posted: February 3rd, 2017, 5:25 am
by CyberTheWorm
Thanks, missed that part. Did not have to add for WMP.

Re: Basic question for NowPlaying

Posted: February 3rd, 2017, 2:48 pm
by eclectic-tech
Happy to help :welcome: