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

Need some help with some codes for a spotify skin.

Get help with creating, editing & fixing problems with skins
Futtawuh
Posts: 2
Joined: August 24th, 2010, 5:13 pm

Need some help with some codes for a spotify skin.

Post by Futtawuh »

So I would like to ask someone to help me out here. I got this Winamp skin, that i love.
But Im a heavy user of Spotify, and i would like the same skin, just for Spotify. I dont really care if the buttons work with Spotify, I just want it to show what song,Time and so on. :)



This is the winamp skin i want, only with spotify:

Code: Select all

[Rainmeter]
Author=Fiper
Update=200

[Variables]
WinampFolder=c:\progra~1\winamp\


;MEASURES_________________________________________

[MeasureWA]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
Substitute="[Paused]":""," - Winamp":"","[Stopped]":""

[MeasureWAFull]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105

[MeasureWACurr]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105

[MeasureWADuration]
Measure=Calc
Formula=(MeasureWACurr<=0)?0:(MeasureWACurr/(MeasureWAFull*1000+1)) 

[MeasureWADurationI]
Measure=Calc
Formula=(MeasureWACurr<=0)?0:(MeasureWACurr/(MeasureWAFull*1000+1))
InvertMeasure=1

[MeasureRing]
Measure=Calc
Formula=360

[MeasureRing2]
Measure=Calc
Formula=140


[MeasureWinampCurrOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105

[MeasureWinampCurrMin]
Measure=Calc
Formula=((MeasureWinampCurrOrg / 1000) - ((MeasureWinampCurrOrg / 1000) % 60)) /60

[MeasureWinampCurrSec]
Measure=Calc
Formula=(MeasureWinampCurrOrg / 1000) % 60 = 60 ? 0 : (MeasureWinampCurrOrg / 1000) % 60

[MeasureWinampCurrZero]
Measure=Calc
Formula=(((MeasureWinampCurrOrg) / 1000) % 60)  < 9 ? 0 : 1
Substitute="1":""

[MeasureWinampFullOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105

[MeasureWinampFullMin]
Measure=Calc
Formula=(MeasureWinampFullOrg - (MeasureWinampFullOrg % 60)) /60

[MeasureWinampFullSec]
Measure=Calc
Formula=MeasureWinampFullOrg % 60

[MeasureWinampFullZero]
Measure=Calc
Formula=(MeasureWinampFullOrg % 60)  < 9 ? 0 : 1
Substitute="1":""



;METERS_________________________________________

[MeterBackGround]
Meter=IMAGE
X=0
Y=0
W=323
H=66
SolidColor=10,10,10, 1

[MeterLine]
Meter=IMAGE
X=0
Y=37
W=298
H=1
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=1
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




;WinampInfo_______


[MeterTitle]
Meter=STRING
MeasureName=MeasureWA
X=240
Y=25
FontColor=255, 255, 255, 255
StringStyle=Bold
FontSize=8
StringAlign=Right
FontFace=Calibri
AntiAlias=1
Hidden=0

[MeterTimeFull]
Meter=STRING
MeasureName=MeasureWinampCurrMin
MeasureName2=MeasureWinampCurrSec
MeasureName3=MeasureWinampFullMin
MeasureName4=MeasureWinampFullSec
MeasureName5=MeasureWinampCurrZero
MeasureName6=MeasureWinampFullZero
X=277
Y=40
StringAlign=RIGHT
FontColor=255, 255, 255, 150
FontSize=6
FontFace=Arial
Text="%3:%6%4"

[MeterTimeCurr]
Meter=STRING
MeasureName=MeasureWinampCurrMin
MeasureName2=MeasureWinampCurrSec
MeasureName3=MeasureWinampFullMin
MeasureName4=MeasureWinampFullSec
MeasureName5=MeasureWinampCurrZero
MeasureName6=MeasureWinampFullZero
X=300
Y=40
StringAlign=RIGHT
FontColor=255, 255, 255, 200
StringStyle=BOLD
FontSize=7
FontFace=Arial
Text="%1:%5%2"

[MeterProgress]
Meter=ROUNDLINE
MeasureName=MeasureWADuration
X=282
Y=34
LineWidth=5.0
LineLength=30
LineStart=24
StartAngle=47.55
RotationAngle=6.28
AntiAlias=1
LineColor=255, 255, 255, 100
Solid=1

[MeterProgress2]
Meter=ROUNDLINE
MeasureName=MeasureWADurationI
X=282
Y=34
LineWidth=2.0
LineLength=33
LineStart=32
StartAngle=47.55
RotationAngle=6.28
AntiAlias=1
LineColor=255, 255, 255, 40
Solid=1

;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


[MeterWAProgress]
MeasureName=MeasureWADuration
Meter=BAR
X=0
Y=38
W=298
H=2
BarOrientation=HORIZONTAL
BarColor=255, 255, 255, 100
Flip=1




[MeterPrev]
Meter=STRING
X=240
Y=24
FontColor=255, 255, 255, 255
StringStyle=BOLD
FontSize=14
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="7"
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40044 0"]

[MeterPlay]
Meter=STRING
X=270
Y=25
FontColor=255, 255, 255, 255
StringStyle=BOLD
FontSize=15
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="4"
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40045 0"]

[MeterPause]
Meter=STRING
X=270
Y=0
FontColor=255, 255, 255, 255
StringStyle=Bold
FontSize=13
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text=";"
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40046 0"]

[MeterStop]
Meter=STRING
X=270
Y=53
FontColor=255, 255, 255, 255
StringStyle=Bold
FontSize=13
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="<"
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40047 0"]

[MeterNext]
Meter=STRING
X=300
Y=24
FontColor=255, 255, 255, 255
StringStyle=BOLD
FontSize=14
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Text="8"
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40048 0"]
Last edited by jsmorley on August 24th, 2010, 5:22 pm, edited 1 time in total.
Reason: Edited to use [code][/code] for code display
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Need some help with some codes for a spotify skin.

Post by jsmorley »

There are several Spotify skins on devArt, http://browse.deviantart.com/customization/skins/sysmonitor/rainmeter/?qh=&section=&q=spotify that you can tear apart to see how they work.

These pages will be a lot of help getting started:

http://rainmeter.net/cms/Rainmeter101

http://rainmeter.net/cms/ManualBeta

http://rainmeter.net/cms/Tips

In general, we don't just write skins for you on request, unless you want to pony up some $$$. This forum is to help folks to learn how to use and edit / create Rainmeter skins themselves, not a "request" board. We all had to learn how Rainmeter works, why shouldn't you? That's the fun of it!
Futtawuh
Posts: 2
Joined: August 24th, 2010, 5:13 pm

Re: Need some help with some codes for a spotify skin.

Post by Futtawuh »

I'd love to learn to do this by my self :)

Thanks alot for the links :)
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Need some help with some codes for a spotify skin.

Post by jsmorley »

I recommend scanning through Rainmeter 101, doing the first couple of tutorials to get a handle on how it all fits together. Then tear apart one of the skins from devArt, changing it as you like to see how you can make it look different and such. At some point the "light will come on" and from then on you will find that Rainmeter is actually really easy. After that, you will refer OFTEN to the manual as you are creating / editing things. The manual is your friend.

By all means please DO post any questions you have if you get stuck. We are glad to help.