It is currently March 28th, 2024, 5:10 pm

NowPlaying

Report bugs with the Rainmeter application and suggest features.
Post Reply
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

NowPlaying

Post by sl23 »

Hi, I've just upgraded Rainmeter to the latest beta (2947) and now every time I right click to open foobar, Rainmeter crashes. Previous to the update, I had no issues at all.

I went through the two skins I use and changed all Plugin=NowPlaying.dll to remove the .dll extension, but I'm still having problems opening foobar. I have also removed the actual plugins from Rainmeters Plugins folder.

Please help :thumbup:

Thank you
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: NowPlaying

Post by eclectic-tech »

Hi sl23!

I can not duplicate this using Rainmeter beta r2947 and foobar200 v1.3.6... opening foobar from my skins works normally.

What skins are you using? Perhaps post a link, or your code, so we can simulate your issue... :confused:
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: NowPlaying

Post by sl23 »

Hi and thanks for your reply.

I am using Foobar v1.3.16
Windows10 x64

Here's my code for the whole skin, it is rather complex as everything is self contained!

Code: Select all

[Rainmeter]
Update=1000
;Background=#@#Bgillustro.png
;BackgroundMode=3
;BackgroundMargins=12,12,15,40
;BackgroundMargins=left,top,right,bottom
BackgroundMode=2
SkinHeight=42
SolidColor=0,0,0,1
DynamicWindowSize=1
MouseOverAction=[!HideMeterGroup Hover] [!ShowMeterGroup Show] [!UpdateMeterGroup *] [!SetOption Clock FontColor "128,255,0"] [!UpdateMeter *] [!Redraw]
MouseLeaveAction=[!ShowMeterGroup Hover] [!HideMeterGroup Show] [!UpdateMeterGroup *] [!SetOption Clock FontColor ""] [!UpdateMeter *] [!Redraw]
AccurateText=1

[Metadata]
Author=sl23
Description=MediaStatBar

[Variables]
Player=CAD
UDX=-1
UD1=1
UD2=2
CE=\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\CubicExplorer_sps\CubicExplorer.exe
f2k=\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\foobar2000_sps\foobar2000.exe

;[MediaStatBar]
;WindowX=(#ScreenAreaX# + (#ScreenAreaWidth# / 2 - 175))
;WindowY=(#ScreenAreaY# + (#ScreenAreaHeight# - 42))

========================================
; STYLES
========================================
[sText]
StringAlign=Left
FontFace=Corbel
StringStyle=Bold
FontSize=10
FontColor=0,255,255,150
AntiAlias=1
ClipString=2
DynamicVariables=1
Group=VLC

[sHighlight]
MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "128,255,0"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]

[sBar]
BarColor=235,170,0,255
BarOrientation=Horizontal
SolidColor=250,250,250,60
Y=R
W=150
H=1
Group=VLC

========================================
; DOLPHIN
========================================
[mProcessDolphin]
Measure=Plugin
Plugin=Process
ProcessName=Dolphin.exe
IfCondition=mProcessDolphin=1
IfTrueAction=[!ActivateConfig "RM\ScreenSaver" "ScreenSaver.ini"] [!Redraw]
IfFalseAction=[!DeactivateConfig "RM\ScreenSaver" "ScreenSaver.ini"] [!Redraw]
DynamicVariables=1

========================================
; FOOBAR
========================================
;[mProcessFoobar]
;Measure=Plugin
;Plugin=Process
;ProcessName=foobar2000.exe
;IfCondition=mProcessFoobar=1
;IfTrueAction=[!HideMeterGroup Foobar] [!UpdateMeter * ] [!Redraw]
;IfFalseAction=[!ShowMeterGroup Foobar] [!UpdateMeter * ] [!Redraw]

========================================
; VLC
========================================
[mProcessVLC]
Measure=Plugin
Plugin=Process
ProcessName=VLCPortable.exe
IfCondition=mProcessVLC=1
IfTrueAction=[!HideMeterGroup VLC] [!UpdateMeter * ] [!Redraw]
IfFalseAction=[!ShowMeterGroup VLC] [!UpdateMeter * ] [!Redraw]

========================================
; CPU
========================================
[mCPU]
Measure=CPU
Processor=0

[CPULabel]
Meter=String
MeterStyle=sText | sHighlight
Text=CPU
LeftMouseUpAction=[!ToggleConfig "RM\Sidebar" "SideBar - Compact.ini"]
ToolTipText=Toggle Sidebar
X=12
Y=25

[CPUValue]
Meter=String
MeterStyle=sText
StringAlign=Right
MeasureName=mCPU
Text=%1%
InlineSetting=Size | 8
InlinePattern=%
X=59r
Y=r

[CPUBar]
Meter=Bar
MeterStyle=sBar
MeasureName=mCPU
X=12
W=60
H=1

========================================
; RAM
========================================
[mRAM]
Measure=PhysicalMemory
UpdateDivider=5

[RAMLabel]
Meter=String
MeterStyle=sText | sHighlight
LeftMouseUpAction=[!ToggleConfig "RM\ScreenSaver" "ScreenSaver.ini"]
ToolTipText=Toggle ScreenSaver
Text=RAM
X=280
Y=25

[RAMValue]
Meter=String
MeterStyle=sText
StringAlign=Right
MeasureName=mRAM
Text=%1%
InlineSetting=Size | 8
InlinePattern=%
Percentual=1
X=59r
Y=r

[RAMBar]
Meter=Bar
MeterStyle=sBar
MeasureName=mRAM
X=280
W=60
H=1

========================================
; SHUTDOWN
========================================
;[Shutdown]
;Meter=Button
;ButtonImage=#@#Launchers\ShutdownDynamic22.png
;MiddleMouseUpAction=shutdown.exe -s -t 00 -f
;ToolTipText="Shutdown"
;UpdateDivider=-1
;X=5R
;Y=14
;Hidden=1
;Group=Show

========================================
; TIME+DATE
========================================
[mOSVersion]
Measure=Plugin
Plugin=SysInfo
SysInfoType=OS_Version
Substitute="Windows":"Win"
UpdateDivider=#UDX#

[mOSbits]
Measure=Plugin
Plugin=SysInfo
SysInfoType=OS_Bits
UpdateDivider=#UDX#

[mScreenSize]
Measure=Plugin
Plugin=SysInfo
SysInfoType=Screen_Size
SysInfoData=1
UpdateDivider=#UDX#

[sTime]
StringAlign=Center
FontColor=0,255,255

[mClock]
Measure=Time
Format=%#I:%M

[Clock]
Meter=String
MeasureName=mClock
MeterStyle=sText | sTime
StringStyle=Normal
FontFace=Corbel
FontSize=30
Text=%1
Group=Clock
X=175
Y=-7
MeasureName2=mOSbits
ToolTipTitle="[mOSVersion] - x%2 / [mScreenSize]"
ToolTipIcon=Info
ToolTipText="L ~ Task Manager#CRLF#M ~ Device Manager#CRLF#R ~ Open Foobar"
LeftMouseUpAction="taskmgr.exe"
MiddleMouseUpAction="devmgmt.msc"
RightMouseUpAction=#f2k#

[mTimeDate]
Measure=Time
Format=%#I:%M   %a  %#d  %b

[TimeDate]
Meter=String
MeasureName=mTimeDate
MeterStyle=sText | sTime
FontSize=11
Text=%1
Group=Foobar
Hidden=1
X=r
Y=24

[mSec]
Measure=Time
Format=%S
MinValue=0
MaxValue=60

[Sec]
Meter=Bar
MeterStyle=sBar
MeasureName=mSec
BarColor=255,255,0,255
X=-74r
Y=17r

[sRoundBar]
LineLength=10
LineStart=8
LineColor=255,255,0,200
StartAngle=-1.570796325
RotationAngle=6.2831853
Antialias=1
Solid=1

[SecRound]
Meter=RoundLine
MeasureName=mSec
MeterStyle=sRoundBar
Group=VLC | Clock | Foobar
X=240
Y=21

[SecFooter]
Meter=Image
UpdateDivider=#UDX#
SolidColor=0,0,0,1
X=r
Y=r
W=25

========================================
; FOOBAR
========================================
[mPlayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=CAD
PlayerType=Title
DisableLeadingZero=1
IfMatch=^$
IfMatchAction=[!SetOptionGroup Foobar Hidden "1"] [!SetOptionGroup Clock Hidden "0"] [!UpdateMeterGroup *] [!UpdateMeter *] [!Redraw]
IfNotMatchAction=[!SetOptionGroup Foobar Hidden "0"] [!SetOptionGroup Clock Hidden "1"] [!UpdateMeterGroup *] [!UpdateMeter *] [!Redraw]

[mProcess]
Measure=Plugin
Plugin=Process
ProcessName=foobar2000.exe
DynamicVariables=1

;----------------------------------------------------------- CONTROLS
[mStateButton]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=STATE
Substitute="0":"#@#Player\Play.png","1":"#@#Player\Pause.png","2":"#@#Player\Play.png"

[Play]
Meter=Button
ButtonImage=[mStateButton]
ToolTipText="Play / Pause"
LeftMouseUpAction=[!CommandMeasure mPlayer "PlayPause"]
DynamicVariables=1
Group=Foobar
Hidden=1
X=40
Y=3

;----------------------------------------------------------- TRACK INFO
[mArtist]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Artist

[mAlbum]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Album

[mYear]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Year
Substitute="0":""

[mTrack]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Title
IfCondition=(mStateButton = 0)
IfTrueAction=[!SetOption "Track" Y ""] [!HideMeter Track] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOption "Track" Y "2"] [!ShowMeter Track] [!UpdateMeter *] [!Redraw]

[Track]
Meter=String
MeasureName=mTrack
MeterStyle=sText
StringAlign=Center
StringStyle=Bold
FontFace=Corbel
FontColor=128,255,0
FontSize=12
ToolTipTitle=[mTrack]
ToolTipIcon=Info
ToolTipText="[mArtist]#CRLF#[mAlbum]#CRLF#[mYear]"
LeftMouseUpAction=[!CommandMeasure mPlayer "PlayPause"]
Group=Foobar
Hidden=1
X=175
Y=2
ClipString=1
W=230

;----------------------------------------------------------- PROGRESS BAR
[mProgress]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Progress
UpdateDivider=#UD1#

[ProgressBar1]
Meter=Bar
MeasureName=mProgress
MeterStyle=sBar
BarColor=235,170,0,60
SolidColor=50,50,50,100
LeftMouseUpAction=[!CommandMeasure "mPlayer" "SetPosition $MouseX:%$"] [!UpdateMeasure mPlayer] [!UpdateMeasure mProgress] [!UpdateMeter *] [!Redraw]
MouseOverAction=[!SetOption #CURRENTSECTION# BarColor "235,170,0,255"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# BarColor "235,170,0,60"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]
Group=Foobar
Hidden=1
X=12
W=328
H=4

[ProgressBar2]
Meter=Bar
MeasureName=mProgress
MeterStyle=sBar
BarColor=235,170,0
Group=Foobar
Hidden=1
X=r
Y=1r
W=328
H=2

;------------------------------------------------------------ SONG TIME
[mPosition]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Position
RegExpSubstitute=1
Substitute="^0+:00":""
UpdateDivider=#UD1#

[mDuration]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Duration
UpdateDivider=#UD1#

[SongTime]
Meter=String
MeterStyle=sText | sHighlight
MeasureName=mPosition
Text=%1
ToolTipText="L ~ Show Foobar#CRLF#R ~ Close Foobar"
LeftMouseUpAction=#f2k#
RightMouseUpAction=[!CommandMeasure mPlayer "ClosePlayer"]
Group=Foobar
Hidden=1
X=12
Y=4

[SongTimeTotal]
Meter=String
MeterStyle=sText | sHighlight
MeasureName=mDuration
StringAlign=Right
Text=%1
ToolTipText="Next"
LeftMouseUpAction=[!CommandMeasure mPlayer "Next"]
Group=Foobar
Hidden=1
X=340
Y=r

;----------------------------------------------------------- COVER
[mCover]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=Cover
UpdateDivider=#UDX#

[Cover]
Meter=Image
MeasureName=mCover
Hidden=1
Group=Foobar
X=-10R
Y=2
W=40
H=40

========================================
; DRIVES
========================================
[DummyHeader]
Meter=Image
UpdateDivider=#UDX#
SolidColor=0,0,0,1
X=12
W=1
H=5

[sDriveLabel]
FontColor=150,150,150,150
Hidden=1
Percentual=1
ToolTipIcon=Info
ToolTipText="%1B ~ %2B#CRLF#L ~ Open#CRLF#M ~ Eject"
DynamicVariables=1
X=6R
Y=r

[sDriveTip]
ToolTipText="%1B ~ %2B"

========================================
; DISK - E:/
========================================
[sE]
X=r
Y=R

[mELabel]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mEFree]
Measure=FreeDiskSpace
Drive=E:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mETotal]
Measure=FreeDiskSpace
Drive=E:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD1#
Substitute=".0":""
;IfCondition=mETotal = 0
IfCondition=(mETotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-E" X "0R"] [!HideMeterGroup "Disk-E"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-E" X ""] [!ShowMeterGroup "Disk-E"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[ELabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight | sDriveTip | sE
MeasureName=mEFree
MeasureName2=mETotal
Text="E:/"
LeftMouseUpAction=["#CE#" "E:\"]
;MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER E""""]
;ToolTipTitle="E: [mELabel]"
Group=Disk-E

========================================
; DISK - F:/
========================================
[mFLabel]
Measure=FreeDiskSpace
Drive=F:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mFFree]
Measure=FreeDiskSpace
Drive=F:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mFTotal]
Measure=FreeDiskSpace
Drive=F:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD1#
Substitute=".0":""
;IfCondition=mFTotal = 0
IfCondition=(mFTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-F" X "0R"] [!HideMeterGroup "Disk-F"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-F" X ""] [!ShowMeterGroup "Disk-F"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[FLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight | sDriveTip
MeasureName=mFFree
MeasureName2=mFTotal
Text="F:/"
LeftMouseUpAction=["#CE#" "F:\"]
;MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER F""""]
;ToolTipTitle="F: [mFLabel]"
Group=Disk-F

========================================
; DISK - G:/
========================================
[mGLabel]
Measure=FreeDiskSpace
Drive=G:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mGFree]
Measure=FreeDiskSpace
Drive=G:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mGTotal]
Measure=FreeDiskSpace
Drive=G:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
IfCondition=(mGTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-G" X "0R"] [!HideMeterGroup "Disk-G"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-G" X ""] [!ShowMeterGroup "Disk-G"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[GLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight | sG
MeasureName=mGFree
MeasureName2=mGTotal
Text="G:/"
LeftMouseUpAction=["#CE#" "G:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER G""""]
ToolTipTitle="G: [mGLabel]"
Group=Disk-G

========================================
; DISK - H:/
========================================
[mHLabel]
Measure=FreeDiskSpace
Drive=H:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mHFree]
Measure=FreeDiskSpace
Drive=H:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mHTotal]
Measure=FreeDiskSpace
Drive=H:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
IfCondition=(mHTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-H" X "0R"] [!HideMeterGroup "Disk-H"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-H" X ""] [!ShowMeterGroup "Disk-H"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[HLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mHFree
MeasureName2=mHTotal
Text="H:/"
LeftMouseUpAction=["#CE#" "H:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER H""""]
ToolTipTitle="H: [mHLabel]"
Group=Disk-H

========================================
; DISK - I:/
========================================
[mILabel]
Measure=FreeDiskSpace
Drive=I:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mIFree]
Measure=FreeDiskSpace
Drive=I:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mITotal]
Measure=FreeDiskSpace
Drive=I:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
;IfCondition=mITotal = 0
IfCondition=(mITotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-I" X "0R"] [!HideMeterGroup "Disk-I"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-I" X ""] [!ShowMeterGroup "Disk-I"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[ILabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mIFree
MeasureName2=mITotal
Text="I:/"
LeftMouseUpAction=["#CE#" "I:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER I""""]
ToolTipTitle="I: [mILabel]"
Group=Disk-I

========================================
; DISK - J:/
========================================
[mJLabel]
Measure=FreeDiskSpace
Drive=J:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mJFree]
Measure=FreeDiskSpace
Drive=J:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mJTotal]
Measure=FreeDiskSpace
Drive=J:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
;IfCondition=mJTotal = 0
IfCondition=(mJTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-J" X "0R"] [!HideMeterGroup "Disk-J"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-J" X ""] [!ShowMeterGroup "Disk-J"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[JLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mJFree
MeasureName2=mJTotal
Text="J:/"
LeftMouseUpAction=["#CE#" "J:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER J""""]
ToolTipTitle="J: [mJLabel]"
Group=Disk-J

========================================
; DISK - K:/
========================================
[mKLabel]
Measure=FreeDiskSpace
Drive=K:
IgnoreRemovable=0
UpdateDivider=#UD2#
Label=1

[mKFree]
Measure=FreeDiskSpace
Drive=K:
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""

[mKTotal]
Measure=FreeDiskSpace
Drive=K:
Total=1
IgnoreRemovable=0
UpdateDivider=#UD2#
Substitute=".0":""
;IfCondition=mKTotal = 0
IfCondition=(mKTotal=0) || (mProcess=1)
IfTrueAction=[!SetOptionGroup "Disk-K" X "0R"] [!HideMeterGroup "Disk-K"] [!UpdateMeter *] [!Redraw]
IfFalseAction=[!SetOptionGroup "Disk-K" X ""] [!ShowMeterGroup "Disk-K"] [!UpdateMeter *] [!Redraw]
DynamicVariables=1

[KLabel]
Meter=String
MeterStyle=sText | sDriveLabel | sHighlight
MeasureName=mKFree
MeasureName2=mKTotal
Text="K:/"
LeftMouseUpAction=["#CE#" "K:\"]
MiddleMouseUpAction=["#@#\Addons\USBDiskEjector\USB_Disk_Eject.exe """/SHOWEJECT /REMOVELETTER K""""]
ToolTipTitle="K: [mKLabel]"
Group=Disk-K
This skin hasn't been changed since creation and completion, which is around two years or so now. No other issues have surfaced until this update. If this is something my end, I'll try a fresh install of Rainmeter to see if that helps.

Thank you for your help
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: NowPlaying

Post by eclectic-tech »

I changed the variable "f2k" to be the path to my foobar2000 installation ("C:\Program Files (x86)\foobar2000\foobar2000.exe"} and refreshed your skin... it did not crash Rainmeter. but it also did not open foobar2000.

I then looked at your [Clock] section and changed RightMouseUpAction=["#f2k#"] by adding brackets and quotes... then it opened foobar2000 on right-click.

I also changed the [SongTime] section also ... LeftMouseUpAction=["#f2k#"].

That got it working for me. Hope this helps.
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: NowPlaying

Post by sl23 »

Wow! Thank you so much for your help, it worked straight away.

I don't suppose you know why this needed changing? Might help to know for future reference.
:thumbup: :thumbup: :thumbup:
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: NowPlaying

Post by eclectic-tech »

Manual~Actions wrote:External Windows commands can be executed by specifying the path to the executable and any parameters. Enclose the command in square brackets [], and enclose any values with spaces in quotes.
So your variable could be stated as
f2k=["\SyMenu\ProgramFiles\SPSSuite\SyMenuSuite\foobar2000_sps\foobar2000.exe"] or you need to add the brackets and quotes to the mouse action as I did.

Manual Link
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: NowPlaying

Post by sl23 »

Thanks for your reply.

I understand that it states in the manual, but this has worked without brackets and quotes for years, so why not now? Has it been 'written out' of the Rainmeter code so the command now has to have brackets and quotes? Why the sudden change?

Would like to know if this has to be like this for all future skins or edits? I haven't seen any reference to the change, is it an old change that has finally become obsolete?

Well, at least my skins work again, much appreciated.

Thanks
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: NowPlaying

Post by jsmorley »

sl23 wrote:Thanks for your reply.

I understand that it states in the manual, but this has worked without brackets and quotes for years, so why not now? Has it been 'written out' of the Rainmeter code so the command now has to have brackets and quotes? Why the sudden change?

Would like to know if this has to be like this for all future skins or edits? I haven't seen any reference to the change, is it an old change that has finally become obsolete?

Well, at least my skins work again, much appreciated.

Thanks

Pretty much always been this way...
External Windows commands can be executed by specifying the path to the executable and any parameters. Enclose the command in square brackets [], and enclose any values with spaces in quotes.
Post Reply