It is currently April 16th, 2024, 10:50 am

RainGlass

A package of skins with a "theme" or by a single author
User avatar
Yelleke
Posts: 73
Joined: September 5th, 2009, 11:38 am
Location: Belgium

Re: RainGlass

Post by Yelleke »

vijayFH wrote:With the Buttons (no idea how to make it with a paint programm)
(your Buttons are big enough for the sidebar, but the questions is, would you allwed me to use your Buttons ? )
You are free to do with the skin whatever you want as long as you follow the
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License rules.

;)
vijayFH
Posts: 79
Joined: April 18th, 2009, 9:50 am
Location: Germany

Re: RainGlass

Post by vijayFH »

hi yelleke

thank you very much for your permission to use your Buttons, and of course i will accept
this :

http://creativecommons.org/licenses/by-nc-sa/3.0/deed.de

btw: where schould i start with the rainplayer ? i mean with the ini.file :panic:

vijayFH :-)
Der Computer ist die logische Weiterentwicklung
des Menschen: Intelligenz ohne Moral.
User avatar
Yelleke
Posts: 73
Joined: September 5th, 2009, 11:38 am
Location: Belgium

Re: RainGlass

Post by Yelleke »

If you want to make your own player and you don't know where to begin, strip down a excisting simple player and only keep the measures and the controls, then you add the body you want

Code: Select all

[Rainmeter]
Update=200

;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]
WinampFolder=c:\progra~1\winamp\Winamp.exe

FontName=Tahoma
FontColor=255, 255, 255, 150

; MEASURES ============================================

[MeasureWA]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x

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

[MeasureWACurr]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
IfEqualValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterTitle] [!RainmeterShowMeter MeterNoTitle][!RainmeterRedraw]
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterNoTitle] [!RainmeterShowMeter MeterTitle][!RainmeterRedraw]

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

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

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

[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=Winamp v1.x
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":""

[MeasureWAPlaylistLength]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 124

[MeasureWACurrentTrackNumberFalse]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 120

[MeasureWACurrentTrackNumber]
Measure=Calc
Formula=(MeasureWACurrentTrackNumberFalse)+1

[Mse_Winamp_Bitrate]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 126

[Mse_Winamp_Samplerate]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 126

[MeasureWAVolume]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 -666 122

[MeasureVolumeBar]
Measure=calc
Formula=(MeasureWAVolume<=0)?0:(MeasureWAVolume/(255))


; CONTROLS ============================================

[Icon]
Meter=IMAGE
ImageName=winamp.png
X=10
Y=5
W=20
H=20
LeftMouseDownAction=!execute ["#WinampFolder#"]
RightMouseDownAction=!Execute =[!RainmeterPluginBang "MeasureWA SendMessage 273 40041 0"]

[Prev]
Meter=IMAGE
ImageName=previous.png
X=42
Y=6
W=18
H=16
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40044 0"]

[Play]
Meter=IMAGE
ImageName=play.png
X=71
Y=6
W=8
H=16
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40045 0"]

[Pause]
Meter=IMAGE
ImageName=pause.png
X=70
Y=7
W=9
H=15
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40046 0"]
HIdden=1

[Stop]
Meter=IMAGE
ImageName=stop.png
X=90
Y=7
W=15
H=14
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40147 0"]

[Next]
Meter=IMAGE
ImageName=next.png
X=115
Y=6
W=18
H=16
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40048 0"]

[CDEject]
Meter=IMAGE
ImageName=Eject.png
X=145
Y=6
W=18
H=14
LeftMouseDownAction=!execute ["C:\Program Files\Rainmeter\Addons\CDTray.exe" "F:" "open"]


; METERS ==============================================

; Start here to make your own body for the player to match the sidebar you use
Last edited by Yelleke on January 18th, 2010, 10:23 pm, edited 1 time in total.
User avatar
~Faradey~
Posts: 366
Joined: November 12th, 2009, 4:47 pm
Location: Ukraine

Re: RainGlass

Post by ~Faradey~ »

Yelleke Looks very very nice :thumbsu:
vijayFH
Posts: 79
Joined: April 18th, 2009, 9:50 am
Location: Germany

Re: RainGlass

Post by vijayFH »

Hi Yelleke

Thank you very much for your help :-) i will start tomorrow with the rainplayer :-)


vijayFH
Der Computer ist die logische Weiterentwicklung
des Menschen: Intelligenz ohne Moral.
vijayFH
Posts: 79
Joined: April 18th, 2009, 9:50 am
Location: Germany

Re: RainGlass

Post by vijayFH »

hi

First @Yelleke thank you very much for your help !

But i have a question about the Winamp.

It is possible to run Rainwinamp witout to start the Winamp Player?


vijayFH
Der Computer ist die logische Weiterentwicklung
des Menschen: Intelligenz ohne Moral.
User avatar
Yelleke
Posts: 73
Joined: September 5th, 2009, 11:38 am
Location: Belgium

Re: RainGlass

Post by Yelleke »

vijayFH wrote:It is possible to run Rainwinamp without to start the Winamp Player?
(I think) This is not possible because what you have made is just a skin.
You can see it like the Winamp skins, you still need the player to run.

Winamp starts on my system at boot and minimized.
In winamp I have choosen to use no Taskbar or Systray icon.
So winamp is never visible to me until I click the winamp icon in the RainGlass player.
Instead of closing Winamp, I minimize it, so it hides itself again.
And I use the old fashion standard (default) skin from winamp to save resources.

vijayFH
Posts: 79
Joined: April 18th, 2009, 9:50 am
Location: Germany

Re: RainGlass

Post by vijayFH »

hi yelleke

Thank you very much for your help, and for the suggestions :-)

vijayFH
Der Computer ist die logische Weiterentwicklung
des Menschen: Intelligenz ohne Moral.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: RainGlass

Post by Chewtoy »

Indeed. We can't replace winamp for rainmeter. All we do is use rainmeter to send commands to winamp. It's really winamp that's doing all the music-playing stuff.
We can however play sound-files with rainmeter, but in now way like winamp can. We have to define what file to play in code. And that's really annyoing if you want a playlist.
I don't think, therefore I'm not.
User avatar
Yelleke
Posts: 73
Joined: September 5th, 2009, 11:38 am
Location: Belgium

Re: RainGlass

Post by Yelleke »

I use the rainmeter "sound play" to notify me when new mail arives and when the battery goes to critical level

Code: Select all

[GMail]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Getmail]
StringIndex=1
UpdateRate=1
IfAboveValue=0
IfAboveAction=!Execute [PLAY C:\Windows\Media\Notify.wav]