It is currently May 2nd, 2024, 10:48 pm
Gnometer Media Player Progress Bar
-
- Posts: 2
- Joined: June 15th, 2010, 12:10 pm
Gnometer Media Player Progress Bar
Been messing around with the styles of this thing... seems a bit more complicated to me then when I was messing with Enigma. Would be nice for the media player skins to have a progress bar added. I will keep tooling around with it when I am actually awake.
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Gnometer Media Player Progress Bar
The iTunes skin has a progress bar.theomay wrote:Been messing around with the styles of this thing... seems a bit more complicated to me then when I was messing with Enigma. Would be nice for the media player skins to have a progress bar added. I will keep tooling around with it when I am actually awake.
-
- Posts: 2
- Joined: June 15th, 2010, 12:10 pm
Re: Gnometer Media Player Progress Bar
Well here is how I got it to show for foobar if you would like to include it in your next release. I added FullTime, CurrTime, and Duration to the measures and ProgressBar to meterspoiru wrote: The iTunes skin has a progress bar.
Code: Select all
[Rainmeter]
Author=poiru
AppVersion=1002000
Update=1000
MouseActionCursor=0
MiddleMouseDownAction=!RainmeterDeactivateConfig
BackgroundMode=1
MouseLeaveAction=!Execute [!RainmeterHideMeter Prev][!RainmeterHideMeter Play][!RainmeterHideMeter Next][!RainmeterRedraw]
[Metadata]
Name=Gnometer: WinAmp
Config=Gnometer | Media Player
Description=Shows information about the song currently playing in WinAmp.
Version=1.0.0
Tags=Music | iTunes
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
[Variables]
@Include=..\SETTINGS\Variables.inc
; MEASURES
[MeasureFoobar]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
Substitute="[Paused]":""," - Winamp":"","[Stopped]":""
[FullTime]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105
[CurrTime]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
[Duration]
Measure=Calc
Formula=(CurrTime<=0)?0:(CurrTime/(FullTime*1000+1))
; STYLES
@Include2=..\SETTINGS\style#Style#.inc
; METERS
[Line]
Meter=IMAGE
MeterStyle=LineStyle
MouseOverAction=!Execute [!RainmeterShowMeter Prev][!RainmeterShowMeter Play][!RainmeterShowMeter Next][!RainmeterRedraw]
[Icon]
Meter=IMAGE
MeterStyle=IconStyle
ImageName=MediaPlayer.png
LeftMouseUpAction=!Execute ["foobar2000.exe"]
MouseActionCursor=1
[Title]
Meter=STRING
MeterStyle=TitleStyle
Text="Media Player"
[Subtitle]
Meter=STRING
MeterStyle=SubtitleStyle
MeasureName=MeasureFoobar
[Prev]
Meter=BUTTON
ButtonImage=Prev.png
X=135
Y=0
ButtonCommand=!Execute [!RainmeterPluginBang "MeasureFoobar SendMessage 273 40044 0"]
Hidden=1
[Play]
Meter=BUTTON
ButtonImage=Play.png
X=20r
Y=0
ButtonCommand=!Execute [!RainmeterPluginBang "MeasureFoobar SendMessage 273 40046 0"]
Hidden=1
[Next]
Meter=BUTTON
ButtonImage=Next.png
X=20r
Y=0
ButtonCommand=!Execute [!RainmeterPluginBang "MeasureFoobar SendMessage 273 40048 0"]
Hidden=1
[ProgressBar]
Meter=BAR
MeterStyle=SeperatorStyle
MeasureName=Duration
y=30
; Gap
[Gap]
Meter=IMAGE
MeterStyle=GapStyle
-
- Posts: 104
- Joined: November 20th, 2009, 7:23 am
Re: Gnometer Media Player Progress Bar
Thanks a lot for sharing that, theomay. :thumbsu:
After switching from the foo_winamp_spam.dll to the foo_vis_shpeck.dll last night, and now having a progress bar, foobar in Gnometer has improved 100% on my desktop.
After switching from the foo_winamp_spam.dll to the foo_vis_shpeck.dll last night, and now having a progress bar, foobar in Gnometer has improved 100% on my desktop.