While I was writing my own rainmeter config, at one moment I realized, that I actually need a good winamp plugin with ability to display album, track, time, COVER, etc... Ofc, there is a trick to invoke WebParser and web control for winamp, but I found it, uhm, not a very good way :)
So, I coded a small plugin, that has an ability to parse album, artist, ... and download and display covers. Right now I use seekacover.com & google images, but this can be easily changed via sources.
My plugin has only one setting that is called "Retrieve".
Retrieve = 0 will result in downloading cover and therefore you can make it in a way like
Code: Select all
Meter = IMAGE, ImageName = [MeasureCover]
Retrieve = 1,2,3 means getting an Artist, Album and Track captions accordingly. I capture these via window caption, so you should change winamp song captioning option to [%artist% - ][%album% - ]$if2(%title%,$filepart(%filename%)) '['%filename%']'
Retrieve = 4,5 means getting elapsed time and total track time in format 'x.xx' (can be changed via sources).
Here is a part of my config that uses winamp plugin:
Code: Select all
; Measures
; --------
[MeasureCover]
Measure = Plugin
Plugin = Plugins\WinampPlugin.dll
Retrieve = 0
[MeasureArtist]
Measure = Plugin
Plugin = Plugins\WinampPlugin.dll
Retrieve = 1
[MeasureAlbum]
Measure = Plugin
Plugin = Plugins\WinampPlugin.dll
Retrieve = 2
[MeasureTrack]
Measure = Plugin
Plugin = Plugins\WinampPlugin.dll
Retrieve = 3
[MeasurePos]
Measure = Plugin
Plugin = Plugins\WinampPlugin.dll
Retrieve = 4
[MeasureLen]
Measure = Plugin
Plugin = Plugins\WinampPlugin.dll
Retrieve = 5
; Meters
; ------
[Line]
Meter = IMAGE
SolidColor = #ColorBorder#
X = 0
Y = 0
W = 180
H = 1
[MeterCover]
Meter = IMAGE
ImageName = [MeasureCover]
DynamicVariables = 1
LeftMouseDownAction=!RainmeterRefresh
AntiAlias = 1
X = 50
Y = 10
H = 80
W = 80
[Title]
Meter = STRING
MeasureName = MeasureTrack
Text = "%1"
FontFace = #Font#
FontColor = #Color1#
FontSize = 8
AntiAlias = 1
ClipString = 1
X = 5
Y = 90r
W = 180
H = 15
[Artist]
Meter = STRING
MeasureName = MeasureArtist
MeasureName2 = MeasureAlbum
Text = "%1 - %2"
FontFace = #Font#
FontColor = #Color2#
StringStyle = Italic
FontSize = 8
AntiAlias = 1
ClipString = 1
X = 5
Y = 15r
W = 180
H = 15
[Time]
Meter = STRING
MeasureName = MeasurePos
MeasureName2 = MeasureLen
Text = "%1 | %2"
Substitute = "0.00 | ":""
FontFace = #Font#
FontColor = #Color2#
FontSize = 7
AntiAlias = 1
ClipString = 1
X = 5
Y = 15r
W = 200
H = 15
Note that you have to put libcurl.dll in your Rainmeter program folder for this plugin to work.
Updated once again - Found one stupid bug with song name parsing, now it's ok...
Updated - added Retrieve = 4, 5 to get song time
Now this plugin works as CD Art display does (first search the file folder for cover, if there are no covers, download one).