Advertisement
WelshPaul

MusicVisualisation.xml

Sep 20th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.47 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <window>
  3. <allowoverlay>no</allowoverlay>
  4. <controls>
  5. <control type="visualisation" id="2">
  6. <description>visualisation</description>
  7. <posx>0</posx>
  8. <posy>0</posy>
  9. <width>1280</width>
  10. <height>720</height>
  11. <visible>Player.HasAudio + !Skin.HasSetting(Vis-Visualization) + ![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)]</visible>
  12. </control>
  13. <control type="multiimage">
  14. <posx>0</posx>
  15. <posy>0</posy>
  16. <width>1280</width>
  17. <height>720</height>
  18. <imagepath fallback="special://skin/backgrounds/background-music.jpg" background="true">$VAR[ArtistSlide]</imagepath>
  19. <aspectratio>keep</aspectratio>
  20. <timeperimage>5000</timeperimage>
  21. <fadetime>2000</fadetime>
  22. <randomize>true</randomize>
  23. <animation effect="fade" start="100" end="20" time="0" condition="![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)] + !Skin.HasSetting(Vis-Visualization)">Conditional</animation>
  24. <animation effect="fade" start="0" end="100" time="1000">Visible</animation>
  25. <animation effect="fade" start="100" end="0" time="1000">Hidden</animation>
  26. <include condition="Skin.HasSetting(Vis-Animation)">backgroundanimation2</include>
  27. <visible>Player.HasAudio + Skin.HasSetting(Vis-ArtistSlide)</visible>
  28. </control>
  29. <include condition="!Skin.HasSetting(SafeMode)">fanartslideshow-musicvisualisation</include>
  30. <control type="multiimage">
  31. <description>fallback texture if no fanart is available</description>
  32. <posx>0</posx>
  33. <posy>0</posy>
  34. <width>1280</width>
  35. <height>720</height>
  36. <timeperimage>5000</timeperimage>
  37. <randomize>true</randomize>
  38. <fadetime>2000</fadetime>
  39. <imagepath fallback="special://skin/backgrounds/background-music.jpg" background="true">$INFO[Skin.String(Custom_Back_Music_Folder)]</imagepath>
  40. <aspectratio>scale</aspectratio>
  41. <include condition="Skin.HasSetting(Vis-Animation)">backgroundanimation2</include>
  42. <animation effect="fade" start="100" end="20" time="0" condition="![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)] + !Skin.HasSetting(Vis-Visualization)">Conditional</animation>
  43. <visible>Player.HasAudio + [!Skin.HasSetting(Vis-Fanart) | [Skin.HasSetting(Vis-Slideshow) + IsEmpty(Control.GetLabel(6101))]] + IsEmpty(MusicPlayer.Property(Fanart_Image))</visible>
  44. </control>
  45. <control type="image">
  46. <posx>0</posx>
  47. <posy>0</posy>
  48. <width>1280</width>
  49. <height>720</height>
  50. <texture background="true">$INFO[MusicPlayer.Property(Fanart_Image)]</texture>
  51. <aspectratio>scale</aspectratio>
  52. <fadetime>FanartCrossfadeTime</fadetime>
  53. <include>VisibleFadeEffect</include>
  54. <include condition="Skin.HasSetting(Vis-Animation)">backgroundanimation2</include>
  55. <animation effect="fade" start="100" end="20" time="0" condition="![StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)] + !Skin.HasSetting(Vis-Visualization)">Conditional</animation>
  56. <visible>Player.HasAudio + [!Skin.HasSetting(Vis-Fanart) | [Skin.HasSetting(Vis-Slideshow) + IsEmpty(Control.GetLabel(6101))]]</visible>
  57. </control>
  58. <include condition="!Skin.HasSetting(SafeMode)">cdwall-musicvisualisation</include>
  59. <include condition="Skin.HasSetting(ArtistLogo) + !Skin.HasSetting(SafeMode)">logo-artists-visualisation</include>
  60. <control type="visualisation" id="2">
  61. <description>visualisation</description>
  62. <posx>0</posx>
  63. <posy>0</posy>
  64. <width>1280</width>
  65. <height>720</height>
  66. <visible>Player.HasAudio + !Skin.HasSetting(Vis-Visualization) + [StringCompare(Visualisation.Name,waveform) | StringCompare(Visualisation.Name,opengl spectrum) | StringCompare(Visualisation.Name,directx spectrum)]</visible>
  67. </control>
  68. <control type="group">
  69. <left>0</left>
  70. <top>460</top>
  71. <control type="label">
  72. <posx>0</posx>
  73. <posy>-80</posy>
  74. <width>1280</width>
  75. <height>20</height>
  76. <align>center</align>
  77. <font>Font-32b</font>
  78. <textcolor>FF245DB2</textcolor>
  79. <label>$INFO[MusicPlayer.title]</label>
  80. <scroll>true</scroll>
  81. <scrollout>false</scrollout>
  82. </control>
  83. <control type="group">
  84. <left>325</left>
  85. <visible>Player.HasAudio</visible>
  86. <animation effect="slide" start="0,0" end="140,0" time="800" delay="3000" tween="sine" easing="inout" condition="Player.HasAudio">Conditional</animation>
  87. <animation effect="slide" end="-140,0" time="800" tween="sine" easing="inout" condition="Skin.HasSetting(noviscdart)">Conditional</animation>
  88. <animation effect="fade" start="100" end="0,0" time="300" delay="500" condition="Skin.HasSetting(noviscdart)">Conditional</animation>
  89. <control type="image">
  90. <include>cdartspin</include>
  91. <left>0</left>
  92. <top>15</top>
  93. <width>240</width>
  94. <height>200</height>
  95. <texture diffuse="disc_mask.png">disc.png</texture>
  96. <aspectratio align="center" aligny="center">keep</aspectratio>
  97. </control>
  98. <control type="image">
  99. <include>cdartspin</include>
  100. <left>0</left>
  101. <top>15</top>
  102. <width>240</width>
  103. <height>200</height>
  104. <texture diffuse="disc_mask.png">$INFO[Player.FolderPath]cdart.png</texture>
  105. <aspectratio align="center" aligny="center">keep</aspectratio>
  106. </control>
  107. </control>
  108. <control type="image">
  109. <left>475</left>
  110. <top>15</top>
  111. <width>240</width>
  112. <height>200</height>
  113. <fadetime>200</fadetime>
  114. <texture fallback="disc.png">$INFO[MusicPlayer.Cover]</texture>
  115. <aspectratio align="left">keep</aspectratio>
  116. </control>
  117. <control type="label">
  118. <posx>520</posx>
  119. <posy>-25</posy>
  120. <width>120</width>
  121. <height>20</height>
  122. <align>left</align>
  123. <font>Font-32</font>
  124. <textcolor>FF245DB2</textcolor>
  125. <label>$INFO[MusicPlayer.Year]</label>
  126. <scroll>true</scroll>
  127. <scrollout>false</scrollout>
  128. </control>
  129. <control type="image">
  130. <description>Rating</description>
  131. <posx>640</posx>
  132. <posy>-20</posy>
  133. <width>120</width>
  134. <height>20</height>
  135. <align>left</align>
  136. <colordiffuse>blue</colordiffuse>
  137. <texture>$INFO[Player.StarRating]</texture>
  138. </control>
  139. <control type="label">
  140. <posx>35</posx>
  141. <posy>-25</posy>
  142. <width>425</width>
  143. <height>30</height>
  144. <align>left</align>
  145. <font>Font-32</font>
  146. <textcolor>FF245DB2</textcolor>
  147. <label>$INFO[MusicPlayer.Artist]</label>
  148. <scroll>true</scroll>
  149. <scrollout>false</scrollout>
  150. </control>
  151. <control type="textbox">
  152. <posx>35</posx>
  153. <posy>20</posy>
  154. <width>425</width>
  155. <height>200</height>
  156. <font>Font_18A</font>
  157. <textcolor>FFFFFAF0</textcolor>
  158. <label>$INFO[MusicPlayer.Lyrics]</label>
  159. <autoscroll delay="20000" time="6000" repeat="20000">!Skin.HasSetting(noallowscroll)</autoscroll>
  160. </control>
  161. <control type="label">
  162. <posx>810</posx>
  163. <posy>-25</posy>
  164. <width>435</width>
  165. <height>30</height>
  166. <align>left</align>
  167. <font>Font-32</font>
  168. <textcolor>FF245DB2</textcolor>
  169. <label>$INFO[MusicPlayer.Album]</label>
  170. <scroll>true</scroll>
  171. <scrollout>false</scrollout>
  172. </control>
  173. <control type="textbox">
  174. <posx>810</posx>
  175. <posy>20</posy>
  176. <width>435</width>
  177. <height>200</height>
  178. <font>Font_18A</font>
  179. <textcolor>FFFFFAF0</textcolor>
  180. <label>$INFO[MusicPlayer.Comment]</label>
  181. <autoscroll delay="20000" time="6000" repeat="20000">!Skin.HasSetting(noallowscroll)</autoscroll>
  182. </control>
  183. <control type="progress">
  184. <left>40</left>
  185. <top>220</top>
  186. <width>1200</width>
  187. <height>27</height>
  188. <info>Player.Progress</info>
  189. <animation effect="fade" end="80" condition="true">Conditional</animation>
  190. </control>
  191. <control type="label">
  192. <left>40</left>
  193. <top>221</top>
  194. <width>1200</width>
  195. <height>24</height>
  196. <align>center</align>
  197. <aligny>0</aligny>
  198. <textcolor>FFFFFAF0</textcolor>
  199. <font>Font_17</font>
  200. <label>$INFO[MusicPlayer.Time] / $INFO[MusicPlayer.Duration]</label>
  201. <shadowcolor>grey</shadowcolor>
  202. </control>
  203. </control>
  204. <include condition="Skin.HasSetting(DebugMode)">debuginfomusicplayer</include>
  205. </controls>
  206. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement