Advertisement
Guest User

IncludesBackgroundBuilding.xml

a guest
May 7th, 2014
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <includes>
  3. <include name="CommonBackground">
  4. <control type="group">
  5. <animation effect="fade" time="600">WindowOpen</animation>
  6. <animation effect="fade" time="600">WindowClose</animation>
  7. <include condition="![Window.IsActive(videos) | Window.IsActive(videoplaylist)]">GlobalFanart</include>
  8. <include condition="Window.IsActive(home)">LiveCasesBackground</include>
  9. <include condition="Window.IsActive(videos) | Window.IsActive(videoplaylist)">VideoFanart</include>
  10. <include condition="Window.IsActive(musiclibrary) + !IsEmpty(Skin.String(MusicGenreFanartPath))">MusicGenreFanart</include>
  11. <include condition="Window.IsActive(script-NextAired-TVGuide.xml)">TVShowNextAiredBackground</include>
  12. <include condition="Window.IsActive(weather)">WeatherBackground</include>
  13. <include condition="![Window.IsActive(home) | Window.IsActive(startup)]">HomeBGinOtherWindows</include>
  14. <control type="visualisation">
  15. <include>FullscreenDimensions</include>
  16. <visible>Player.HasAudio + !Skin.HasSetting(Disable.ShowBackgroundVis) + ![Window.IsVisible(PVR) + [Control.IsVisible(11) | Control.IsVisible(12)]]</visible>
  17. <visible>!SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible>
  18. </control>
  19. <control type="image">
  20. <include>FullscreenDimensions</include>
  21. <texture>black.png</texture>
  22. <visible>Player.HasVideo + !Skin.HasSetting(Disable.ShowBackgroundVideo) + ![Window.IsVisible(PVR) + [Control.IsVisible(11) | Control.IsVisible(12)]]</visible>
  23. </control>
  24. <control type="videowindow">
  25. <include>FullscreenDimensions</include>
  26. <visible>Player.HasVideo + !Skin.HasSetting(Disable.ShowBackgroundVideo) + ![Window.IsVisible(PVR) + [Control.IsVisible(11) | Control.IsVisible(12)]]</visible>
  27. </control>
  28. </control>
  29.  
  30. <control type="group">
  31. <visible>![Window.IsActive(home) | Window.IsActive(startup)]</visible>
  32. <include>Window_OpenClose_Animation</include>
  33. <visible>!Control.IsVisible(59)</visible>
  34. <include>ViewAnimation</include>
  35. <animation effect="slide" end="0,80" time="720" tween="cubic" easing="inout" condition="![[Control.isVisible(52) + !Window.IsActive(systeminfo)] | Control.IsVisible(53) | Control.IsVisible(54) | Control.IsVisible(55) | Control.IsVisible(56) | Control.IsVisible(500) | Control.IsVisible(57) | Control.IsVisible(58)]">Conditional</animation>
  36. <control type="image">
  37. <posx>0</posx>
  38. <posy>-40</posy>
  39. <width>696</width>
  40. <height>914</height>
  41. <texture border="1">vignette.png</texture>
  42. <visible>![Control.IsVisible(59) | Control.IsVisible(56) | Control.IsVisible(57)]</visible>
  43. <animation effect="slide" tween="cubic" time="720" start="-696" end="0,0">VisibleChange</animation>
  44. </control>
  45. <control type="image">
  46. <left>696r</left>
  47. <posy>-40</posy>
  48. <width>696</width>
  49. <height>914</height>
  50. <texture flipx="true" border="1">vignette.png</texture>
  51. <animation effect="slide" tween="cubic" time="720" start="696" end="0,0">VisibleChange</animation>
  52. <visible>![Control.IsVisible(59) | Control.IsVisible(56) | Control.IsVisible(57)]</visible>
  53. </control>
  54. <control type="image">
  55. <posx>0</posx>
  56. <posy>400</posy>
  57. <width>1920</width>
  58. <height>680</height>
  59. <texture>floor.png</texture>
  60. </control>
  61. </control>
  62. <control type="image">
  63. <include>FullscreenDimensions</include>
  64. <texture border="1">logo_back.png</texture>
  65. <visible>Control.IsVisible(59)</visible>
  66. <include>ViewAnimation</include>
  67. </control>
  68. </include>
  69.  
  70. <include name="VideoGenreFanart">
  71. <control type="image" id="4980">
  72. <description>Normal Default Background Image</description>
  73. <include>FullscreenDimensions</include>
  74. <aspectratio>scale</aspectratio>
  75. <fadetime>FanartCrossfadeTime</fadetime>
  76. <texture background="true" fallback="special://skin/backgrounds/fallback_movies.jpg">$INFO[Skin.String(VideoGenreFanartPath)]$INFO[ListItem.Label,,.jpg]</texture>
  77. <visible>Container.Content(genres)</visible>
  78. </control>
  79. </include>
  80. <include name="MusicGenreFanart">
  81. <control type="image">
  82. <description>Normal Default Background Image</description>
  83. <include>FullscreenDimensions</include>
  84. <aspectratio>scale</aspectratio>
  85. <fadetime>FanartCrossfadeTime</fadetime>
  86. <texture background="true" fallback="special://skin/backgrounds/fallback_music.jpg">$INFO[Skin.String(MusicGenreFanartPath)]$INFO[ListItem.Label,,.jpg]</texture>
  87. <visible>Container.Content(genres)</visible>
  88. </control>
  89. </include>
  90.  
  91. <include name="VideoFanart">
  92. <control type="multiimage">
  93. <imagepath fallback="special://skin/backgrounds/default_bg.jpg" background="true">$VAR[VideoBackgroundImageVar]</imagepath>
  94. <visible>!Control.IsVisible(4980) + [!StringCompare(Control.GetLabel(4421),1) | !SubString(Control.GetLabel(9029),.jpg,right)]</visible>
  95. </control>
  96. <control type="multiimage" id="9029">
  97. <imagepath background="true">$VAR[VideoExtrafanartVar]</imagepath>
  98. <visible>StringCompare(Control.GetLabel(4421),1) + [Substring(Container.FolderPath,videodb://,left) | Substring(Container.FolderPath,special://profile/playlist,left)]</visible>
  99. </control>
  100. <include condition="!IsEmpty(Skin.String(VideoGenreFanartPath))">VideoGenreFanart</include>
  101. </include>
  102.  
  103. <include name="GlobalFanart">
  104. <control type="multiimage">
  105. <description>Normal Default Background Image</description>
  106. <include>FullscreenDimensions</include>
  107. <imagepath fallback="special://skin/backgrounds/default_bg.jpg" background="true">$VAR[GlobalBackgroundVar]</imagepath>
  108. </control>
  109. </include>
  110.  
  111. <include name="TVShowNextAiredBackground">
  112. <control type="group">
  113. <visible>!IsEmpty(Window(home).Property(TVGuide.BackgroundFanart))</visible>
  114. <control type="image">
  115. <posx>0</posx>
  116. <posy>0</posy>
  117. <width>1920</width>
  118. <height>1080</height>
  119. <aspectratio>scale</aspectratio>
  120. <texture background="true">$INFO[Container(200).ListItem.Property(Fanart)]</texture>
  121. <visible>Control.HasFocus(200)</visible>
  122. <fadetime>600</fadetime>
  123. <animation effect="fade" time="600">Visible</animation>
  124. <animation effect="fade" time="600">Hidden</animation>
  125. </control>
  126. <control type="image">
  127. <posx>0</posx>
  128. <posy>0</posy>
  129. <width>1920</width>
  130. <height>1080</height>
  131. <aspectratio>scale</aspectratio>
  132. <texture background="true">$INFO[Container(201).ListItem.Property(Fanart)]</texture>
  133. <visible>Control.HasFocus(201)</visible>
  134. <fadetime>600</fadetime>
  135. <animation effect="fade" time="600">Visible</animation>
  136. <animation effect="fade" time="600">Hidden</animation>
  137. </control>
  138. <control type="image">
  139. <posx>0</posx>
  140. <posy>0</posy>
  141. <width>1920</width>
  142. <height>1080</height>
  143. <aspectratio>scale</aspectratio>
  144. <texture background="true">$INFO[Container(202).ListItem.Property(Fanart)]</texture>
  145. <visible>Control.HasFocus(202)</visible>
  146. <fadetime>600</fadetime>
  147. <animation effect="fade" time="600">Visible</animation>
  148. <animation effect="fade" time="600">Hidden</animation>
  149. </control>
  150. <control type="image">
  151. <posx>0</posx>
  152. <posy>0</posy>
  153. <width>1920</width>
  154. <height>1080</height>
  155. <aspectratio>scale</aspectratio>
  156. <texture background="true">$INFO[Container(203).ListItem.Property(Fanart)]</texture>
  157. <visible>Control.HasFocus(203)</visible>
  158. <fadetime>600</fadetime>
  159. <animation effect="fade" time="600">Visible</animation>
  160. <animation effect="fade" time="600">Hidden</animation>
  161. </control>
  162. <control type="image">
  163. <posx>0</posx>
  164. <posy>0</posy>
  165. <width>1920</width>
  166. <height>1080</height>
  167. <aspectratio>scale</aspectratio>
  168. <texture background="true">$INFO[Container(204).ListItem.Property(Fanart)]</texture>
  169. <visible>Control.HasFocus(204)</visible>
  170. <fadetime>600</fadetime>
  171. <animation effect="fade" time="600">Visible</animation>
  172. <animation effect="fade" time="600">Hidden</animation>
  173. </control>
  174. <control type="image">
  175. <posx>0</posx>
  176. <posy>0</posy>
  177. <width>1920</width>
  178. <height>1080</height>
  179. <aspectratio>scale</aspectratio>
  180. <texture background="true">$INFO[Container(205).ListItem.Property(Fanart)]</texture>
  181. <visible>Control.HasFocus(205)</visible>
  182. <fadetime>600</fadetime>
  183. <animation effect="fade" time="600">Visible</animation>
  184. <animation effect="fade" time="600">Hidden</animation>
  185. </control>
  186. <control type="image">
  187. <posx>0</posx>
  188. <posy>0</posy>
  189. <width>1920</width>
  190. <height>1080</height>
  191. <aspectratio>scale</aspectratio>
  192. <texture background="true">$INFO[Container(206).ListItem.Property(Fanart)]</texture>
  193. <visible>Control.HasFocus(206)</visible>
  194. <fadetime>600</fadetime>
  195. <animation effect="fade" time="600">Visible</animation>
  196. <animation effect="fade" time="600">Hidden</animation>
  197. </control>
  198. </control>
  199. </include>
  200.  
  201. <include name="WeatherBackground">
  202. <control type="multiimage">
  203. <posx>0</posx>
  204. <posy>0</posy>
  205. <width>1920</width>
  206. <height>1080</height>
  207. <imagepath background="true">$INFO[Skin.String(WeatherFanartDir)]$INFO[Window(Weather).Property(Current.FanartCode)]</imagepath>
  208. <timeperimage>10000</timeperimage>
  209. <randomize>true</randomize>
  210. <fadetime>1000</fadetime>
  211. <include>VisibleFadeEffect</include>
  212. <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
  213. <animation effect="fade" time="200">WindowClose</animation>
  214. </control>
  215. </include>
  216.  
  217. <include name="HomeBGinOtherWindows">
  218. <control type="list" id="9033">
  219. <include>HiddenList</include>
  220. <content>
  221. <include condition="Window.IsActive(pictures)">PicturesMainMenu</include>
  222. <include condition="Window.IsActive(musiclibrary) | Window.IsActive(musicfiles) | Window.IsActive(musicplaylist)">MusicMainMenu</include>
  223. <include condition="Window.IsActive(PVR)">TVMainMenu</include>
  224. <include condition="Window.IsActive(programs)">ProgramsMainMenu</include>
  225. <include condition="Window.IsActive(SettingsCategory.xml) | Window.IsActive(systeminfo) | Window.IsActive(skinsettings) | Window.IsActive(settings) | Window.IsActive(addonbrowser)">SettingsMainMenu</include>
  226. <include condition="Window.IsActive(weather)">WeatherMainMenu</include>
  227. <include condition="Window.IsActive(videos) | Window.IsActive(videoplaylist)">MoviesMainMenu</include>
  228. <include condition="Window.IsActive(videos) | Window.IsActive(videoplaylist)">TVShowsMainMenu</include>
  229. <include condition="Window.IsActive(videos) | Window.IsActive(videoplaylist)">VideosMainMenu</include>
  230. </content>
  231. </control>
  232. </include>
  233. </includes>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement