Please can someone help
I know the Rest works by using just the commented URL so the problem has to lie with the webparser.
Code: Select all
[Variables]
;Variables used for getting album art. These are re-written on track change.
ARTIST=U2
TRACK=With Or Without You
Spotify=C:\Program Files (x86)\Spotify\spotify.exe
[MeasureMediaKey]
Measure=Plugin
Plugin=MediaKey.dll
; Gets the artist name from Spotify
[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying.dll
UpdateRate=1
PlayerName=Spotify
PlayerType=ARTIST
; Gets the track name from Spotify
[MeasureTrack]
Measure=Plugin
Plugin=NowPlaying.dll
UpdateRate=1
PlayerName=Spotify
PlayerType=TITLE
[MeasureCheckTrackChange]
Measure=Script
ScriptFile="#CURRENTPATH#CheckTrackChange.lua"
UpdateRate=1
[MeasurePlaying]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=SpotifyMainWindow
RegExpSubstitute=1
Substitute="Spotify - .*":";","Spotify":"4","0":"4"
[MeasureGetArt]
Measure=Plugin
Plugin=WebParser.dll
ForceReload=0
Url=http://lastfm-api-ext.appspot.com/2.0/?method=artist.getinfo&api_key=4f20dede76a3ef2f995acd85a1a01b29&artist=#ARTIST#&track=#TRACK#
RegExp=(?siU)<image size="extralarge">(.*)</image>.*</lfm>
;Url=http://upload.wikimedia.org/wikipedia/commons/thumb/6/66/SMPTE_Color_Bars.svg/320px-SMPTE_Color_Bars.svg.png
UpdateRate=3
StringIndex=1
Substitute="":"#CURRENTPATH#noart.png"
FinishAction=!Redraw
ErrorString="#CURRENTPATH#noart.png"
Download=1
[MeterArt]
Meter=IMAGE
MeasureName=MeasureGetArt
PreserveAspectRatio=1
ImageAlpha=255
X=260
Y=14
W=100
LeftMouseUpAction=!Execute ["#Spotify#"]