Completata nuova ricerca globale

This commit is contained in:
Alhaziel01
2020-11-21 17:09:34 +01:00
parent b180ea9a23
commit 9b6384e14c
4 changed files with 458 additions and 196 deletions
+183 -113
View File
@@ -1,30 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<depth>0.52</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<depth>0.52</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<!-- control groups -->
<control type='group' id="1"/>
<control type='group' id="2"/>
<control type='group' id="3"/>
<!-- CLOSE BUTTON / BACKGROUND -->
<control type="button">
<left>0</left>
<top>0</top>
<control type='group' id="4"/>
<control type='group' id="5"/>
<control type="image"> <!-- BACKGROUND -->
<description>Window Background</description>
<width>100%</width>
<height>100%</height>
<texturefocus colordiffuse="FF232323">white.png</texturefocus>
<texturenofocus colordiffuse="FF232323">white.png</texturenofocus>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<onclick>Action(close)</onclick>
<texture colordiffuse="FF232323">white.png</texture>
</control>
<!-- GROUP CONTROLS -->
<control type="group">
<control type="group"> <!-- CONTROLS GROUP -->
<description>Main Group</description>
<left>0</left>
<top>0</top>
<animation type="WindowOpen" reversible="false">
@@ -35,29 +33,21 @@
</animation>
<!-- LOADING -->
<!-- <control type="image">
<top>355</top>
<left>490</left>
<width>300</width>
<height>10</height>
<texture>white.png</texture>
<visible allowhiddenfocus="true">!Integer.IsGreater(Container(102).NumItems, 0)</visible>
<animation effect="zoom" pulse="true" center="auto" start="0,100" end="100,100" time="1000" condition="!Integer.IsGreater(Container(200).NumItems, 0)">Conditional</animation>
</control> -->
<!-- FANART -->
<control type="image">
<description>Fanart</description>
<width>100%</width>
<height>100%</height>
<aspectratio>center</aspectratio>
<texture colordiffuse="FF555555">$INFO[Container(103).ListItem.Property(fanart)]</texture>
<aspectratio>scale</aspectratio>
<texture colordiffuse="FF555555">$INFO[Container(102).ListItem.Property(fanart)]</texture>
</control>
<!-- SEARCH -->
<control type="group" id="10">
<visible>Control.IsVisible(1)</visible>
<!-- MAIN TITLE -->
<control type="textbox" id='101'>
<control type="group"> <!-- SEARCH GROUP-->
<description>Search Group</description>
<visible allowhiddenfocus="true">Control.IsVisible(1)</visible>
<control type="textbox" id='100'>
<description>Title</description>
<left>30</left>
<top>30</top>
<width>1000</width>
@@ -65,16 +55,18 @@
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<visible allowhiddenfocus="true">Integer.IsGreater(Container(102).NumItems, 0)</visible>
<visible allowhiddenfocus="true">Integer.IsGreater(Container(101).NumItems, 0)</visible>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- RESULTS -->
<control type="group">
<visible>Integer.IsGreater(Container(102).NumItems, 0)</visible>
<control type="group"> <!-- Search Result Group -->
<description>Search Result Group</description>
<visible allowhiddenfocus="true">Integer.IsGreater(Container(102).NumItems, 0)</visible>
<animation effect="fade" time="200">Visible</animation>
<!-- Title -->
<control type="textbox">
<description>Item Title</description>
<left>400</left>
<top>90</top>
<width>840</width>
@@ -82,12 +74,13 @@
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[Container(103).ListItem.Label] [B][COLOR FFAAAAAA]($INFO[Container(103).CurrentItem]/$INFO[Container(103).NumItems])[/COLOR][/B]</label>
<label>$INFO[Container(102).ListItem.Label] [B][COLOR FFAAAAAA]($INFO[Container(102).CurrentItem]/$INFO[Container(102).NumItems])[/COLOR][/B]</label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Plot -->
<control type="textbox">
<description>Item Plot</description>
<left>400</left>
<top>150</top>
<width>840</width>
@@ -95,20 +88,22 @@
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[Container(103).ListItem.Property(plot)]</label>
<label>$INFO[Container(102).ListItem.Property(plot)]</label>
<align>left</align>
</control>
<control type="fixedlist" id="103">
<control type="fixedlist" id="102">
<description>Search Results list</description>
<bottom>70</bottom>
<left>0</left>
<width>100%</width>
<height>570</height>
<ondown>102</ondown>
<ondown>101</ondown>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="570" width="180">
<!-- Poster -->
<control type="image">
<description>Item Poster</description>
<bottom>0</bottom>
<left>0</left>
<width>180</width>
@@ -117,10 +112,19 @@
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<description>Item Verified</description>
<bottom>235</bottom>
<left>155</left>
<width>20</width>
<height>20</height>
<texture colordiffuse="FF0082C2">$INFO[ListItem.Property(verified)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="570" width="380">
<!-- Poster -->
<control type="image">
<description>Item Poster</description>
<bottom>0</bottom>
<left>0</left>
<width>380</width>
@@ -129,37 +133,55 @@
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<description>Item Verified</description>
<top>10</top>
<left>330</left>
<width>40</width>
<height>40</height>
<texture colordiffuse="FF0082C2">$INFO[ListItem.Property(verified)]</texture>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
</control>
</control> <!-- END Search Result Group -->
<!-- CHANNELS-->
<control type="group">
<control type="group"> <!-- Chennels Group-->
<description>Chennels Group</description>
<bottom>-100</bottom>
<width>100%</width>
<height>150</height>
<animation effect="slide" start="0,150" time="500" condition="Integer.IsGreater(Container(102).NumItems, 0)">Conditional</animation>
<animation effect="slide" start="0,-100" time="200" condition="!Control.HasFocus(102)">Conditional</animation>
<animation effect="slide" start="0,150" time="500" condition="Integer.IsGreater(Container(101).NumItems, 0)">Conditional</animation>
<animation effect="slide" start="0,-100" time="200" condition="!Control.HasFocus(101)">Conditional</animation>
<visible>Integer.IsGreater(Container(101).NumItems, 0)</visible>
<control type="image">
<description>Chennels Bar Background Opacity on hover</description>
<width>100%</width>
<height>100%</height>
<animation effect="fade" start='100' end='0' time="200" condition="!Control.HasFocus(102)">Conditional</animation>
<animation effect="fade" start='100' end='0' time="200" condition="!Control.HasFocus(101)">Conditional</animation>
<texture colordiffuse="FF232323">white.png</texture>
</control>
<control type="image">
<description>Chennels Bar Background</description>
<width>100%</width>
<height>100%</height>
<texture colordiffuse="88232323">white.png</texture>
</control>
<control type="list" id="102">
<control type="list" id="101">
<description>Channels list</description>
<width>100%</width>
<height>150</height>
<onup>103</onup>
<onup>102</onup>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="150" width="150">
<!-- Poster -->
<control type="image">
<description>Channel Icon</description>
<bottom>0</bottom>
<left>0</left>
<width>150</width>
@@ -167,8 +189,8 @@
<texture colordiffuse="55FFFFFF">$INFO[ListItem.Property(thumb)]</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Poster -->
<control type="image">
<description>Results Count Background</description>
<top>0</top>
<right>0</right>
<width>40</width>
@@ -176,8 +198,8 @@
<texture colordiffuse="20232323">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Title -->
<control type="textbox">
<description>Results Count</description>
<right>5</right>
<top>5</top>
<width>30</width>
@@ -189,10 +211,19 @@
<align>center</align>
<aligny>center</aligny>
</control>
<control type="image">
<description>Verified</description>
<top>5</top>
<left>5</left>
<width>30</width>
<height>30</height>
<texture colordiffuse="880082C2">$INFO[ListItem.Property(verified)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="150" width="150">
<!-- Poster -->
<control type="image">
<description>Channel Icon</description>
<top>0</top>
<left>0</left>
<width>150</width>
@@ -200,8 +231,8 @@
<texture>$INFO[ListItem.Property(thumb)]</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Poster -->
<control type="image">
<description>Results Count Background</description>
<top>0</top>
<right>0</right>
<width>40</width>
@@ -209,8 +240,17 @@
<texture colordiffuse="880082C2">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Title -->
<control type="image">
<description>Results Count</description>
<top>5</top>
<left>5</left>
<width>30</width>
<height>30</height>
<texture colordiffuse="FF0082C2">$INFO[ListItem.Property(verified)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="textbox">
<description>Verified</description>
<right>5</right>
<top>5</top>
<width>30</width>
@@ -222,37 +262,28 @@
<align>center</align>
<aligny>center</aligny>
</control>
<!-- <control type="textbox">
<bottom>0</bottom>
<width>100%</width>
<height>30</height>
<font>font30_title</font>
<textcolor>88FFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Property(time)][/B]</label>
<align>center</align>
<aligny>center</aligny>
</control> -->
</focusedlayout>
</control>
</control>
<!-- PROGRESS -->
<!-- <control type='image' id='100'/> -->
</control>
</control> <!-- END Chennels Group-->
</control> <!-- END SEARCH GROUP-->
<control type="group"> <!-- EPISODES GROUP-->
<description>Episodes Group</description>
<visible allowhiddenfocus="true">Control.IsVisible(2)</visible>
<!-- EPISODES -->
<control type="group" id="20">
<visible>Control.IsVisible(2)</visible>
<control type="image">
<description>Poster</description>
<top>0</top>
<left>0</left>
<width>480</width>
<height>720</height>
<texture>$INFO[Container(103).ListItem.Property(thumb)]</texture>
<texture>$INFO[Container(102).ListItem.Property(thumb)]</texture>
</control>
<control type="textbox" id="99">
<description>Title</description>
<control type="textbox">
<description>Main Title</description>
<left>520</left>
<top>40</top>
<width>1150</width>
@@ -262,19 +293,19 @@
<shadowcolor>00000000</shadowcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Container(103).ListItem.Label()]</label>
<label>$INFO[Container(102).ListItem.Label()]</label>
</control>
<control type="list" id="200">
<control type="list" id="200"> <!-- Episodes List -->
<description>Episodes List</description>
<bottom>40</bottom>
<left>520</left>
<width>700</width>
<height>570</height>
<!-- <orientation>horizontal</orientation> -->
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="60" width="700">
<control type="textbox">
<description>Title</description>
<description>Episode Title</description>
<left>20</left>
<width>660</width>
<height>60</height>
@@ -288,13 +319,14 @@
</itemlayout>
<focusedlayout height="60" width="700">
<control type="image">
<description>Selected Background</description>
<width>700</width>
<height>60</height>
<texture colordiffuse="88000000">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="textbox">
<description>Title</description>
<description>Episode Title</description>
<left>20</left>
<width>660</width>
<height>60</height>
@@ -306,22 +338,25 @@
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
</control>
</control>
</control> <!-- END Episodes List -->
</control> <!-- END EPISODES GROUP -->
<control type="group"> <!-- SERVERS GROUP-->
<description>Servers Group</description>
<visible allowhiddenfocus="true">Control.IsVisible(3)</visible>
<!-- SERVERS -->
<control type="group" id="30">
<visible>Control.IsVisible(3)</visible>
<control type="image">
<description>Poster</description>
<top>0</top>
<left>0</left>
<width>480</width>
<height>720</height>
<texture>$INFO[Container(103).ListItem.Property(thumb)]</texture>
<texture>$INFO[Container(102).ListItem.Property(thumb)]</texture>
</control>
<control type="textbox" id="99">
<description>Title</description>
<control type="textbox">
<description>Main Title</description>
<left>520</left>
<top>40</top>
<width>1150</width>
@@ -331,20 +366,19 @@
<shadowcolor>00000000</shadowcolor>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Container(103).ListItem.Label]</label>
<label>$INFO[Container(102).ListItem.Label]</label>
</control>
<control type="list" id="300">
<control type="list" id="300"> <!-- Servers List -->
<description>Servers List</description>
<bottom>40</bottom>
<left>520</left>
<width>700</width>
<height>570</height>
<!-- <orientation>horizontal</orientation> -->
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="140" width="700">
<!-- Poster -->
<control type="image">
<description>Servers Icon</description>
<top>5</top>
<left>5</left>
<width>120</width>
@@ -353,6 +387,7 @@
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<description>Servers Quality</description>
<top>35</top>
<left>150</left>
<width>60</width>
@@ -360,8 +395,8 @@
<texture>$INFO[ListItem.Property(quality)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="textbox" id="99">
<description>Title</description>
<control type="textbox">
<description>Server Name</description>
<left>220</left>
<top>35</top>
<width>450</width>
@@ -376,13 +411,14 @@
</itemlayout>
<focusedlayout height="140" width="700">
<control type="image">
<description>Selection Background</description>
<width>700</width>
<height>130</height>
<texture colordiffuse="88000000">white.png</texture>
<aspectratio>scale</aspectratio>
</control>
<!-- Poster -->
<control type="image">
<description>Servers Color</description>
<top>0</top>
<left>0</left>
<width>130</width>
@@ -392,6 +428,7 @@
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<description>Servers Icon</description>
<top>5</top>
<left>5</left>
<width>120</width>
@@ -400,6 +437,7 @@
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<description>Servers Title</description>
<top>35</top>
<left>150</left>
<width>60</width>
@@ -407,8 +445,8 @@
<texture>$INFO[ListItem.Property(quality)]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="textbox" id="99">
<description>Title</description>
<control type="textbox">
<description>Server Title</description>
<left>220</left>
<top>35</top>
<width>450</width>
@@ -421,11 +459,12 @@
<label>[B][COLOR FFAAAAAA]$INFO[ListItem.Property(servername)][/COLOR][/B]</label>
</control>
</focusedlayout>
</control>
</control>
</control>
</control> <!-- END Servers List -->
</control> <!-- END SERVERS GROUP -->
</control> <!-- CONTROLS GROUP -->
<control type="progress" id="100">
<control type="progress" id="500">
<description>Progress Bar</description>
<top>350</top>
<left>240</left>
<width>800</width>
@@ -437,9 +476,10 @@
<midtexture colordiffuse="FF0082C2">progress.png</midtexture>
<animation effect="zoom" center="auto" end="163,40" time="600" condition="Integer.IsGreater(Container(102).NumItems, 0)">Conditional</animation>
<animation effect="slide" tween="linear" center="auto" end="0,-890" time="600" condition="Integer.IsGreater(Container(102).NumItems, 0)">Conditional</animation>
<!-- <visible>Integer.IsGreater(Container(102).NumItems, 0)</visible> -->
</control>
<control type="textbox" id="104">
<control type="textbox" id="501">
<description>Progress Count</description>
<top>340</top>
<right>130</right>
<width>200</width>
@@ -449,9 +489,39 @@
<shadowcolor>00000000</shadowcolor>
<align>right</align>
<aligny>center</aligny>
<animation effect="slide" tween="linear" center="auto" end="90,-320" time="200" condition="Integer.IsGreater(Container(102).NumItems, 0)">Conditional</animation>
<visible allowhiddenfocus="true">Control.IsVisible(1)</visible>
<animation effect="slide" tween="linear" center="auto" end="90,-320" time="200" condition="Integer.IsGreater(Container(101).NumItems, 0)">Conditional</animation>
<visible allowhiddenfocus="true">Control.IsVisible(500)</visible>
</control>
<!-- GROUP CONTROLS END -->
<control type="textbox">
<description>No Results</description>
<top>340</top>
<left>0</left>
<width>100%</width>
<height>40</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<align>center</align>
<aligny>center</aligny>
<label>[UPPERCASE]$ADDON[plugin.video.kod 60473][/UPPERCASE]</label>
<visible allowhiddenfocus="true">Control.IsVisible(4)</visible>
</control>
<control type="textbox">
<description>Load Channels</description>
<top>300</top>
<left>0</left>
<width>100%</width>
<height>40</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<align>center</align>
<aligny>center</aligny>
<label>[UPPERCASE]$ADDON[plugin.video.kod 60519][/UPPERCASE]</label>
<visible allowhiddenfocus="true">Control.IsVisible(5)</visible>
</control>
</controls>
</window>