Advertisement
Guest User

MyVideoNav.xml

a guest
Sep 29th, 2014
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.87 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <window>
  3.     <onload condition="Skin.HasSetting(ActivateTvTunes) + System.HasAddon(script.tvtunes)">XBMC.RunScript(script.tvtunes,backend=True)</onload>
  4.     <!-- videolibrary -->
  5.     <backgroundcolor>0x00000000</backgroundcolor>
  6.     <defaultcontrol always="true">50</defaultcontrol>
  7.     <views>52,53,51,50</views>
  8.  
  9.     <controls>
  10.  
  11.         <!-- Background -->
  12.         <include>WindowBackgroundImage</include>
  13.  
  14.         <!-- Fanart -->
  15.         <include>Fanart</include>
  16.  
  17.         <!-- Main group -->
  18.         <control type="group">
  19.             <include>WindowFadeAnimation</include>
  20.  
  21.             <!-- Views -->
  22.             <include>Viewtype50</include>
  23.             <include>Viewtype51</include>
  24.             <include>Viewtype52</include>
  25.             <include>Viewtype53</include>
  26.  
  27.             <!-- Scrollbar (list) -->
  28.             <control type="scrollbar" id="60">
  29.                 <left>690</left>
  30.                 <centertop>50%</centertop>
  31.                 <width>20</width>
  32.                 <height>720</height>
  33.                 <onleft condition="!Skin.HasSetting(KioskMode)">3001</onleft>
  34.                 <onright>50</onright>
  35.                 <showonepage>false</showonepage>
  36.                 <orientation>vertical</orientation>
  37.                 <colordiffuse>OverlayColorNF</colordiffuse>
  38.                 <texturesliderbackground border="11,1,1,1">common/ScrollBackground.png</texturesliderbackground>
  39.                 <texturesliderbar border="11,1,1,1">common/ScrollbarGripNF.png</texturesliderbar>
  40.                 <texturesliderbarfocus border="11,1,1,1" colordiffuse="DialogOverlayColorFO">common/ScrollbarGripFO.png</texturesliderbarfocus>
  41.                 <textureslidernib>-</textureslidernib>
  42.                 <textureslidernibfocus>-</textureslidernibfocus>
  43.                 <visible>!Skin.HasSetting(Scrollbars) + [Control.IsVisible(50) | Control.IsVisible(51)]</visible>
  44.             </control>
  45.  
  46.             <!-- Scrollbar (poster) -->
  47.             <control type="scrollbar" id="61">
  48.                 <centerleft>50%</centerleft>
  49.                 <top>766</top>
  50.                 <width>1680</width>
  51.                 <height>20</height>
  52.                 <onup>50</onup>
  53.                 <ondown condition="!Skin.HasSetting(KioskMode)">3001</ondown>
  54.                 <showonepage>false</showonepage>
  55.                 <orientation>horizontal</orientation>
  56.                 <colordiffuse>OverlayColorNF</colordiffuse>
  57.                 <texturesliderbackground border="1,12,1,1">common/ScrollBackgroundHorizontal.png</texturesliderbackground>
  58.                 <texturesliderbar border="1,12,1,1">common/ScrollbarGripHorizontalNF.png</texturesliderbar>
  59.                 <texturesliderbarfocus border="1,12,1,1" colordiffuse="DialogOverlayColorFO">common/ScrollbarGripHorizontalFO.png</texturesliderbarfocus>
  60.                 <textureslidernib>-</textureslidernib>
  61.                 <textureslidernibfocus>-</textureslidernibfocus>
  62.                 <visible>!Skin.HasSetting(Scrollbars) + Control.IsVisible(52)</visible>
  63.                 <animation effect="slide" end="0,-22" condition="Skin.HasSetting(ShowCurve)">Conditional</animation>
  64.             </control>
  65.  
  66.             <!-- Scrollbar (wall) -->
  67.             <control type="scrollbar" id="63">
  68.                 <left>120</left>
  69.                 <top>170</top>
  70.                 <width>20</width>
  71.                 <height>633</height>
  72.                 <onleft condition="!Skin.HasSetting(KioskMode)">3001</onleft>
  73.                 <onright>50</onright>
  74.                 <showonepage>false</showonepage>
  75.                 <orientation>vertical</orientation>
  76.                 <colordiffuse>OverlayColorNF</colordiffuse>
  77.                 <texturesliderbackground border="6,1,8,1">common/ScrollBackground.png</texturesliderbackground>
  78.                 <texturesliderbar border="8,1,6,1">common/ScrollbarGripNF.png</texturesliderbar>
  79.                 <texturesliderbarfocus border="8,1,6,1" colordiffuse="DialogOverlayColorFO">common/ScrollbarGripFO.png</texturesliderbarfocus>
  80.                 <textureslidernib>-</textureslidernib>
  81.                 <textureslidernibfocus>-</textureslidernibfocus>
  82.                 <visible>!Skin.HasSetting(Scrollbars) + Control.IsVisible(53)</visible>
  83.             </control>
  84.  
  85.             <!-- Item count -->
  86.             <include>ItemCount</include>
  87.  
  88.         </control>
  89.  
  90.         <!-- Time -->
  91.         <include>Time</include>
  92.  
  93.         <!-- Options -->
  94.         <control type="group">
  95.             <include>OptionsAnimation</include>
  96.             <visible allowhiddenfocus="true">ControlGroup(3000).HasFocus() | ControlGroup(4000).HasFocus() | ControlGroup(5000).HasFocus()</visible>
  97.  
  98.             <!-- Background -->
  99.             <include>OptionsBackgroundImage</include>
  100.  
  101.             <!-- Main group -->
  102.             <control type="group">
  103.                 <left>85</left>
  104.                 <top>297</top>
  105.  
  106.                 <!-- Scroll -->
  107.                 <control type="image">
  108.                     <left>0</left>
  109.                     <top>0</top>
  110.                     <width>72</width>
  111.                     <height>20</height>
  112.                     <texture border="1,12,1,1" colordiffuse="DialogOverlayColorNF">common/ScrollBackgroundHorizontal.png</texture>
  113.                 </control>
  114.                 <control type="image">
  115.                     <left>0</left>
  116.                     <top>0</top>
  117.                     <width>24</width>
  118.                     <height>20</height>
  119.                     <texture border="1,12,1,1" colordiffuse="DialogOverlayColorFO">common/ScrollbarGripHorizontalFO.png</texture>
  120.                     <animation effect="slide" start="0" end="24" time="200" condition="ControlGroup(4000).HasFocus()">Conditional</animation>
  121.                     <animation effect="slide" start="0" end="48" time="200" condition="ControlGroup(5000).HasFocus()">Conditional</animation>
  122.                 </control>
  123.  
  124.                 <!-- Heading -->
  125.                 <control type="label">
  126.                     <animation effect="fade" start="0" end="100" time="200">Visible</animation>
  127.                     <left>0</left>
  128.                     <top>34</top>
  129.                     <width>1200</width>
  130.                     <height>72</height>
  131.                     <label>$VAR[CustomMenuHeading]</label>
  132.                     <font>Font72</font>
  133.                     <textcolor>DialogColor1</textcolor>
  134.                 </control>
  135.  
  136.                 <!-- Look controls -->
  137.                 <control type="grouplist" id="3000">
  138.                     <left>0</left>
  139.                     <top>130</top>
  140.                     <width>1200</width>
  141.                     <height>600</height>
  142.                     <onup>noop</onup>
  143.                     <ondown>noop</ondown>
  144.                     <onleft>50</onleft>
  145.                     <onright>4001</onright>
  146.                     <itemgap>8</itemgap>
  147.                     <scrolltime>200</scrolltime>
  148.                     <orientation>vertical</orientation>
  149.                     <defaultcontrol always="true">3001</defaultcontrol>
  150.                     <visible allowhiddenfocus="true">ControlGroup(3000).HasFocus()</visible>
  151.  
  152.                     <!-- Dummy to set focus to top -->
  153.                     <control type="button" id="3001">
  154.                         <width>0</width>
  155.                         <height>-8</height>
  156.                         <label>-</label>
  157.                         <onfocus>Down</onfocus>
  158.                     </control>
  159.                     <!-- View -->
  160.                     <control type="button" id="99">
  161.                         <include>OptionButtons</include>
  162.                         <label>$INFO[Container.ViewMode]</label>
  163.                         <onclick>Container.NextViewMode</onclick>
  164.                     </control>
  165.                     <!-- Fanart -->
  166.                     <control type="radiobutton" id="98">
  167.                         <include>OptionButtons</include>
  168.                         <label>20445</label>
  169.                         <onclick>Skin.ToggleSetting(MovieFanart)</onclick>
  170.                         <selected>Skin.HasSetting(MovieFanart)</selected>
  171.                         <visible>Container.Content(Movies)</visible>
  172.                     </control>
  173.                     <!-- Fanart -->
  174.                     <control type="radiobutton" id="97">
  175.                         <include>OptionButtons</include>
  176.                         <label>20445</label>
  177.                         <onclick>Skin.ToggleSetting(TVFanart)</onclick>
  178.                         <selected>Skin.HasSetting(TVFanart)</selected>
  179.                         <visible>Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)</visible>
  180.                     </control>
  181.                     <!-- Overlays -->
  182.                     <control type="radiobutton" id="96">
  183.                         <include>OptionButtons</include>
  184.                         <label>31006</label>
  185.                         <onclick>Skin.ToggleSetting(Overlays)</onclick>
  186.                         <selected>Skin.HasSetting(Overlays)</selected>
  187.                     </control>
  188.                     <!-- Watched status -->
  189.                     <control type="radiobutton" id="95">
  190.                         <include>OptionButtons</include>
  191.                         <label>536</label>
  192.                         <onclick>Skin.ToggleSetting(WatchedFlags)</onclick>
  193.                         <selected>Skin.HasSetting(WatchedFlags)</selected>
  194.                         <visible>Container.Content(Movies) | Container.Content(TVShows) | Container.Content(Seasons) | Container.Content(Episodes)</visible>
  195.                     </control>
  196.                     <!-- Scrollbars -->
  197.                     <control type="radiobutton" id="94">
  198.                         <include>OptionButtons</include>
  199.                         <label>31005</label>
  200.                         <onclick>Skin.ToggleSetting(Scrollbars)</onclick>
  201.                         <selected>!Skin.HasSetting(Scrollbars)</selected>
  202.                     </control>
  203.                 </control>
  204.  
  205.                 <!-- Layout controls -->
  206.                 <control type="grouplist" id="4000">
  207.                     <left>0</left>
  208.                     <top>130</top>
  209.                     <width>1200</width>
  210.                     <height>600</height>
  211.                     <onup>noop</onup>
  212.                     <ondown>noop</ondown>
  213.                     <onleft condition="!Skin.HasSetting(KioskMode)">3001</onleft>
  214.                     <onright>5001</onright>
  215.                     <itemgap>8</itemgap>
  216.                     <scrolltime>200</scrolltime>
  217.                     <orientation>vertical</orientation>
  218.                     <defaultcontrol always="true">4001</defaultcontrol>
  219.                     <visible allowhiddenfocus="true">ControlGroup(4000).HasFocus()</visible>
  220.  
  221.                     <!-- Dummy to set focus to top -->
  222.                     <control type="button" id="4001">
  223.                         <width>0</width>
  224.                         <height>-8</height>
  225.                         <label>-</label>
  226.                         <onfocus>Down</onfocus>
  227.                     </control>
  228.                     <!-- Sort by -->
  229.                     <control type="button" id="3">
  230.                         <include>OptionButtons</include>
  231.                         <label>103</label>
  232.                         <visible>Control.IsEnabled(3)</visible>
  233.                     </control>
  234.                     <!-- Sort ascending/descending -->
  235.                     <control type="togglebutton" id="4">
  236.                         <include>OptionButtons</include>
  237.                         <label>584</label>
  238.                         <altlabel>585</altlabel>
  239.                         <usealttexture>Container.SortDirection(Descending)</usealttexture>
  240.                         <visible>Control.IsEnabled(4)</visible>
  241.                     </control>
  242.                     <!-- Watched toggle -->
  243.                     <control type="radiobutton" id="14">
  244.                         <include>OptionButtons</include>
  245.                         <label>20367</label>
  246.                         <visible>Control.IsEnabled(14)</visible>
  247.                     </control>
  248.                     <!-- Filter -->
  249.                     <control type="edit" id="19">
  250.                         <include>OptionButtons</include>
  251.                         <label>587</label>
  252.                         <visible>Container.CanFilter + !Container.CanFilterAdvanced</visible>
  253.                     </control>
  254.                     <!-- Filter -->
  255.                     <control type="radiobutton" id="93">
  256.                         <include>OptionButtons</include>
  257.                         <label>587</label>
  258.                         <onclick>Right</onclick>
  259.                         <onclick>Right</onclick>
  260.                         <onclick>Filter</onclick>
  261.                         <selected>Container.Filtered</selected>
  262.                         <visible>Container.CanFilterAdvanced</visible>
  263.                     </control>
  264.                 </control>
  265.  
  266.                 <!-- More controls -->
  267.                 <control type="grouplist" id="5000">
  268.                     <left>0</left>
  269.                     <top>130</top>
  270.                     <width>1200</width>
  271.                     <height>600</height>
  272.                     <onup>noop</onup>
  273.                     <ondown>noop</ondown>
  274.                     <onleft>4001</onleft>
  275.                     <onright>50</onright>
  276.                     <itemgap>8</itemgap>
  277.                     <scrolltime>200</scrolltime>
  278.                     <orientation>vertical</orientation>
  279.                     <defaultcontrol always="true">5001</defaultcontrol>
  280.                     <visible allowhiddenfocus="true">ControlGroup(5000).HasFocus()</visible>
  281.  
  282.                     <!-- Dummy to set focus to top -->
  283.                     <control type="button" id="5001">
  284.                         <width>0</width>
  285.                         <height>-8</height>
  286.                         <label>-</label>
  287.                         <onfocus>Down</onfocus>
  288.                     </control>
  289.                     <!-- Open playlist -->
  290.                     <control type="button" id="91">
  291.                         <include>OptionButtons</include>
  292.                         <label>13350</label>
  293.                         <onclick condition="!StringCompare(Playlist.Length(video),0)">ActivateWindow(videoplaylist)</onclick>
  294.                         <visible>!StringCompare(Playlist.Length(video),0)</visible>
  295.                     </control>
  296.                     <!-- Update library -->
  297.                     <control type="togglebutton" id="20">
  298.                         <include>OptionButtons</include>
  299.                         <label>653</label>
  300.                         <altlabel>13353</altlabel>
  301.                         <usealttexture>Library.IsScanningVideo</usealttexture>
  302.                     </control>
  303.                     <!-- Search -->
  304.                     <control type="button" id="8">
  305.                         <include>OptionButtons</include>
  306.                         <label>137</label>
  307.                         <visible>Control.IsEnabled(8)</visible>
  308.                     </control>
  309.                     <!-- PartyMode -->
  310.                     <control type="radiobutton" id="16">
  311.                         <include>OptionButtons</include>
  312.                         <label>589</label>
  313.                         <visible>Container.Content(MusicVideos)</visible>
  314.                     </control>
  315.                     <!-- Unlock Shares -->
  316.                     <control type="radiobutton" id="11">
  317.                         <include>OptionButtons</include>
  318.                         <label>20336</label>
  319.                         <onclick>XBMC.Mastermode</onclick>
  320.                         <selected>System.IsMaster</selected>
  321.                         <visible>System.HasLocks</visible>
  322.                     </control>
  323.                     <!-- Settings -->
  324.                     <control type="button" id="92">
  325.                         <include>OptionButtons</include>
  326.                         <label>5</label>
  327.                         <onclick>ActivateWindow(videossettings)</onclick>
  328.                     </control>
  329.                 </control>
  330.  
  331.             </control>
  332.  
  333.         </control>
  334.  
  335.     </controls>
  336.  
  337. </window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement