Advertisement
Guest User

Rainmeter Lyrics for spotify

a guest
Apr 7th, 2017
5,727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Rainmeter]
  2. Update=500
  3. AccurateText=1
  4. DynamicWindowSize=1
  5. Group=#RootConfig#
  6.  
  7. ; ========= Metadata ==========
  8. [Metadata]
  9. Name=Jobolo's Lyrics23
  10. Author=jobolo23
  11. 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.
  12. License=Creative Commons Share-Alike NC 4
  13. Version=1.2016.08.31
  14.  
  15. ; ========= Variables ==========
  16. [Variables]
  17. PlayerInterface=WinAmp
  18. go=0
  19. height=800
  20. halfheight=(#height#/2)
  21. width=800
  22.  
  23. ; ========= Measures ==========
  24. [mTitleLyric]
  25. Measure=Plugin
  26. Plugin=SpotifyPlugin
  27. Type=TrackName
  28. Substitute="":"Track"," ":"-","'":"-",".":""
  29. OnChangeAction=[!CommandMeasure mGetLyrics Update]
  30.  
  31. [mArtistLyric]
  32. Measure=Plugin
  33. Plugin=SpotifyPlugin
  34. Type=ArtistName
  35. Substitute="":"Artist"," ":"-","'":"-",".":""
  36.  
  37. [mTitle]
  38. Measure=Plugin
  39. Plugin=SpotifyPlugin
  40. Type=TrackName
  41. Substitute="":"Track"
  42. OnChangeAction=[!CommandMeasure mGetLyrics Update]
  43.  
  44. [mArtist]
  45. Measure=Plugin
  46. Plugin=SpotifyPlugin
  47. Type=ArtistName
  48. Substitute="":"Artist"
  49.  
  50. [mGetLyrics]
  51. Measure=Plugin
  52. Plugin=WebParser
  53. URL=https://www.musixmatch.com/lyrics/[&mArtistLyric]/[&mTitleLyric]
  54. ; To see possible translations, add: /translation/{language}  to the end of the URL above
  55. ; Replace {language} with Spanish, German, etc. your language (not all are available)
  56. RegExp=(?siU).*"lyrics".*"body":"(.*)","Language"
  57. DynamicVariables=1
  58. FinishAction=[!SetVariable Go 0][!HideMeterGroup Controls][!DisableMeasure measureY][!Update][!EnableMeasure measureY]
  59.  
  60. [mLyrics]
  61. Measure=Plugin
  62. Plugin=WebParser
  63. URL=[mGetLyrics]
  64. StringIndex=1
  65. DecodeCharacterReference=1
  66. Substitute="":"Searching MusixMatch for Lyrics...","\n":"#CRLF#"
  67.  
  68. [measurey]
  69. measure=calc
  70. formula=measurey-#go#
  71. dynamicvariables=1
  72.  
  73. [measureh]
  74. measure=calc
  75. formula=#halfheight#-1-measurey+#halfheight#
  76. dynamicvariables=1
  77.  
  78. ; ================================= Meters ===================================================
  79.  
  80. [Background]
  81. Meter=Image
  82. W=#width#
  83. H=#height#
  84. SolidColor2=32,32,32,255
  85. SolidColor=32,32,32,210
  86. GradientAngle=90
  87. Hidden=0
  88. AntiAlias=1
  89. DynamicVariables=1
  90. MiddleMouseUpAction=[!SetClip "Title: [mTitleLyric]#CRLF#Artist: [mArtistLyric]#CRLF##CRLF#[mLyrics]"]
  91. MouseOverAction=[!ShowMeterGroup Controls]
  92. MouseLeaveAction=[!HideMeterGroup Controls]
  93. MouseScrollUpAction=[!SetVariable Go (#Go#+2)]
  94. MouseScrollDownAction=[!SetVariable Go (#Go#-2)]
  95. MouseActionCursor=0
  96.  
  97. [LyricsDisplay]
  98. Meter=STRING
  99. MeterStyle=Style1
  100. MeasureName=mLyrics
  101. X=([Background:W]/2)
  102. W=([Background:W]-20)
  103. Y=([measurey])
  104. H=[measureh]
  105. StringAlign=CENTER
  106. ClipString=2
  107. Text=#CRLF#%1
  108. Hidden=0
  109. Group=Lyric
  110.  
  111. [TitleAuthor]
  112. Meter=String
  113. MeterStyle=Style1
  114. MeasureName=mTitle
  115. MeasureName2=mArtist
  116. Padding=8,1,8,3
  117. X=(#Width#/2)
  118. Y=2R
  119. SolidColor=32,32,32,255
  120. StringAlign=Center
  121. Text="%1  by  %2"
  122.  
  123. [TitleURL]
  124. Meter=String
  125. MeterStyle=Style1
  126. MeasureName=mTitleLyric
  127. MeasureName2=mArtistLyric
  128. Padding=8,1,8,3
  129. X=(#Width#/2)
  130. Y=2R
  131. SolidColor=32,32,32,255
  132. StringAlign=Center
  133. Text="https://www.musixmatch.com/lyrics/%2/%1"
  134.  
  135.  
  136. [Close]
  137. Meter=String
  138. MeterStyle=Style1
  139. X=(#width#-10)
  140. Y=-18r
  141. W=10
  142. Text=X
  143. LeftMouseUpAction=[!DeactivateConfig]
  144. Group=Controls
  145.  
  146. [Style1]
  147. StringStyle=normal
  148. StringEffect=none
  149. FontFace=Helvetica
  150. FontSize=14
  151. FontColor=255,255,255
  152. FontEffectColor=0,0,0
  153. AntiAlias=1
  154. DynamicVariables=1
  155. MouseActionCursor=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement