This commit is contained in:
theDeadMan 2022-08-29 12:41:03 +01:00
parent 0a7eb06515
commit 1bb91d61e9
7 changed files with 110 additions and 63 deletions

View File

@ -129,7 +129,7 @@
</control> </control>
</control> </control>
<!--dialog controls--> <!--dialog controls-->
<control type="grouplist"> <control type="grouplist" id="8000">
<visible>!Window.IsVisible(AddonSettings) + !Window.IsActive(TextViewer)</visible> <visible>!Window.IsVisible(AddonSettings) + !Window.IsActive(TextViewer)</visible>
<posx>0</posx> <posx>0</posx>
<posy>372</posy> <posy>372</posy>

View File

@ -13,30 +13,14 @@
<height>18-row</height> <height>18-row</height>
</control> </control>
<control type="group"> <control type="group">
<control type="grouplist" id="9004">
<visible>!integer.IsGreater(Container(996).NumItems,0)</visible>
<posx>col-7-begin</posx>
<posy>8-row</posy>
<itemgap>0</itemgap>
<width>8-col</width>
<height>16-row</height>
<itemgap>0</itemgap>
<onleft>996</onleft>
<include condition="Window.isactive(Videos) | window.isactive(videoplaylist) | window.isactive(tvchannels) | window.isactive(tvguide) | window.isactive(TVRecordings) | window.isactive(tvtimers)">videoSideMenu</include>
<include condition="Window.isactive(Music) | window.isactive(musicplaylist) | window.isactive(radiochannels)">musicSideMenu</include>
<include condition="window.isactive(pictures)">picturesSideMenu</include>
<include condition="window.isactive(addonbrowser)">addonsSideMenu</include>
<include condition="window.isactive(games)">gameSideMenu</include>
</control>
<control type="button" id="1000"> <control type="button" id="1000">
<description>Buttons</description> <description>Buttons</description>
<texturenofocus colordiffuse="d0000000" diffuse="masks/contextMenu.png">colors/black.png</texturenofocus> <texturefocus border="24" colordiffuse="ffffffff">UIControls/button.png</texturefocus>
<texturefocus colordiffuse="highlight" diffuse="masks/contextMenu.png">colors/white.png</texturefocus> <texturenofocus border="24" colordiffuse="ff000000">UIControls/button.png</texturenofocus>
<focusedcolor>textActive</focusedcolor>
<width>8-col</width> <width>8-col</width>
<align>center</align>
<textoffsetx>0</textoffsetx>
<align>left</align> <align>left</align>
<textoffsetx>24</textoffsetx>
<font>buttonTitle</font>
</control> </control>
</control> </control>
<!--debugging--> <!--debugging-->

View File

@ -151,10 +151,17 @@
<thumb></thumb> <thumb></thumb>
</item> </item>
<item> <item>
<visible>container.content(movies)</visible>
<label>$LOCALIZE[180]</label> <label>$LOCALIZE[180]</label>
<label2>$INFO[ListItem.duration(H)]hr $INFO[ListItem.duration(MM)]min</label2> <label2>$INFO[ListItem.duration(H)]hr $INFO[ListItem.duration(MM)]min</label2>
<thumb></thumb> <thumb></thumb>
</item> </item>
<item>
<visible>!container.content(movies)</visible>
<label>$LOCALIZE[31256]</label>
<label2>$INFO[ListItem.Property(UnWatchedEpisodes)]</label2>
<thumb></thumb>
</item>
</content> </content>
</control> </control>
<!--content--> <!--content-->

View File

@ -27,24 +27,24 @@
<onup>50</onup> <onup>50</onup>
<pagecontrol>60</pagecontrol> <pagecontrol>60</pagecontrol>
<itemlayout width="24-col" height="2-row"> <itemlayout width="24-col" height="2-row">
<control type="image"> <control type="image">
<posx>0</posx> <posx>0</posx>
<posy>3</posy> <posy>0</posy>
<width>66</width> <width>69</width>
<height>66</height> <height>69</height>
<aspectratio scalediffuse="false">stretch</aspectratio> <aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/black.png" diffuse="masks/circle.png" border="0">$INFO[Listitem.thumb]</texture> <texture fallback="colors/black.png" diffuse="masks/iconEndCapLeft.png" border="0">$INFO[Listitem.thumb]</texture>
<colordiffuse>overlay</colordiffuse> <colordiffuse>overlay</colordiffuse>
</control> </control>
<control type="image"> <control type="image">
<posx>1-col</posx> <posx>1-col</posx>
<posy>0</posy> <posy>0</posy>
<width>23-col</width> <width>23-col</width>
<height>69</height> <height>69</height>
<aspectratio>stretch</aspectratio> <aspectratio>stretch</aspectratio>
<texture border="0">colors/black.png</texture> <texture>masks/tvChannel.png</texture>
<colordiffuse>overlay</colordiffuse> <colordiffuse>d0000000</colordiffuse>
</control> </control>
<control type="label"> <control type="label">
<posx>1-col-indent</posx> <posx>1-col-indent</posx>
<posy>0</posy> <posy>0</posy>
@ -70,27 +70,29 @@
</control> </control>
</itemlayout> </itemlayout>
<focusedlayout width="24-col" height="2-row"> <focusedlayout width="24-col" height="2-row">
<control type="image"> <control type="image">
<posx>0</posx> <posx>0</posx>
<posy>3</posy> <posy>0</posy>
<width>66</width> <width>69</width>
<height>66</height> <height>69</height>
<aspectratio scalediffuse="false">stretch</aspectratio> <aspectratio scalediffuse="false">stretch</aspectratio>
<texture fallback="colors/white.png" diffuse="masks/circle.png" border="0">$INFO[Listitem.thumb]</texture> <texture fallback="colors/white.png" diffuse="masks/iconEndCapLeft.png" border="0">$INFO[Listitem.thumb]</texture>
<animation type="focus" loop="false" reversible="false"> <animation type="focus" loop="false" reversible="false">
<effect type="fade" time="500"/> <effect type="fade" time="500"/>
<effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/> <effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
</animation> <effect type="fade" start="100" end="50" time="0"/>
</control> </animation>
<control type="image"> <colordiffuse>highlight</colordiffuse>
<posx>1-col</posx> </control>
<posy>0</posy> <control type="image">
<width>23-col</width> <posx>1-col</posx>
<height>2-row</height> <posy>0</posy>
<aspectratio>stretch</aspectratio> <width>23-col</width>
<texture border="0">colors/white.png</texture> <height>69</height>
<colordiffuse>highlight</colordiffuse> <aspectratio>stretch</aspectratio>
</control> <texture border="0">masks/tvChannel.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label"> <control type="label">
<posx>1-col-indent</posx> <posx>1-col-indent</posx>
<posy>0</posy> <posy>0</posy>

View File

@ -96,14 +96,14 @@
<width>24-col</width> <width>24-col</width>
<height>21-row</height> <height>21-row</height>
<ondown>activateWindow(home)</ondown> <ondown>activateWindow(home)</ondown>
<itemlayout width="6-col" height="10-row"> <itemlayout width="432" height="10-row">
<control type="image"> <control type="image">
<posx>0</posx> <posx>0</posx>
<posy>0</posy> <posy>0</posy>
<width>6-col-gutter</width> <width>6-col-gutter</width>
<height>9-row</height> <height>9-row</height>
<aspectratio>stretch</aspectratio> <aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture> <texture border="24">dialogBackground.png</texture>
<bordersize>0</bordersize> <bordersize>0</bordersize>
<colordiffuse>overlay</colordiffuse> <colordiffuse>overlay</colordiffuse>
</control> </control>
@ -112,7 +112,7 @@
<posy>12</posy> <posy>12</posy>
<width>384</width> <width>384</width>
<height>2-row</height> <height>2-row</height>
<texture>colors/white.png</texture> <texture border="10">masks/menuTitle.png</texture>
<colordiffuse>highlight</colordiffuse> <colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio> <aspectratio>stretch</aspectratio>
</control> </control>

View File

@ -323,6 +323,31 @@
<texture diffuse="masks/poster.png">$INFO[ListItem.Art(poster)]</texture> <texture diffuse="masks/poster.png">$INFO[ListItem.Art(poster)]</texture>
<colordiffuse>88FFFFFF</colordiffuse> <colordiffuse>88FFFFFF</colordiffuse>
</control> </control>
<control type="group">
<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)</visible>
<posx>96r</posx>
<posy>12</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>38</width>
<height>38</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/square.png">colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>-2</posy>
<width>38</width>
<height>38</height>
<aligny>center</aligny>
<align>center</align>
<font>smallStrong</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
</control>
</control>
<control type="textbox"> <control type="textbox">
<visible>!controlgroup(9000).hasfocus</visible> <visible>!controlgroup(9000).hasfocus</visible>
<posx>12</posx> <posx>12</posx>
@ -350,6 +375,31 @@
<bordersize>6</bordersize> <bordersize>6</bordersize>
<colordiffuse>ffffffff</colordiffuse> <colordiffuse>ffffffff</colordiffuse>
</control> </control>
<control type="group">
<visible>Integer.IsGreater(ListItem.Property(UnWatchedEpisodes),0)</visible>
<posx>98r</posx>
<posy>12</posy>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>38</width>
<height>38</height>
<aspectratio>stretch</aspectratio>
<texture diffuse="masks/square.png">colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>0</posx>
<posy>-2</posy>
<width>38</width>
<height>38</height>
<aligny>center</aligny>
<align>center</align>
<font>smallStrong</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.Property(UnWatchedEpisodes)]</label>
</control>
</control>
<control type="textbox"> <control type="textbox">
<visible>!controlgroup(9000).hasfocus</visible> <visible>!controlgroup(9000).hasfocus</visible>
<posx>12</posx> <posx>12</posx>

View File

@ -539,3 +539,7 @@ msgstr ""
msgctxt "#31255" msgctxt "#31255"
msgid "Go to Album" msgid "Go to Album"
msgstr "" msgstr ""
msgctxt "#31256"
msgid "Unwatched Episodes"
msgstr ""