Wiki Navigation
- Loading...
Purpose
Integrate a VUMeter display on Music Now Playing
Draw graphic with the different states of the VU. Name them VU1.png - VU15.png and store them in the Media\Animation\VU folder of your skin
NOTE: This is only working with BASS Player selected as your Music Player
Description of change
insert on the beginning of the file. (e.g. after the <allowoverlay>)
MyMusicPlayingNow.xml:
<vumeter>yes</vumeter>
This enables vumeter support. If your Playing Now screen, does NOT contain a VUMeter, set the parameter to "no", then we won't do unnecessary retrieval of the peak level.
Then insert your controls for the VUMeter. you need a control for the Left Level and Right Level:
<control>
<type>image</type>
<id>999</id>
<posX>90</posX>
<posY>21</posY>
<width>107</width>
<height>107</height>
<texture>#VUMeterL</texture>
<visible>Player.HasAudio + Player.playing</visible>
</control>
<control>
<type>image</type>
<id>998</id>
<posX>237</posX>
<posY>21</posY>
<width>107</width>
<height>107</height>
<texture>#VUMeterR</texture>
<visible>Player.HasAudio + Player.playing</visible>
</control>
#VUMeterL and #VUMeterR will be replaced with the name of the gfx corresponding to the Level retrieved.

This page has no comments.