It is currently April 19th, 2024, 1:42 am

Including Meters

Get help with creating, editing & fixing problems with skins
yexafari
Posts: 4
Joined: February 1st, 2019, 6:05 pm

Including Meters

Post by yexafari »

Whenever I try including meters, it doesn't seem to include it? I've put the meters in the parent and it works. But then when I take it out, it doesn't. In the parent skin there is already a dummy skin. Thank you.
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Including Meters

Post by balala »

yexafari wrote: February 1st, 2019, 6:09 pm Whenever I try including meters, it doesn't seem to include it? I've put the meters in the parent and it works. But then when I take it out, it doesn't. In the parent skin there is already a dummy skin. Thank you.
Not sure I understand you. What the parent skin is? And how did you include those meters into your skin?
An example would be much useful.
yexafari
Posts: 4
Joined: February 1st, 2019, 6:05 pm

Re: Including Meters

Post by yexafari »

Sorry I realized I wasn't clear :D
This is the parent skin

Code: Select all

[Rainmeter]
Update=500

[DummyMeter]
 Meter=String
[DummyMeasure]
 Measure=Calc

[Variables]
 @Include=#@#Include\music.inc

[SpotifyTitle]
 Measure=Plugin
 Plugin=WebNowPlaying.dll
 PlayerName=WebNowPlaying
 PlayerType=Title
 Substitute="":"N/A"

[SpotifyArtist]
 Measure=Plugin
 Plugin=WebNowPlaying.dll
 PlayerName=WebNowPlaying
 PlayerType=Artist
 Substitute="":"N/A"
Then the include file

Code: Select all

[MusicTrackTitle]
 Meter=String
 MeasureName=WNPArtist
 MeasureName2=WNPTitle
 Text=%1 - %2
 StringAlign=LeftCenter
 FontColor=FFFFFF
 FontFace=Futura Bk BT
 FontSize=20
 x=24
 y=32
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Including Meters

Post by balala »

What the "doesn't seem to include it" means? How do you know it isn't included? Because there is a question and a mistake in the posted pieces of code.
  • The question: is the file containing the [MusicTrackTitle] meter the @Resources\Include\music.inc file? Make sure it is.
  • The mistake: the two NowPlaying measures, contained in the parent skin, are named [SpotifyTitle] and [SpotifyArtist] respectively. But in the [MusicTrackTitle] meter you're refering to the [WNPArtist] and [WNPTitle] measures, which are not posted at all. Shouldn't those options be related to [SpotifyTitle] and [SpotifyArtist] (MeasureName=SpotifyTitle and MeasureName2=SpotifyArtist)?
ligewucexa
Posts: 1
Joined: February 1st, 2019, 6:34 pm

Re: Including Meters

Post by ligewucexa »

Ok I've changed it and nothing appears

Code: Select all

[Rainmeter]
Update=500

[DummyMeter]
 Meter=String
[DummyMeasure]
 Measure=Calc

[Variables]
 @Include=#@#Include\music.inc

[WNPTitle]
 Measure=Plugin
 Plugin=WebNowPlaying.dll
 PlayerName=WebNowPlaying
 PlayerType=Title
 Substitute="":"N/A"

[WNPArtist]
 Measure=Plugin
 Plugin=WebNowPlaying.dll
 PlayerName=WebNowPlaying
 PlayerType=Artist
 Substitute="":"N/A"

Code: Select all

[MusicTrackTitle]
 Meter=String
 MeasureName=WNPArtist
 MeasureName2=WNPTitle
 Text=%1 - %2
 StringAlign=Left
 FontColor=FFFFFF
 FontFace=Futura Bk BT
 FontSize=100
 x=0
 y=0
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Including Meters

Post by balala »

ligewucexa wrote: February 1st, 2019, 6:42 pm Ok I've changed it and nothing appears
Ok, please pack the whole config you have the skin within and upload it here, to can check.
yexafari
Posts: 4
Joined: February 1st, 2019, 6:05 pm

Re: Including Meters

Post by yexafari »

yexafari
Posts: 4
Joined: February 1st, 2019, 6:05 pm

Re: Including Meters

Post by yexafari »

Never mind I restarted my computer and it works for some reason, thanks for your help :D :D
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Including Meters

Post by balala »

yexafari wrote: February 1st, 2019, 6:57 pm Never mind I restarted my computer and it works for some reason, thanks for your help :D :D
I'm glad in this case.