Page 1 of 1

Substitute Background & Text when nothing is playing

Posted: August 2nd, 2017, 3:49 pm
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!

Re: Substitute Background & Text when nothing is playing

Posted: August 2nd, 2017, 5:08 pm
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.

Re: Substitute Background & Text when nothing is playing

Posted: August 3rd, 2017, 11:16 am
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.

Re: Substitute Background & Text when nothing is playing

Posted: August 3rd, 2017, 11:45 am
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.

Re: Substitute Background & Text when nothing is playing

Posted: August 3rd, 2017, 12:03 pm
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:

Re: Substitute Background & Text when nothing is playing

Posted: August 3rd, 2017, 1:20 pm
by SuperVegetto20
:D :jawdrop

Re: Substitute Background & Text when nothing is playing

Posted: August 3rd, 2017, 2:25 pm
by balala
Glad if you got it working.