help with MusicOverlay.xml MOD
#1
Hi, I have a problem that I can't understand. I have made a change to the now playing text and its not working the way I would like.

My code is:
Code:
<control type="label">
   <posx>186</posx>
   <posy>0</posy>
   <width>1034</width>
   <height>30</height>
   <font>Font_NowPlayingArtist</font>
   <label>$INFO[MusicPlayer.Artist]</label>
   <textcolor>NowPlayingArtist</textcolor>
   <visible>Window.IsActive(home)</visible>
</control>
<control type="label">
   <posx>186</posx>
   <posy>28</posy>
   <width>1034</width>
   <height>30</height>
   <font>Font_NowPlayingAlbum</font>
   <label>$INFO[MusicPlayer.Album]</label>
   <textcolor>NowPlayingAlbum</textcolor>
   <visible>Window.IsActive(home)</visible>
</control>
<control type="label">
   <posx>186</posx>
   <posy>114</posy>
   <height>30</height>
   <width min="10" max="1034">auto</width>
   <font>Font_NowPlaying</font>
   <label>$LOCALIZE[13350]</label>
   <textcolor>NowPlayingAlbum</textcolor>
</control>            
<control type="fadelabel">
   <posx>186</posx>
   <posy>132</posy>
   <width>1034</width>
   <scrollout>false</scrollout>
   <pauseatend>1800</pauseatend>
   <scrollspeed>40</scrollspeed>
   <scroll>true</scroll>
   <font>Font_NowPlayingTrack</font>
   <label>$INFO[MusicPlayer.Title]</label>
   <textcolor>NowPlayingTrack</textcolor>
   <animation effect="slide" end="0,26" condition="IsEmpty(MusicPlayer.Artist) + IsEmpty(MusicPlayer.Album)">Conditional</animation>
   <animation effect="slide" start="0,0" end="54,0" time="600" tween="cubic" easing="out" delay="400" condition="Skin.HasSetting(CDArt) + !StringCompare(MusicPlayer.Cover,DefaultAlbumCover.png)">Conditional</animation>
   <visible>Window.IsActive(home)</visible>
</control>
<control type="fadelabel">
   <posx>186</posx>
   <posy>132</posy>
   <width>1034</width>
   <scrollout>false</scrollout>
   <pauseatend>1800</pauseatend>
   <scrollspeed>40</scrollspeed>
   <scroll>true</scroll>
   <font>Font_NowPlayingTrack</font>
   <label>$INFO[MusicPlayer.Artist] - $INFO[MusicPlayer.Title]</label>
   <textcolor>NowPlayingTrack</textcolor>
   <animation effect="slide" end="0,26" condition="IsEmpty(MusicPlayer.Artist) + IsEmpty(MusicPlayer.Album)">Conditional</animation>
   <animation effect="slide" start="0,0" end="54,0" time="600" tween="cubic" easing="out" delay="400" condition="Skin.HasSetting(CDArt) + !StringCompare(MusicPlayer.Cover,DefaultAlbumCover.png)">Conditional</animation>
   <visible>!Window.IsActive(home)</visible>
</control>

I would like some text to be seen just when on the homescreen and an other when somewhere else. The text changes when in the music library so that works. But when in the movie or tvshows library all the text stays and gets pushed to the bottom of the screen. Can someone help me with this?
Reply
#2
Found the problem. Hitcher had made a function to show in videolibrary aswell.
Reply

Logout Mark Read Team Forum Stats Members Help
help with MusicOverlay.xml MOD0