Advertisement
Guest User

DialogVideoInfo.xml

a guest
Sep 29th, 2014
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.56 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <window>
  3.     <!-- movieinformation -->
  4.     <defaultcontrol always="true">8</defaultcontrol>
  5.     <onload condition="StringCompare(Control.GetLabel(5),$LOCALIZE[207])">SendClick(50)</onload>
  6.     <onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">XBMC.RunScript(script.tvtunes,backend=True)</onload>
  7.     <onunload condition="StringCompare(Control.GetLabel(5),$LOCALIZE[207])">SendClick(50)</onunload>
  8.     <include>DialogZoomAnimation</include>
  9.  
  10.     <controls>
  11.  
  12.         <!-- Background -->
  13.         <include>DialogBackgroundImage</include>
  14.  
  15.         <!-- Heading -->
  16.         <control type="label">
  17.             <left>150</left>
  18.             <top>96</top>
  19.             <width>1620</width>
  20.             <height>72</height>
  21.             <font>Font72</font>
  22.             <label>$VAR[VideoInfoLabel]</label>
  23.         </control>
  24.  
  25.         <!-- Poster image -->
  26.         <control type="group">
  27.             <visible>!StringCompare(Control.GetLabel(5),$LOCALIZE[207]) + !SubString(ListItem.Icon,Default)</visible>
  28.             <control type="image">
  29.                 <left>150</left>
  30.                 <top>225</top>
  31.                 <width>405</width>
  32.                 <height>600</height>
  33.                 <fadetime>100</fadetime>
  34.                 <texture>$VAR[VideoInfoImage]</texture>
  35.                 <aspectratio aligny="center">scale</aspectratio>
  36.             </control>
  37.             <control type="image">
  38.                 <left>150</left>
  39.                 <top>225</top>
  40.                 <width>405</width>
  41.                 <height>600</height>
  42.                 <texture>views/OverlayPosterFO.png</texture>
  43.                 <visible>Skin.HasSetting(Overlays)</visible>
  44.             </control>
  45.         </control>
  46.  
  47.         <!-- Actor image -->
  48.         <control type="group">
  49.             <visible>StringCompare(Control.GetLabel(5),$LOCALIZE[207])</visible>
  50.             <control type="image">
  51.                 <left>150</left>
  52.                 <top>225</top>
  53.                 <width>405</width>
  54.                 <height>666</height>
  55.                 <texture>$INFO[Container(50).ListItem.Icon]</texture>
  56.                 <aspectratio aligny="center">keep</aspectratio>
  57.                 <bordertexture border="1,1,1,69">views/DropShadow.png</bordertexture>
  58.                 <bordersize>0,0,0,66</bordersize>
  59.                 <visible>!SubString(Container(50).ListItem.Icon,Default)</visible>
  60.             </control>
  61.             <control type="image">
  62.                 <left>150</left>
  63.                 <top>225</top>
  64.                 <width>405</width>
  65.                 <height>600</height>
  66.                 <texture colordiffuse="00ffffff">$INFO[Container(50).ListItem.Icon]</texture>
  67.                 <aspectratio aligny="center">keep</aspectratio>
  68.                 <bordertexture border="21,21,21,150">views/OverlayEffect.png</bordertexture>
  69.                 <visible>!SubString(Container(50).ListItem.Icon,Default) + Skin.HasSetting(Overlays)</visible>
  70.             </control>
  71.             <control type="image">
  72.                 <left>120</left>
  73.                 <top>225</top>
  74.                 <width>405</width>
  75.                 <height>600</height>
  76.                 <texture>$INFO[Container(50).ListItem.Icon]</texture>
  77.                 <colordiffuse>OverlayColorFO</colordiffuse>
  78.                 <aspectratio aligny="center">keep</aspectratio>
  79.                 <visible>SubString(Container(50).ListItem.Icon,Default)</visible>
  80.             </control>
  81.         </control>
  82.  
  83.         <!-- Info -->
  84.         <control type="group">
  85.             <left>600</left>
  86.             <top>235</top>
  87.             <visible>!StringCompare(Control.GetLabel(5),$LOCALIZE[207])</visible>
  88.  
  89.             <!-- Details -->
  90.             <control type="grouplist">
  91.                 <width>1170</width>
  92.                 <height>336</height>
  93.                 <itemgap>12</itemgap>
  94.                 <orientation>vertical</orientation>
  95.                 <usecontrolcoords>true</usecontrolcoords>
  96.  
  97.                 <!-- Artist -->
  98.                 <control type="group">
  99.                     <height>36</height>
  100.                     <width>1170</width>
  101.                     <visible>!IsEmpty(ListItem.Artist)</visible>
  102.                     <control type="label">
  103.                         <width>200</width>
  104.                         <height>36</height>
  105.                         <align>right</align>
  106.                         <font>Font36</font>
  107.                         <label>557</label>
  108.                         <textcolor>DialogColor2</textcolor>
  109.                     </control>
  110.                     <control type="label">
  111.                         <left>220</left>
  112.                         <width>950</width>
  113.                         <height>36</height>
  114.                         <font>Font36</font>
  115.                         <label>$INFO[ListItem.Artist]</label>
  116.                         <textcolor>DialogColor1</textcolor>
  117.                     </control>
  118.                 </control>
  119.  
  120.                 <!-- Album -->
  121.                 <control type="group">
  122.                     <height>36</height>
  123.                     <width>1170</width>
  124.                     <visible>!IsEmpty(ListItem.Album)</visible>
  125.                     <control type="label">
  126.                         <width>200</width>
  127.                         <height>36</height>
  128.                         <align>right</align>
  129.                         <font>Font36</font>
  130.                         <label>558</label>
  131.                         <textcolor>DialogColor2</textcolor>
  132.                     </control>
  133.                     <control type="label">
  134.                         <left>220</left>
  135.                         <width>950</width>
  136.                         <height>36</height>
  137.                         <font>Font36</font>
  138.                         <label>$INFO[ListItem.Album]</label>
  139.                         <textcolor>DialogColor1</textcolor>
  140.                     </control>
  141.                 </control>
  142.  
  143.                 <!-- Genre -->
  144.                 <control type="group">
  145.                     <height>36</height>
  146.                     <width>1170</width>
  147.                     <visible>!IsEmpty(ListItem.Genre)</visible>
  148.                     <control type="label">
  149.                         <width>200</width>
  150.                         <height>36</height>
  151.                         <align>right</align>
  152.                         <font>Font36</font>
  153.                         <label>515</label>
  154.                         <textcolor>DialogColor2</textcolor>
  155.                     </control>
  156.                     <control type="label">
  157.                         <left>220</left>
  158.                         <width>950</width>
  159.                         <height>36</height>
  160.                         <font>Font36</font>
  161.                         <label>$INFO[ListItem.Genre]</label>
  162.                         <textcolor>DialogColor1</textcolor>
  163.                     </control>
  164.                 </control>
  165.  
  166.                 <!-- Director -->
  167.                 <control type="group">
  168.                     <height>36</height>
  169.                     <width>1170</width>
  170.                     <visible>!IsEmpty(ListItem.Director)</visible>
  171.                     <control type="label">
  172.                         <width>200</width>
  173.                         <height>36</height>
  174.                         <align>right</align>
  175.                         <font>Font36</font>
  176.                         <label>20339</label>
  177.                         <textcolor>DialogColor2</textcolor>
  178.                     </control>
  179.                     <control type="label">
  180.                         <left>220</left>
  181.                         <width>950</width>
  182.                         <height>36</height>
  183.                         <font>Font36</font>
  184.                         <label>$INFO[ListItem.Director]</label>
  185.                         <textcolor>DialogColor1</textcolor>
  186.                     </control>
  187.                 </control>
  188.  
  189.                 <!-- Writer -->
  190.                 <control type="group">
  191.                     <height>36</height>
  192.                     <width>1170</width>
  193.                     <visible>!IsEmpty(ListItem.Writer)</visible>
  194.                     <control type="label">
  195.                         <width>200</width>
  196.                         <height>36</height>
  197.                         <align>right</align>
  198.                         <font>Font36</font>
  199.                         <label>20417</label>
  200.                         <textcolor>DialogColor2</textcolor>
  201.                     </control>
  202.                     <control type="label">
  203.                         <left>220</left>
  204.                         <width>950</width>
  205.                         <height>36</height>
  206.                         <font>Font36</font>
  207.                         <label>$INFO[ListItem.Writer]</label>
  208.                         <textcolor>DialogColor1</textcolor>
  209.                     </control>
  210.                 </control>
  211.  
  212.                 <!-- Duration -->
  213.                 <control type="group">
  214.                     <height>36</height>
  215.                     <width>1170</width>
  216.                     <visible>!IsEmpty(ListItem.Duration)</visible>
  217.                     <control type="label">
  218.                         <width>200</width>
  219.                         <height>36</height>
  220.                         <align>right</align>
  221.                         <font>Font36</font>
  222.                         <label>180</label>
  223.                         <textcolor>DialogColor2</textcolor>
  224.                     </control>
  225.                     <control type="label">
  226.                         <left>220</left>
  227.                         <width>950</width>
  228.                         <height>36</height>
  229.                         <font>Font36</font>
  230.                         <label>$INFO[ListItem.Duration,, mins]</label>
  231.                         <textcolor>DialogColor1</textcolor>
  232.                     </control>
  233.                 </control>
  234.  
  235.                 <!-- Rating -->
  236.                 <control type="group">
  237.                     <height>36</height>
  238.                     <width>1170</width>
  239.                     <visible>!IsEmpty(ListItem.RatingAndVotes)</visible>
  240.                     <control type="label">
  241.                         <width>200</width>
  242.                         <height>36</height>
  243.                         <align>right</align>
  244.                         <font>Font36</font>
  245.                         <label>31017</label>
  246.                         <textcolor>DialogColor2</textcolor>
  247.                     </control>
  248.                     <control type="label">
  249.                         <left>220</left>
  250.                         <width>950</width>
  251.                         <height>36</height>
  252.                         <font>Font36</font>
  253.                         <label>$INFO[ListItem.RatingAndVotes]</label>
  254.                         <textcolor>DialogColor1</textcolor>
  255.                     </control>
  256.                 </control>
  257.  
  258.                 <!-- Mpaa Rating -->
  259.                 <control type="group">
  260.                     <height>36</height>
  261.                     <width>1170</width>
  262.                     <visible>!IsEmpty(ListItem.Mpaa)</visible>
  263.                     <control type="label">
  264.                         <width>200</width>
  265.                         <height>36</height>
  266.                         <align>right</align>
  267.                         <font>Font36</font>
  268.                         <label>563</label>
  269.                         <textcolor>DialogColor2</textcolor>
  270.                     </control>
  271.                     <control type="label">
  272.                         <left>220</left>
  273.                         <width>950</width>
  274.                         <height>36</height>
  275.                         <font>Font36</font>
  276.                         <label>$INFO[ListItem.Mpaa]</label>
  277.                         <textcolor>DialogColor1</textcolor>
  278.                     </control>
  279.                 </control>
  280.  
  281.                 <!-- Resolution -->
  282.                 <control type="group">
  283.                     <height>36</height>
  284.                     <width>1170</width>
  285.                     <visible>!IsEmpty(ListItem.VideoResolution)</visible>
  286.                     <control type="label">
  287.                         <width>200</width>
  288.                         <height>36</height>
  289.                         <align>right</align>
  290.                         <font>Font36</font>
  291.                         <label>169</label>
  292.                         <textcolor>DialogColor2</textcolor>
  293.                     </control>
  294.                     <control type="label">
  295.                         <left>220</left>
  296.                         <width>950</width>
  297.                         <height>36</height>
  298.                         <font>Font36</font>
  299.                         <label>$INFO[ListItem.VideoResolution]</label>
  300.                         <textcolor>DialogColor1</textcolor>
  301.                     </control>
  302.                 </control>
  303.  
  304.             </control>
  305.  
  306.             <!-- Plot -->
  307.             <control type="textbox">
  308.                 <top>370</top>
  309.                 <width>1170</width>
  310.                 <height>210</height>
  311.                 <label>$VAR[Plot]</label>
  312.                 <textcolor>DialogColor2</textcolor>
  313.                 <autoscroll delay="10000" time="2000" repeat="12000">True</autoscroll>
  314.             </control>
  315.  
  316.         </control>
  317.  
  318.         <!-- Cast -->
  319.         <control type="list" id="50">
  320.             <left>600</left>
  321.             <top>235</top>
  322.             <width>1170</width>
  323.             <height>580</height>
  324.             <onup>noop</onup>
  325.             <ondown>9000</ondown>
  326.             <onleft>9000</onleft>
  327.             <onright>9000</onright>
  328.             <orientation>vertical</orientation>
  329.             <viewtype label="">list</viewtype>
  330.             <scrolltime tween="sine" easing="out">240</scrolltime>
  331.             <visible allowhiddenfocus="true">StringCompare(Control.GetLabel(5),$LOCALIZE[207])</visible>
  332.  
  333.             <itemlayout width="1170" height="58">
  334.                 <control type="label">
  335.                     <width>1170</width>
  336.                     <height>58</height>
  337.                     <font>Font36</font>
  338.                     <textcolor>DialogColor2</textcolor>
  339.                     <label>$INFO[ListItem.Label]</label>
  340.                 </control>
  341.             </itemlayout>
  342.  
  343.             <focusedlayout width="1170" height="58">
  344.                 <control type="label">
  345.                     <width>1170</width>
  346.                     <height>58</height>
  347.                     <font>Font36</font>
  348.                     <textcolor>DialogColor1</textcolor>
  349.                     <label>$INFO[ListItem.Label]</label>
  350.                     <animation effect="fade" start="100" end="75" time="0" condition="!Control.HasFocus(50)">Conditional</animation>
  351.                 </control>
  352.             </focusedlayout>
  353.  
  354.         </control>
  355.  
  356.         <!-- Button grouplist -->
  357.         <control type="grouplist" id="9000">
  358.             <left>150</left>
  359.             <top>912</top>
  360.             <width>1620</width>
  361.             <height>66</height>
  362.             <itemgap>0</itemgap>
  363.             <onleft>noop</onleft>
  364.             <onright>noop</onright>
  365.             <onup condition="StringCompare(Control.GetLabel(5),$LOCALIZE[207])">50</onup>
  366.             <ondown>noop</ondown>
  367.             <orientation>horizontal</orientation>
  368.  
  369.             <!-- Play/Browse Button -->
  370.             <control type="togglebutton" id="8">
  371.                 <width>270</width>
  372.                 <label>208</label>
  373.                 <altlabel>1024</altlabel>
  374.                 <usealttexture>Container.Content(TVShows)</usealttexture>
  375.             </control>
  376.             <!-- Cast Button -->
  377.             <control type="button" id="5">
  378.                 <width>270</width>
  379.                 <label>206</label>
  380.                 <onclick condition="StringCompare(Control.GetLabel(5),$LOCALIZE[207])">SetFocus(50)</onclick>
  381.             </control>
  382.             <!-- Refresh Button -->
  383.             <control type="button" id="6">
  384.                 <width>270</width>
  385.                 <label>184</label>
  386.             </control>
  387.             <!-- Get Thumb Button -->
  388.             <control type="button" id="10">
  389.                 <width>270</width>
  390.                 <label>13511</label>
  391.             </control>
  392.             <!-- Artwork Downloader Button -->
  393.             <control type="button" id="20">
  394.                 <width>270</width>
  395.                 <label>31043</label>
  396.                 <onclick condition="Container.Content(tvshows)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=tvshow, dbid=$INFO[ListItem.DBID])</onclick>
  397.                 <onclick condition="Container.Content(movies)">XBMC.RunScript(script.artwork.downloader, mode=gui, mediatype=movie, dbid=$INFO[ListItem.DBID])</onclick>
  398.                 <visible>System.HasAddon(script.artwork.downloader) + [Container.Content(movies) | Container.Content(tvshows)]</visible>
  399.             </control>
  400.             <!-- Trailer Button -->
  401.             <control type="button" id="11">
  402.                 <width>270</width>
  403.                 <label>20410</label>
  404.                 <visible>!IsEmpty(ListItem.Trailer)</visible>
  405.             </control>
  406.             <!-- TV Tunes Button -->
  407.             <control type="button" id="100">
  408.                 <width>270</width>
  409.                 <label>TV Tunes</label>
  410.                 <label>31127</label>
  411.                 <onclick>XBMC.RunScript(script.tvtunes,mode=solo&amp;tvpath=$INFO[ListItem.FilenameAndPath]&amp;tvname=$INFO[ListItem.TVShowTitle])</onclick>
  412.                 <visible>Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes) + IsEmpty(Window(movieinformation).Property("TvTunes_HideVideoInfoButton")) + [Container.Content(TVShows)</visible>
  413.             </control>
  414.  
  415.         </control>
  416.  
  417.     </controls>
  418.  
  419. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement