It is currently March 28th, 2024, 3:08 pm

Basic question for NowPlaying

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Basic question for NowPlaying

Post 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?
Last edited by CyberTheWorm on February 3rd, 2017, 5:25 am, edited 1 time in total.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Basic question for NowPlaying

Post 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
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Basic question for NowPlaying

Post by CyberTheWorm »

Thanks, missed that part. Did not have to add for WMP.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Basic question for NowPlaying

Post by eclectic-tech »

Happy to help :welcome:
Post Reply