Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: basic fb2k support in Rainmeter Enigma Theme (Read 8980 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

basic fb2k support in Rainmeter Enigma Theme

Rainmeter is a very flexible eye-candy widgets (Rainmeter calls these widgets as 'skins') system for Windows I just found today.
I love Rainmeter's Enigma theme at first glance 

However, at present, Official Enigma only support iTunes and Winamp:
http://www.rainmeter.net/forum/viewtopic.php?f=5&t=777

Luckily, Taichou-Henk has made a fb2k 'skin' for Rainmeter:
http://taichou-henk.deviantart.com/art/Foo...meter-148244923

I modified the official iTunes version 'Music' skin of Enigma according to Taichou-Henk's script:
To use this script, you should:
1. Install foo_httpcontrol and config as Taichou-Henk's page said.
2. Edit Enigma iTunes Music skin (aka. Music-Art.ini):
Code: [Select]
; ------------------------------------------------------------------------------------------------
; ENIGMA MUSIC
; Class: Sidebar

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Music.ini
MouseOverAction=!Execute [!RainmeterHideMeter Album][!RainmeterShowMeter Prev][!RainmeterShowMeter Play][!RainmeterShowMeter Next]
;[!RainmeterShowMeter Time]
MouseLeaveAction=!Execute [!RainmeterShowMeter Album][!RainmeterHideMeter Prev][!RainmeterHideMeter Play][!RainmeterHideMeter Next]
;[!RainmeterHideMeter Time]

[Metadata]
Name=Enigma Music | Art
Config=Enigma | Sidebar | Music
Description=Shows information about the song currently playing in iTunes.
Instructions=Mouseover to reveal player controls.
Version=2.6 RC4
Tags=Music | iTunes | Sidebar
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=1

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

; ------------------------------------------------------------------------------------------------
; MEASURES
[mRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=2; 2 secs update
Url=http://127.0.0.1:8888
RegExp="(?siU)img src=\"(.*)\".+class=\"track\">(.*)##(.*)##(.*)</span>"
StringIndex=1
ForceReload=1
finishaction=!Execute [!RainmeterHideMeter idle][!RainmeterShowMeter border]

[MeasureCommand]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
Substitute="[Paused]":""," - Winamp":"","[Stopped]":""

[mArtist]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mRSS]
StringIndex=2
substitute="?":"unknown"

[mAlbum]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mRSS]
StringIndex=3
substitute="?":"unknown"

[mTitle]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mRSS]
StringIndex=4
substitute="?":"unknown"

[mCover]
Measure=Plugin
Plugin=Plugins\WebParser.dll
download=1
Url=http://127.0.0.1:8888/[mRSS]
StringIndex=1

; ------------------------------------------------------------------------------------------------
; STYLES

[StyleText]
X=54
;X=176
Y=16r
H=15
W=122
ClipString=1
FontFace=#Font#
FontSize=#Height3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1

[StyleButton]
X=16r
Y=47
FontColor=#Color1#
StringStyle=BOLD
FontSize=10
StringAlign=LEFT
FontFace=Webdings
AntiAlias=1
Hidden=1

; ------------------------------------------------------------------------------------------------
; METERS

[Border]
Meter=IMAGE
SolidColor=#ColorBorder#
X=0
Y=4
W=80
H=1

[Background]
Meter=IMAGE
SolidColor=0, 0, 0, 2
X=0
Y=1
W=180
H=70

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

[IconBack]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\MusicAlbum.#ColorIcon#.png
X=4
Y=15
W=45
H=45

[Icon]
Meter=IMAGE
MeasureName=mCover
X=5
Y=16
H=43
W=43

;-------------------------
; TEXT

[Track]
Meter=STRING
MeterStyle=StyleText
MeasureName=mTitle
Y=15
FontFace="Segoe UI"
StringStyle=Bold
FontColor=#Color1#

[Artist]
Meter=STRING
MeterStyle=StyleText
MeasureName=mArtist
FontFace="Segoe UI"
StringStyle=Bold
FontColor=#Color2#
FontSize=#Height3#

[Album]
Meter=STRING
MeterStyle=StyleText
MeasureName=mAlbum
FontFace="Segoe UI"
StringStyle=Bold
FontColor=#Color2#
FontSize=#Height2#

;-------------------------
; BUTTONS

[Prev]
Meter=STRING
MeterStyle=StyleButton
X=54
Text="7"
LeftMouseDownAction=!Execute [!RainmeterShowMeter PrevPush][!RainmeterHideMeter Prev][!RainmeterRedraw]


[PrevPush]
Meter=STRING
MeterStyle=StyleButton
X=r
FontColor=#ColorActive#
Text="7"
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasureCommand SendMessage 273 40044 0"][!RainmeterHideMeter PrevPush][!RainmeterShowMeter Prev][!RainmeterRedraw]

[Play]
Meter=STRING
MeterStyle=StyleButton
Text=";"
LeftMouseDownAction=!Execute [!RainmeterShowMeter PlayPush][!RainmeterHideMeter Play][!RainmeterRedraw]

[PlayPush]
Meter=STRING
MeterStyle=StyleButton
X=r
FontColor=#ColorActive#
Text=";"
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasureCommand SendMessage 273 40046 0"][!RainmeterHideMeter PlayPush][!RainmeterShowMeter Play][!RainmeterRedraw]

[Next]
Meter=STRING
MeterStyle=StyleButton
Text="8"
LeftMouseDownAction=!Execute [!RainmeterShowMeter NextPush][!RainmeterHideMeter Next][!RainmeterRedraw]

[NextPush]
Meter=STRING
MeterStyle=StyleButton
X=r
FontColor=#ColorActive#
Text="8"
LeftMouseUpAction=!Execute [!RainmeterPluginBang "MeasureCommand SendMessage 273 40048 0"][!RainmeterHideMeter NextPush][!RainmeterShowMeter Next][!RainmeterRedraw]

;[Time]
;Meter=STRING
;MeasureName=MeasureTMinute
;MeasureName2=MeasureTZero
;MeasureName3=MeasureTSecond
;X=20r
;Y=1r
;StringAlign=LEFT
;StringStyle=BOLD
;FontColor=#Color1#
;FontFace=#Font#
;FontSize=#Height2#
;AntiAlias=1
;Text="%1.%2%3"
;Hidden=1

;-------------------------
; BORDER 2

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

;[Progress]
;MeasureName=MeasureProgress
;Meter=BAR
;X=r
;Y=r
;H=1
;W=180
;BarColor=#ColorBorder#
;BarOrientation=HORIZONTAL

I am a newbie of Rainmeter.
There are some issues, such as Artwork still showing when stop playing, everything not changed when fb2k closed ...
After all, I think it is a good start.

Attachment is a screenshot shows the result. 'Enigma Music Art' can be found at bottom-right

 

basic fb2k support in Rainmeter Enigma Theme

Reply #1
Could you please tell me which skin for firefox is that?