It is currently July 27th, 2024, 8:03 am

How do i hide a skin when music is not playing

Get help with creating, editing & fixing problems with skins
RainOnMeter
Posts: 4
Joined: December 26th, 2023, 8:14 am

Re: How do i hide a skin when music is not playing

Post by RainOnMeter »

xenium wrote: December 26th, 2023, 10:57 am Add the measure [MeasureStatus] like this:

Code: Select all

;============Measures================

[MeasureStatus]
Measure=NowPlaying
PlayerName=#Player#
PlayerType=STATUS
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideFade]
IfFalseAction=[!ShowFade]

[MeasurePlayer]
...
...

Then refresh the skin

Thanks a lot man!! It works..
RainOnMeter
Posts: 4
Joined: December 26th, 2023, 8:14 am

Re: How do i hide a skin when music is not playing

Post by RainOnMeter »

Brother this worked until recently. Now the skin just hides away when playing.
I just got a new laptop and wanted to install the same skin. When i edited the code for the player for some reason it hides away.
User avatar
xenium
Posts: 879
Joined: January 4th, 2018, 9:52 pm

Re: How do i hide a skin when music is not playing

Post by xenium »

RainOnMeter wrote: May 22nd, 2024, 5:34 am Brother this worked until recently. Now the skin just hides away when playing.
I just got a new laptop and wanted to install the same skin. When i edited the code for the player for some reason it hides away.
This happens because the NowPlaying measure no longer supports Spotify.
Replace iin skin [MeasureStatus] with the following measure:

Code: Select all

[MeasureProcess]
Measure=Plugin
Plugin=Process
ProcessName=Spotify.exe
; Value will be '1' when the process is running, '-1' when it is not running
IfCondition=(MeasureProcess=-1)
IfTrueAction=[!HideFade]
IfFalseAction=[!ShowFade]
Then refresh the skin
RainOnMeter
Posts: 4
Joined: December 26th, 2023, 8:14 am

Re: How do i hide a skin when music is not playing

Post by RainOnMeter »

It worked. Thanks a lot.
I guess, I should go learn these languages too.