- UID
- 469893
- 主题
- 注册时间
- 2016-9-5
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 1 天 [LV.1]初来乍到
|
发表于 2016-9-5 17:32:07
|
显示全部楼层
[Rainmeter]
Update=1000
AccurateText=1
SkinWidth=512
SkinHeight=250
ContextTitle=Open @Includes folder
ContextAction=["#@#"]
OnRefreshAction=[!SnapEdges "0" "#CURRENTCONFIG#"][!WriteKeyValue Variables xSL "1" "#@#Variables.inc"][!SetVariable SL "1" "#ROOTCONFIG#\Spotify" "Spotify"]
OnCloseAction=[!WriteKeyValue Variables xSL "0" "#@#Variables.inc"][!SetVariable SL "0" "#ROOTCONFIG#\Spotify" "Spotify"]
[Variables]
ScrollSpeed=20
Height=230
@Include1=#@#GeneralVariables.inc
MaxNumber=0
OffSet=-512
State=1
U=[!UpdateMeasure MeasureSlider][!UpdateMeter *][!Redraw]
[cCounter]
Measure = Calc
Formula = cCounter+1
IfAboveValue = #MaxNumber#
IfAboveAction = [!DisableMeasure #CURRENTSECTION#][!CommandMeasure MeasureSlider "Execute 1" ]
[cCounter2]
Measure = Calc
Formula = cCounter2+1
IfAboveValue = #MaxNumber#
IfAboveAction = [!DisableMeasure #CURRENTSECTION#][!DeactivateConfig "#ROOTCONFIG#\Lyrics"]
Paused=1
[MeasureSlider]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat SlideRight, 20, 15
SlideRight=[!SetVariable State "2"][!SetVariable OffSet "(Clamp(#OffSet#+35,-512,0))"]#U#
ActionList2=Repeat SlideLeft, 10, 15
SlideLeft=[!SetVariable State "1"][!SetVariable OffSet "(Clamp(#OffSet#-35,-512,0))"]#U#
DynamicVariables=1
[StringStyle]
FontFace=#TextFont#
FontSize=11
FontColor=#LabelColor#
StringEffect=BORDER
AntiAlias=1
ClipString=2
StringStyle=Normal
StringAlign=Center
[MeterBack]
Meter=Image
ImageName=#ImagePath#FlexBack.png
Y=0
X=#OffSet#
W=512
H=250
ScaleMargins=3,3,3,3
ImageTint=#BackgroundColor#
DynamicVariables=1
[MeasureGetLyrics]
Measure=Plugin
Plugin=WebParser
URL=http://www.metrolyrics.com/[&MeasureTrack]-lyrics-[&MeasureArtist].hmtl
RegExp=(?siU).*'verse'>(.*)<\/div>
OnConnectErrorAction=[!CommandMeasure MeasureGetLyrics "Reset"]
OnRegExpErrorAction=[!ActivateConfig "#CURRENTCONFIG#" "Vagalume.ini"]
DynamicVariables=1
UpdateRate=600
UpdateDivider=1
[MeasureLyrics]
Measure=Plugin
Plugin=WebParser
URL=[MeasureGetLyrics]
StringIndex=1
Substitute="":"#CRLF##CRLF##CRLF##CRLF##CRLF#Searching Metrolyrics for Lyrics...","<br/>":"#CRLF#",'\"':"""
UpdateRate=600
UpdateDivider=-1
[MeasureTrack]
Measure=Plugin
Plugin=SpotifyPlugin.dll
Type=TrackName
RegExpSubstitute=1
Substitute="A":"a","B":"b","C":"c","D":"d","E":"e","F":"f","G":"g","H":"h","I":"i","J":"j","K":"k","L":"l","M":"m","N":"n","O":"o","P":"p","Q":"q","R":"r","S":"s","T":"t","U":"u","V":"v","W":"w","X":"x","Y":"y","Z":"z","\s-\s.*":"","\s\(.*":"","\s\[.*":"","":""," ":"-","\W+":"-","&":"And","--":"-"
OnChangeAction=[!CommandMeasure MeasureGetLyrics Update][!SetOption MeterText Y "10"][!SetOption MeterText H #Height#]
[MeasureArtist]
Measure=Plugin
Plugin=SpotifyPlugin.dll
Type=ArtistName
Substitute="A":"a","B":"b","C":"c","D":"d","E":"e","F":"f","G":"g","H":"h","I":"i","J":"j","K":"k","L":"l","M":"m","N":"n","O":"o","P":"p","Q":"q","R":"r","S":"s","T":"t","U":"u","V":"v","W":"w","X":"x","Y":"y","Z":"z","":""," ":"-","/":"-","&":"And","--":"-"
UpdateDivider=-1
[MeterText]
Meter=String
MeasureName=MeasureLyrics
MeterStyle=StringStyle
MouseScrollUpAction=[!SetOption MeterText y ([MeterText:y]<10?([MeterText:y]+#ScrollSpeed#):[MeterText:y])][!SetOption MeterText H ([MeterText:y]<10?[MeterText:H]-#ScrollSpeed#:[MeterText:H])][!Update]
MouseScrollDownAction=[!SetOption MeterText y ([MeterText:y]-#ScrollSpeed#)][!SetOption MeterText H ([MeterText:H]+#ScrollSpeed#)][!Update]
X=(#OffSet#+256)
Y=10
W=512
H=#Height#
DynamicVariables=1
SolidColor=0,0,0,1
MouseActionCursor=0 |
|