How to (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,648
    10,601
    Kyiv
    Home Country
    Ukraine Ukraine
    Wow, that did help. Big thanx.
    Better yet, add them to the references.xml file , PlayCDPicture style:
    XML:
      <style Name="PlayCDPicture">
            <type>image</type>
            <posX>156</posX>
            <posY>815</posY>
            <width>248</width>
            <height>248</height>
            <colordiffuse>FFE0E0E0</colordiffuse>
            <animation effect="slide" time="300" end="-70,0" reversible="true" condition="player.paused">Conditional</animation>
            <animation effect="rotate" delay="0" end="-360" time="4000" loop="true" reversible="false" condition="!player.paused">Conditional</animation>
            <animation effect="rotate" delay="0" end="-360" time="2000" loop="true" reversible="false" condition="player.forwarding2x">Conditional</animation>
            <animation effect="rotate" delay="0" end="-360" time="1000" loop="true" reversible="false" condition="player.forwarding4x">Conditional</animation>
            <animation effect="rotate" delay="0" end="-360" time="500" loop="true" reversible="false" condition="player.forwarding8x">Conditional</animation>
            <animation effect="rotate" delay="0" end="-360" time="250" loop="true" reversible="false" condition="player.forwarding16x">Conditional</animation>
            <animation effect="rotate" delay="0" end="-360" time="125" loop="true" reversible="false" condition="player.forwarding32x">Conditional</animation>
            <animation effect="rotate" delay="0" end="360" time="2000" loop="true" reversible="false" condition="player.rewinding2x">Conditional</animation>
            <animation effect="rotate" delay="0" end="360" time="1000" loop="true" reversible="false" condition="player.rewinding4x">Conditional</animation>
            <animation effect="rotate" delay="0" end="360" time="500" loop="true" reversible="false" condition="player.rewinding8x">Conditional</animation>
            <animation effect="rotate" delay="0" end="360" time="200" loop="true" reversible="false" condition="player.rewinding16x">Conditional</animation>
            <animation effect="rotate" delay="0" end="360" time="125" loop="true" reversible="false" condition="player.rewinding32x">Conditional</animation>
            <animation effect="fade" time="0">WindowOpen</animation>
            <animation effect="fade" time="40">WindowClose</animation>
      </style>
    and then we get here is a code:
    XML:
          <control>
            <description>DUMMY Visible</description>
            <type>label</type>
            <id>999</id>
            <posX>0</posX>
            <posY>0</posY>
            <width>1</width>
            <visible>![string.equals(#currentplaytime,0:00)|string.equals(#currentplaytime,0:01)|string.equals(#currentplaytime,0:02)|string.equals(#currentplaytime,0:03)|string.equals(#currentplaytime,0:04)|string.equals(#currentplaytime,0:05)|string.equals(#currentplaytime,0:06)|string.equals(#currentplaytime,0:07)|string.equals(#currentplaytime,0:08)|string.equals(#currentplaytime,0:09)|string.equals(#currentplaytime,0:10)|string.equals(#currentplaytime,0:11)|string.equals(#currentplaytime,0:12)|string.equals(#currentplaytime,0:13)|string.equals(#currentplaytime,0:14)|string.equals(#currentplaytime,0:15)]</visible>
          </control>
    
          <control Style="PlayCDPicture">
            <id>115</id>
            <texture mask="cd_mask.png">cd3.png</texture>
            <visible>![Control.HasThumb(116)|Control.HasThumb(117)|Control.HasThumb(118)|Control.HasThumb(119)]+Control.IsVisible(999)</visible>
          </control>
          <control Style="PlayCDPicture">
            <id>116</id>
            <texture mask="cd_mask.png">#Play.Current.Thumb</texture>
            <visible>![Control.HasThumb(117)|Control.HasThumb(118)|Control.HasThumb(119)]+Control.IsVisible(999)</visible>
          </control>
          <control Style="PlayCDPicture">
            <id>117</id>
            <texture mask="cd_mask.png">..\..\..\Thumbs\Music\Artists\#Play.Current.ArtistL.jpg</texture>
            <visible>![Control.HasThumb(118)|Control.HasThumb(119)]+Control.IsVisible(999)</visible>
          </control>
          <control Style="PlayCDPicture">
            <id>118</id>
            <texture mask="cd_mask.png">..\..\..\thumbs\Music\cdArt\#Play.Current.Artist-#Play.Current.Title.png</texture>
            <visible>!Control.HasThumb(119)+Control.IsVisible(999)</visible>
          </control>
          <control Style="PlayCDPicture">
            <id>119</id>
            <texture mask="cd_mask.png">..\..\..\thumbs\Music\cdArt\#Play.Current.Artist-#Play.Current.Album.png</texture>
            <visible>Control.IsVisible(999)</visible>
          </control>
     

    Users who are viewing this thread

    Top Bottom