Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Rainmeter]
- Update=500
- AccurateText=1
- DynamicWindowSize=1
- Group=#RootConfig#
- ; ========= Metadata ==========
- [Metadata]
- Name=Jobolo's Lyrics23
- Author=jobolo23
- Information=Will search for lyrics on the MusixMatch website of songs played through the nowplaying plugin and display them in a variable speed scrollable window. You can control the speed & direction by scrolling the mouse, left-click to access www.musixmatch.com, and middle-click to copy lyrics to your clipboard.
- License=Creative Commons Share-Alike NC 4
- Version=1.2016.08.31
- ; ========= Variables ==========
- [Variables]
- PlayerInterface=WinAmp
- go=0
- height=800
- halfheight=(#height#/2)
- width=800
- ; ========= Measures ==========
- [mTitleLyric]
- Measure=Plugin
- Plugin=SpotifyPlugin
- Type=TrackName
- Substitute="":"Track"," ":"-","'":"-",".":""
- OnChangeAction=[!CommandMeasure mGetLyrics Update]
- [mArtistLyric]
- Measure=Plugin
- Plugin=SpotifyPlugin
- Type=ArtistName
- Substitute="":"Artist"," ":"-","'":"-",".":""
- [mTitle]
- Measure=Plugin
- Plugin=SpotifyPlugin
- Type=TrackName
- Substitute="":"Track"
- OnChangeAction=[!CommandMeasure mGetLyrics Update]
- [mArtist]
- Measure=Plugin
- Plugin=SpotifyPlugin
- Type=ArtistName
- Substitute="":"Artist"
- [mGetLyrics]
- Measure=Plugin
- Plugin=WebParser
- URL=https://www.musixmatch.com/lyrics/[&mArtistLyric]/[&mTitleLyric]
- ; To see possible translations, add: /translation/{language} to the end of the URL above
- ; Replace {language} with Spanish, German, etc. your language (not all are available)
- RegExp=(?siU).*"lyrics".*"body":"(.*)","Language"
- DynamicVariables=1
- FinishAction=[!SetVariable Go 0][!HideMeterGroup Controls][!DisableMeasure measureY][!Update][!EnableMeasure measureY]
- [mLyrics]
- Measure=Plugin
- Plugin=WebParser
- URL=[mGetLyrics]
- StringIndex=1
- DecodeCharacterReference=1
- Substitute="":"Searching MusixMatch for Lyrics...","\n":"#CRLF#"
- [measurey]
- measure=calc
- formula=measurey-#go#
- dynamicvariables=1
- [measureh]
- measure=calc
- formula=#halfheight#-1-measurey+#halfheight#
- dynamicvariables=1
- ; ================================= Meters ===================================================
- [Background]
- Meter=Image
- W=#width#
- H=#height#
- SolidColor2=32,32,32,255
- SolidColor=32,32,32,210
- GradientAngle=90
- Hidden=0
- AntiAlias=1
- DynamicVariables=1
- MiddleMouseUpAction=[!SetClip "Title: [mTitleLyric]#CRLF#Artist: [mArtistLyric]#CRLF##CRLF#[mLyrics]"]
- MouseOverAction=[!ShowMeterGroup Controls]
- MouseLeaveAction=[!HideMeterGroup Controls]
- MouseScrollUpAction=[!SetVariable Go (#Go#+2)]
- MouseScrollDownAction=[!SetVariable Go (#Go#-2)]
- MouseActionCursor=0
- [LyricsDisplay]
- Meter=STRING
- MeterStyle=Style1
- MeasureName=mLyrics
- X=([Background:W]/2)
- W=([Background:W]-20)
- Y=([measurey])
- H=[measureh]
- StringAlign=CENTER
- ClipString=2
- Text=#CRLF#%1
- Hidden=0
- Group=Lyric
- [TitleAuthor]
- Meter=String
- MeterStyle=Style1
- MeasureName=mTitle
- MeasureName2=mArtist
- Padding=8,1,8,3
- X=(#Width#/2)
- Y=2R
- SolidColor=32,32,32,255
- StringAlign=Center
- Text="%1 by %2"
- [TitleURL]
- Meter=String
- MeterStyle=Style1
- MeasureName=mTitleLyric
- MeasureName2=mArtistLyric
- Padding=8,1,8,3
- X=(#Width#/2)
- Y=2R
- SolidColor=32,32,32,255
- StringAlign=Center
- Text="https://www.musixmatch.com/lyrics/%2/%1"
- [Close]
- Meter=String
- MeterStyle=Style1
- X=(#width#-10)
- Y=-18r
- W=10
- Text=X
- LeftMouseUpAction=[!DeactivateConfig]
- Group=Controls
- [Style1]
- StringStyle=normal
- StringEffect=none
- FontFace=Helvetica
- FontSize=14
- FontColor=255,255,255
- FontEffectColor=0,0,0
- AntiAlias=1
- DynamicVariables=1
- MouseActionCursor=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement