It is currently April 28th, 2024, 4:16 pm

Converting Skin Compatibility

Get help with installing and using Rainmeter.
sh0gunshin
Posts: 13
Joined: October 28th, 2012, 5:28 am

Converting Skin Compatibility

Post by sh0gunshin »

I'm looking to make this skin work for windows media player and winamp. I read the nowplaying doc and several other of the files listed but i still don't have the slightest clue on what to do. Here's the skin

http://sh0gunshin.deviantart.com/favourites/#/d32cyng
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Converting Skin Compatibility

Post by Kaelri »

You probably had trouble because the skin you found a) does not use the NowPlaying plugin, and b) is full of mistakes, sloppy code, and unused lines that were improperly copied and pasted from other skins.

Try this:

Code: Select all

[Rainmeter]
Author=MR Pangkaka
Mail=MRpangkaka@gmail.com
BackgroundMode=1
MouseActionCursor=0

[Metadata]
Information=A cool and working spotify mediaplayer for rainmeter, u don´t need to change anything here.#CRLF#The "Stop" button do not to stop the music, its opening/starting the program. ThnX to TheSkylie for the desing of the skin. If you have any complaints. Tell me: mrpangkaka@gmail.com

[Variables]
MusicPlayer=WMP

;---------------------------------------------------------------------
; MEASURES

[mNowPlaying]
Measure=Plugin
Plugin=NowPlaying
PlayerName=#MusicPlayer#
PlayerType=Status
IfEqualValue=1
IfEqualAction=[!ShowMeter Track][!HideMeter NA]
IfBelowValue=1
IfBelowAction=[!HideMeter Track][!ShowMeter NA]

[mTitle]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mNowPlaying]
PlayerType=Title

[mState]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mNowPlaying]
PlayerType=State
Substitute="0":"Stopped","2":"Paused"

[mLabel]
Measure=Calc
Formula=(mState=1)
IfEqualValue=1
IfEqualAction=[!SetOption "Track" "MeasureName" "mTitle"][!UpdateMeter Track][!Redraw]
IfBelowValue=1
IfBelowAction=[!SetOption "Track" "MeasureName" "mState"][!UpdateMeter Track][!Redraw]

;---------------------------------------------------------------------
; METERS

[MeterBackGround]
Meter=IMAGE
X=300
Y=-200
W=0
H=0
SolidColor=10,10,10, 1

[MeterLine]
Meter=IMAGE
X=0
Y=37
W=300
H=1
SolidColor=255, 255, 255, 50
SolidColor=255, 255, 255, 50

[MeterLine2]
Meter=IMAGE
X=318
Y=18
W=3
H=36
SolidColor=255, 255, 255, 70

[MeterLine3]
Meter=IMAGE
X=322
Y=14
W=4
H=42
SolidColor=255, 255, 255, 55

[MeterLine4]
Meter=IMAGE
X=43
Y=34
W=30
H=1
SolidColor=255, 255, 255, 70

[MeterLine4b]
Meter=IMAGE
X=43
Y=32
W=14
H=1
SolidColor=255, 255, 255, 40

[MeterLine5]
Meter=IMAGE
X=39
Y=32
W=2
H=3
SolidColor=255, 255, 255, 90

[MeterLine6]
Meter=IMAGE
X=28
Y=34
W=10
H=1
SolidColor=255, 255, 255, 40

;-----------------------
; RING BACK

[MeterRoundline]
Meter=ROUNDLINE
MeasureName=MeasureRing
X=282
Y=34
LineWidth=5.0
LineLength=30
LineStart=24
StartAngle=47.55
RotationAngle=6.28
AntiAlias=1
LineColor=255, 255, 255, 30
Solid=1
LeftMouseUpAction=[!CommandMeasure "mNowPlaying" "OpenPlayer"]

[MeasureRing]
Measure=Calc
Formula=1

;-----------------------

[Track]
Meter=STRING
MeasureName=mTitle
X=240
Y=25
W=245
H=200
ClipString=1
FontColor=255, 255, 255, 255
FontSize=8
FontFace=Calibri
StringStyle=Bold
StringAlign=Right
AntiAlias=1

[NA]
Meter=STRING
X=5
Y=5
W=240
FontFace=Trebuchet MS
FontColor=FFFFFF
Text=#MusicPlayer# is not running
AntiAlias=1
;Hidden=1

[Prev]
Meter=STRING
X=240
Y=24
FontColor=255, 255, 255, 255
StringStyle=BOLD
FontSize=14
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="7"
LeftMouseUpAction=[!CommandMeasure "mNowPlaying" "Previous"]

[Play]
Meter=STRING
X=270
Y=25
FontColor=255, 255, 255, 255
StringStyle=BOLD
FontSize=15
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="4"
LeftMouseUpAction=[!CommandMeasure "mNowPlaying" "PlayPause"]

[Next]
Meter=STRING
X=300
Y=24
FontColor=255, 255, 255, 255
StringStyle=BOLD
FontSize=14
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="8"
LeftMouseUpAction=[!CommandMeasure "mNowPlaying" "Next"]

[MeterStop]
Meter=STRING
X=270
Y=53
FontColor=255, 255, 255, 255
StringStyle=Bold
FontSize=13
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="<"
LeftMouseUpAction=[!CommandMeasure "mNowPlaying" "OpenPlayer"]

[MeterPause]
Meter=STRING
X=270
Y=0
FontColor=255, 255, 255, 255
StringStyle=Bold
FontSize=13
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text=";"
LeftMouseUpAction=[!CommandMeasure "mNowPlaying" "PlayPause"]
sh0gunshin
Posts: 13
Joined: October 28th, 2012, 5:28 am

Re: Converting Skin Compatibility

Post by sh0gunshin »

wow thank you so much kaeldri! do you have a button to where i can donate to show my appreciation?