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

Substitute Background & Text when nothing is playing

Get help with installing and using Rainmeter.
Post Reply
Nachtschade
Posts: 24
Joined: August 1st, 2017, 10:02 pm

Substitute Background & Text when nothing is playing

Post by Nachtschade »

Using the NowPlaying plugin I want to make the background image of the skin invisible when nothing is playing. I've learned how to substitute the tags with nothing but not how to remove the background. Can someone help me?

Additionally in the same vein; I have added a "I" in my skin between Position and Duration. Can I make that go away as well when nothing is playing?

thnx!
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Substitute Background & Text when nothing is playing

Post by balala »

I probably would add the following options to the measure which returns the title:

Code: Select all

IfMatch=^$
IfMatchAction=[!HideMeter "MeterBackground"][!HideMeter "MeterTitle"]
IfNotMatchAction=[!ShowMeter "MeterBackground"][!ShowMeter "MeterTitle"]
I hope you can figure out what the [MeterBackground] and [MeterTitle] meters want to be.
Nachtschade
Posts: 24
Joined: August 1st, 2017, 10:02 pm

Re: Substitute Background & Text when nothing is playing

Post by Nachtschade »

To which measure do I add this?

I'm going off an existing skin that I downloaded and changed up to suit my needs. This skin has a lot of different measures.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Substitute Background & Text when nothing is playing

Post by balala »

Nachtschade wrote:To which measure do I add this?

I'm going off an existing skin that I downloaded and changed up to suit my needs. This skin has a lot of different measures.
As I said, to the measure which returns the title. It's a NowPlayign plugin measure (it has to have the Measure=Plugin and Plugin=NowPlaying options).
If you don't know how to identify it, please post the whole code of your skin.
Nachtschade
Posts: 24
Joined: August 1st, 2017, 10:02 pm

Re: Substitute Background & Text when nothing is playing

Post by Nachtschade »

I actually figured it out.

I didn't read "to the measure which returns the title" for how I should read it. I actually did put it under the right measure but it didn't work. I figured that was because it should have gone somewhere else. However I just noticed that I used [!HideMeter "CoverBackground"] whereas the measure for the background is called "MCoverBackground". Adding the "M" has fixed it.

So, thank you very much. :thumbup:
SuperVegetto20
Posts: 1
Joined: August 3rd, 2017, 1:14 pm

Re: Substitute Background & Text when nothing is playing

Post by SuperVegetto20 »

:D :jawdrop
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Substitute Background & Text when nothing is playing

Post by balala »

Glad if you got it working.
Post Reply