Jump to content


Photo
- - - - -

Help running WMP with Rainmeter


  • Please log in to reply
3 replies to this topic

#1 hab

hab

    Active WinMatrixian

  • Member
  • 996 posts

Posted 13 August 2009 - 12:00 AM

I have the latest version of rainmeter and am loving the Enigma theme but it's music player doesn't support WMP. Is there any way I can mod the file so it can work with WMP?

This is the config file for the music player:

; ENIGMA SIDEBAR MUSIC

[Rainmeter]
Author=Kaelri.LCD@gmail.com
Update=1000

[Variables]
update.Spd=60
Color=0, 0, 0, 217
Color2=0, 0, 0, 160
Color3=0, 0, 0, 80
FontName=Trebuchet MS
FontHeight=8
FontHeight2=7
AntiAlias=1

;-------------------------

[MeasureTrack]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackName

[MeasureArtist]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackArtist

[MeasureAlbum]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetCurrentTrackAlbum

[MeasureTime]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPosition

[MeasureTMinute]
Measure=Calc
Formula=(MeasureTime - (MeasureTime % 60)) /60

[MeasureTSecond]
Measure=Calc
Formula=MeasureTime % 60

[MeasureTZero]
Measure=Calc
Formula=(MeasureTime % 60) < 10 ? 0 : 1
Substitute="1":""

[MeasureProgress]
Measure=Plugin
Plugin=Plugins\iTunesPlugin.dll
Command=GetPlayerPositionPercent
MaxValue=100

;-------------------------

[Backing]
Meter=IMAGE
SolidColor=0, 0, 0, 2
X=0
Y=1
W=180
H=15

[Separator]
Meter=IMAGE
SolidColor=0, 0, 0, 217
X=0
Y=4
W=80
H=1

[Label]
Meter=STRING
X=85
Y=0
FontColor=#Color#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
StringEffect=SHADOW
StringStyle=NORMAL
Text="N o w   P l a y i n g"
AntiAlias=1

[Track]
Meter=STRING
MeasureName=MeasureTrack
X=4
Y=15
H=16
W=172
ClipString=1
FontColor=#Color#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1

[Artist]
Meter=STRING
MeasureName=MeasureArtist
X=4
Y=16r
H=16
W=172
ClipString=1
FontColor=#Color2#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1

[Album]
Meter=STRING
MeasureName=MeasureAlbum
X=4
Y=16r
H=16
W=172
ClipString=1
FontColor=#Color3#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1

[Time]
Meter=STRING
MeasureName=MeasureTMinute
MeasureName2=MeasureTZero
MeasureName3=MeasureTSecond
X=176
Y=r
StringAlign=RIGHT
StringEffect=SHADOW
StringStyle=BOLD
FontColor=#Color#
FontFace=#FontName#
FontSize=#FontHeight2#
AntiAlias=1
Text="%1.%2%3"

[ProgressBackground]
Meter=IMAGE
SolidColor=0, 0, 0, 80
X=0
Y=70
W=180
H=1

[Progress]
MeasureName=MeasureProgress
Meter=BAR
X=r
Y=r
H=1
W=180
BarColor=192, 192, 192, 217
BarOrientation=HORIZONTAL


#2 Airflow

Airflow

    wolfriA

  • Member
  • 796 posts

Posted 13 August 2009 - 12:10 AM

Well, I've tried myself, but because of how there is no output from WMP to use for a rainmeter app, unfortunately you can't, correct me if I'm wrong WinMatrix.

#3 hab

hab

    Active WinMatrixian

  • Member
  • 996 posts

Posted 13 August 2009 - 12:22 AM

Well, I've tried myself, but because of how there is no output from WMP to use for a rainmeter app, unfortunately you can't, correct me if I'm wrong WinMatrix.


Well I've found other skins for Rainmeter that work with WMP, it's just none of them have what I want and none flow me the Enigma theme. Also none of them display any of the song's info (artist and song)

Basically what I want is to display the Song, Artist and have the play/pause, previous, next and stop buttons.

#4 Guest_Chris_*

Guest_Chris_*
  • Guest

Posted 05 January 2010 - 03:16 AM


Well, I've tried myself, but because of how there is no output from WMP to use for a rainmeter app, unfortunately you can't, correct me if I'm wrong WinMatrix.


Well I've found other skins for Rainmeter that work with WMP, it's just none of them have what I want and none flow me the Enigma theme. Also none of them display any of the song's info (artist and song)

Basically what I want is to display the Song, Artist and have the play/pause, previous, next and stop buttons.


It's possible to rig an existing winamp skin for rainmeter to display information from WMPlayer. I've done it with the GAIA09 player. if you want the modified code, here it is:

GAIA09
Rainmeter configuration file

Design=Marius
Author=rebek
Contact=rebek.rebek@hotmail.com

--------------------------------------------------------------------------------------

[Rainmeter]
Background=bg_winamp.png

--------------------------------------------------------------------------------------

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
WMPFolder=c:\progra~1\Windows Media Player\

--------------------------------------------------------------------------------------

[MeasureWinamp]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp
Substitute="[Paused]":""," - Winamp":"","[Stopped]":""
IfEqualValue=1
IfEqualAction=!RainmeterShowMeter MeterPause
IfBelowValue=1
IfBelowAction=!RainmeterShowMeter MeterPause
IfAboveValue=1
IfAboveAction=!RainmeterHideMeter MeterPause

[MeasureWAFull]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp
WindowMessage=1024 1 105

[MeasureWACurr]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp
WindowMessage=1024 0 105

[MeasureWinampCurrOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp
WindowMessage=1024 0 105

[MeasureWA]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp

[MeasureWinampCurrMin]
Measure=Calc
Formula=((MeasureWinampCurrOrg / 1000) - ((MeasureWinampCurrOrg / 1000) % 60)) /60

[MeasureWinampCurrSec]
Measure=Calc
Formula=(MeasureWinampCurrOrg / 1000) % 60 = 60 ? 0 : (MeasureWinampCurrOrg / 1000) % 60

[MeasureWinampCurrZero]
Measure=Calc
Formula=(((MeasureWinampCurrOrg) / 1000) % 60)  < 9 ? 0 : 1
Substitute="1":""

[MeasureWinampFullOrg]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=WMPlayerApp
WindowMessage=1024 1 105

[MeasureWinampFullMin]
Measure=Calc
Formula=(MeasureWinampFullOrg - (MeasureWinampFullOrg % 60)) /60

[MeasureWinampFullSec]
Measure=Calc
Formula=MeasureWinampFullOrg % 60

[MeasureWinampFullZero]
Measure=Calc
Formula=(MeasureWinampFullOrg % 60)  < 9 ? 0 : 1
Substitute="1":""

[MeasureWADuration]
Measure=Calc
Formula=(MeasureWACurr<=0)?0:(MeasureWACurr/(MeasureWAFull*1000+1)) 

-------------------------------------------------------------------------------------

[MeterTitle]
Meter=STRING
MeasureName=MeasureWinamp
X=28
Y=22
H=14
W=172
FontColor=255, 255, 255
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Segoe UI
AntiAlias=1
ClipString=1
Hidden=1

-----------------------------------------------------------------------------------

[MeterTitleBack]
Meter=IMAGE
X=0
Y=0
ImageName=bg_title.png
Hidden=1

-----------------------------------------------------------------------------------

[MeterButtonImage]
Meter=IMAGE
X=192
Y=72
W=15
H=15
ImageName=close.png
Hidden=1

[MeterButton]
Meter=IMAGE
X=192
Y=72
W=15
H=15
MouseOverAction=!execute [!RainmeterShowMeter MeterButtonImage][!RainmeterRedraw]
LeftMouseUpAction=!RainmeterDeactivateConfig
MouseLeaveAction=!execute [!RainmeterHideMeter MeterButtonImage][!RainmeterRedraw]

--------------------------------------------------------------------------------

[MeterPlayImage]
Meter=IMAGE
X=42
Y=78
ImageName=play.png

[MeterPlay]
Meter=IMAGE
X=42
Y=78
W=56
H=56
MouseOverAction=!execute [!RainmeterShowMeter MeterPlayImage][!RainmeterRedraw][!RainmeterShowMeter MeterTitleBack][!RainmeterShowMeter MeterTitle]
LeftMouseDownAction=!RainmeterPluginBang "MeasureWinamp SendMessage 273 18808 0"
MouseLeaveAction=!execute [!RainmeterHideMeter MeterPlayImage][!RainmeterRedraw][!RainmeterHideMeter MeterTitleBack][!RainmeterHideMeter MeterTitle]

[MeterPause]
Meter=IMAGE
X=133
Y=48
ButtonImage=pause.png
ButtonCommand=!Execute [!RainmeterPluginBang "WinampTitle SendMessage 273 18809 0"]
Hidden=1
--------------------------------------------------------------------------------

[MeterPrevImage]
Meter=IMAGE
X=117
Y=95
ImageName=prevDown.png
Hidden=1

[MeterPrevImageDown]
Meter=IMAGE
X=117
Y=95
ImageName=prev.png
Hidden=1

[MeterPrev]
Meter=IMAGE
X=117
Y=95
W=28
H=28
MouseOverAction=!execute [!RainmeterShowMeter MeterPrevImage][!RainmeterRedraw]
LeftMouseDownAction=!RainmeterPluginBang "MeasureWinamp SendMessage 273 18810 0"
MouseLeaveAction=!execute [!RainmeterHideMeter MeterPrevImage][!RainmeterRedraw]

---------------------------------------------------------------------------------

[MeterNextImage]
Meter=IMAGE
X=146
Y=95
ImageName=nextDown.png
Hidden=1

[MeterNextImageDown]
Meter=IMAGE
X=146
Y=95
ImageName=next.png
Hidden=1

[MeterNext]
Meter=IMAGE
X=146
Y=95
W=28
H=28
MouseOverAction=!execute [!RainmeterShowMeter MeterNextImage][!RainmeterRedraw]
LeftMouseDownAction=!RainmeterPluginBang "MeasureWinamp SendMessage 273 18811 0"
MouseLeaveAction=!execute [!RainmeterHideMeter MeterNextImage][!RainmeterRedraw]

-----------------------------------------------------------------------------

[MeterPowerImage]
Meter=IMAGE
X=190
Y=102
ImageName=open.png
Hidden=1

[MeterPower]
Meter=IMAGE
X=190
Y=102
W=15
H=15
MouseOverAction=!execute [!RainmeterShowMeter MeterPowerImage][!RainmeterRedraw]
LeftMouseDownAction=!execute [!RainmeterRedraw]
LeftMouseUpAction=!execute [!RainmeterRedraw][#WinampFolder#winamp.exe]
MouseLeaveAction=!execute [!RainmeterHideMeter MeterPowerImage][!RainmeterRedraw]

----------------------------------------------------------------------------

[MeterWAProgress]
MeasureName=MeasureWADuration
Meter=BAR
X=112
Y=138
W=65
H=5
BarOrientation=HORIZONTAL
BarColor=21, 180, 176
Flip=0

[MeterGloss]
Meter=IMAGE
X=0
Y=0
ImageName=gloss.png


Want to comment?

Register or Sign In to go completely ad-free!