replaced auto play episode with custom nextup dialog, also added

ItemInfo and PersonInfo from the old addon
This commit is contained in:
im85288 2015-05-06 22:41:44 +01:00
commit 44b22e7a67
14 changed files with 1741 additions and 26 deletions

View file

@ -0,0 +1,415 @@
<?xml version="1.0" encoding="UTF-8"?>
<window id="3300" type="dialog">
<defaultcontrol always="true">3002</defaultcontrol>
<zorder>2</zorder>
<coordinates>
<system>1</system>
<left>120</left>
<top>50</top>
</coordinates>
<include>dialogeffect</include>
<controls>
<control type="image">
<left>0</left>
<top>0</top>
<width>1040</width>
<height>600</height>
<texture border="40">DialogBack.png</texture>
</control>
<control type="image" id="3001">
<left>20</left>
<top>20</top>
<width>1000</width>
<height>560</height>
<colordiffuse>FF444444</colordiffuse>
</control>
<control type="label" id="3000">
<left>30</left>
<top>25</top>
<width>950</width>
<height>20</height>
<align>left</align>
<label>-</label>
<font>font24_title</font>
<textcolor>FFFFFFFFFF</textcolor>
</control>
<control type="label" id="3003">
<left>30</left>
<top>55</top>
<width>300</width>
<height>20</height>
<align>left</align>
<label>-</label>
<font>font18_title</font>
<textcolor>FFFFFFFFFF</textcolor>
</control>
<!-- episode image 16x9 -->
<control type="image" id="3009">
<left>40</left>
<top>130</top>
<width>250</width>
<height>140</height>
<aspectratio>stretch</aspectratio>
</control>
<control type="image" id="3010">
<left>40</left>
<top>265</top>
<width>250</width>
<height>5</height>
<texture background="true">-</texture>
<colordiffuse>AAFFFFFF</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<!-- poster image -->
<control type="image" id="3011">
<left>60</left>
<top>100</top>
<width>175</width>
<height>250</height>
<aspectratio>stretch</aspectratio>
</control>
<control type="image" id="3012">
<left>60</left>
<top>345</top>
<width>175</width>
<height>5</height>
<texture background="true">-</texture>
<colordiffuse>AAFFFFFF</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="list" id="3220">
<left>30</left>
<top>380</top>
<width>240</width>
<height>120</height>
<onleft>3002</onleft>
<onright>3221</onright>
<onup>3235</onup>
<ondown>3002</ondown>
<pagecontrol>3221</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="20">
<control type="label">
<left>60</left>
<top>0</top>
<width>60</width>
<height>20</height>
<font>font10</font>
<align>right</align>
<aligny>center</aligny>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="label">
<left>65</left>
<top>0</top>
<width>180</width>
<height>20</height>
<font>font10</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label2</info>
</control>
</itemlayout>
<focusedlayout height="20">
<control type="image">
<left>0</left>
<top>0</top>
<width>240</width>
<height>20</height>
<visible>Control.HasFocus(3220)</visible>
<texture>MenuItemFO.png</texture>
<include>VisibleFadeEffect</include>
</control>
<control type="label">
<left>60</left>
<top>0</top>
<width>60</width>
<height>20</height>
<font>font10</font>
<align>right</align>
<aligny>center</aligny>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="label">
<left>65</left>
<top>0</top>
<width>180</width>
<height>20</height>
<font>font10</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label2</info>
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="3221">
<left>270</left>
<top>380</top>
<width>20</width>
<height>120</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onleft>3220</onleft>
<onright>3226</onright>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="list" id="3226">
<left>310</left>
<top>380</top>
<width>415</width>
<height>120</height>
<onleft>3221</onleft>
<onright>3235</onright>
<onup>3235</onup>
<ondown>3002</ondown>
<pagecontrol>-</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="20">
<control type="label">
<left>70</left>
<top>0</top>
<width>70</width>
<height>20</height>
<font>font10</font>
<align>right</align>
<aligny>center</aligny>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="label">
<left>75</left>
<top>0</top>
<width>340</width>
<height>20</height>
<font>font10</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label2</info>
</control>
</itemlayout>
<focusedlayout height="20">
<control type="image">
<left>0</left>
<top>0</top>
<width>400</width>
<height>20</height>
<visible>Control.HasFocus(3226)</visible>
<texture>MenuItemFO.png</texture>
<include>VisibleFadeEffect</include>
</control>
<control type="label">
<left>70</left>
<top>0</top>
<width>70</width>
<height>20</height>
<font>font10</font>
<align>right</align>
<aligny>center</aligny>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="label">
<left>75</left>
<top>0</top>
<width>340</width>
<height>20</height>
<font>font10</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label2</info>
</control>
</focusedlayout>
</control>
<!--
<control type="scrollbar" id="3227">
<left>270</left>
<top>380</top>
<width>20</width>
<height>120</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onleft>3220</onleft>
<onright>3235</onright>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
-->
<control type="textbox" id="3223">
<left>320</left>
<top>100</top>
<width>400</width>
<height>250</height>
<font>font12</font>
<!--<align>justify</align>-->
<textcolor>white</textcolor>
<pagecontrol>3235</pagecontrol>
<visible>true</visible>
</control>
<control type="scrollbar" id="3235">
<left>720</left>
<top>100</top>
<width>20</width>
<height>250</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onleft>3226</onleft>
<onup>-</onup>
<onright>3230</onright>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="list" id="3230">
<left>760</left>
<top>100</top>
<width>245calc</width>
<height>450</height>
<onleft>3235</onleft>
<onright>3231</onright>
<onup>-</onup>
<ondown>-</ondown>
<pagecontrol>3231</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout height="60">
<control type="image">
<left>0</left>
<top>0</top>
<width>60</width>
<height>60</height>
<texture fallback="DefaultArtist.png">$INFO[Listitem.Icon]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="label">
<left>65</left>
<top>0</top>
<width>160</width>
<height>30</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="label">
<left>65</left>
<top>30</top>
<width>160</width>
<height>30</height>
<font>font10</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label2</info>
</control>
</itemlayout>
<focusedlayout height="60">
<control type="image">
<left>0</left>
<top>0</top>
<width>60</width>
<height>60</height>
<texture fallback="DefaultArtist.png">$INFO[Listitem.Icon]</texture>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<left>60</left>
<top>0</top>
<width>160</width>
<height>30</height>
<visible>Control.HasFocus(3230)</visible>
<texture>MenuItemFO.png</texture>
<include>VisibleFadeEffect</include>
</control>
<control type="label">
<left>65</left>
<top>0</top>
<width>160</width>
<height>30</height>
<font>font12</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>blue</textcolor>
<selectedcolor>selected</selectedcolor>
<info>ListItem.Label</info>
</control>
<control type="label">
<left>65</left>
<top>30</top>
<width>160</width>
<height>30</height>
<font>font10</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>white</textcolor>
<selectedcolor>white</selectedcolor>
<info>ListItem.Label2</info>
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="3231">
<left>985</left>
<top>100</top>
<width>20</width>
<height>450</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onleft>3230</onleft>
<onright>-</onright>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="button" id="3002">
<left>30</left>
<top>520</top>
<width>150</width>
<height>40</height>
<align>center</align>
<label>Play</label>
<font>font13</font>
<onleft>-</onleft>
<onright>3220</onright>
<onup>3220</onup>
</control>
</controls>
</window>

View file

@ -0,0 +1,245 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">3012</defaultcontrol>
<zorder>0</zorder>
<controls>
<control type="group">
<control type="image">
<left>0</left>
<top>-150</top>
<width>1280</width>
<height>256</height>
<texture flipy="true" border="1">HomeNowPlayingBack.png</texture>
</control>
<control type="label" id="1">
<description>Clock label</description>
<left>450</left>
<top>5</top>
<width>800</width>
<height>25</height>
<align>right</align>
<aligny>center</aligny>
<font>font13</font>
<textcolor>white</textcolor>
<shadowcolor>black</shadowcolor>
<label>$INFO[System.Time]</label>
<animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(VideoOSD)">conditional</animation>
</control>
<control type="image">
<left>0</left>
<top>230r</top>
<width>1280</width>
<height>230</height>
<texture border="1">HomeNowPlayingBack.png</texture>
</control>
<control type="image" id="3009">
<description>cover image</description>
<left>20</left>
<top>350r</top>
<width>300</width>
<height>330</height>
</control>
<control type="image" id="3006">
<description>clearart</description>
<visible>false</visible>
</control>
<control type="group" id="1">
<left>330</left>
<top>185r</top>
<control type="label" id="1">
<description>TV Show label</description>
<left>20</left>
<top>30</top>
<width>910</width>
<height>25</height>
<align>left</align>
<font>font12</font>
<label>$INFO[Control.GetLabel(3002),Up Next... ,][COLOR=orange]$INFO[Control.GetLabel(3000), ,][/COLOR]</label>
<textcolor>grey2</textcolor>
<shadowcolor>black</shadowcolor>
<visible>VideoPlayer.Content(Episodes)</visible>
</control>
<control type="label" description="episode/season info" id="3002">
<width>100%</width>
<top>0</top>
<left>175</left>
<height>40</height>
<visible>false</visible>
</control>
<control type="label" description="Title" id="3000">
<width>100%</width>
<left>267</left>
<top>0</top>
<height>40</height>
<visible>false</visible>
</control>
<control type="textbox" id="3001">
<description>text</description>
<left>30</left>
<top>62</top>
<width>550</width>
<height>98</height>
<align>left</align>
<label>-</label>
<font>font13</font>
<autoscroll time="3000" delay="4000" repeat="5000">true</autoscroll>
<visible>false</visible>
</control>
<control type="grouplist" id="1">
<left>20</left>
<top>60</top>
<width>910</width>
<height>35</height>
<itemgap>5</itemgap>
<orientation>horizontal</orientation>
<control type="label" id="3003" description="rating">
<width>100%</width>
<top>50</top>
<height>40</height>
<visible>false</visible>
</control>
<control type="label" id="3004" description="year/runtime">
<width>100%</width>
<top>50</top>
<height>40</height>
<scroll>false</scroll>
<visible>false</visible>
</control>
<control type="label" id="1">
<width min="10" max="520">auto</width>
<height>30</height>
<font>font30</font>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Control.GetLabel(3003)]$INFO[Control.GetLabel(3004), ,]</label>
<textcolor>grey</textcolor>
<scroll>true</scroll>
</control>
<control type="button" id="3012">
<description>Watch now button</description>
<width>200</width>
<height>40</height>
<label>Watch Now</label>
<font>font12_title</font>
<onleft>3013</onleft>
<onright>3013</onright>
</control>
<control type="button" id="3013">
<description>cancel button</description>
<width>200</width>
<height>40</height>
<label>222</label>
<font>font12_title</font>
<onleft>3012</onleft>
<onright>3012</onright>
</control>
</control>
<control type="label" id="1">
<left>0</left>
<top>120</top>
<width>910</width>
<height>25</height>
<label>$INFO[Player.TimeRemaining(ss),Press cancel to stop automatic play of next episode , seconds remaining]</label>
<align>center</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>grey</textcolor>
<scroll>true</scroll>
<visible>!Window.IsVisible(VideoOSD) + !VideoPlayer.Content(LiveTV)</visible>
<animation effect="fade" time="200">VisibleChange</animation>
</control>
</control>
<control type="group" id="1">
<left>330</left>
<top>95r</top>
<visible>!VideoPlayer.Content(LiveTV) | [VideoPlayer.Content(LiveTV) + VideoPlayer.HasEpg]</visible>
<control type="label" id="1">
<visible>!VideoPlayer.Content(LiveTV)</visible>
<left>0</left>
<top>0</top>
<width>100</width>
<height>40</height>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<label>$INFO[Player.Time(hh:mm:ss)]</label>
</control>
<control type="progress" id="1">
<description>ProgressbarCache</description>
<left>100</left>
<top>15</top>
<width>720</width>
<height>16</height>
<info>Player.ProgressCache</info>
<midtexture border="6,0,6,0">OSDProgressMidLight.png</midtexture>
</control>
<control type="progress" id="1">
<description>Progressbar</description>
<left>100</left>
<top>15</top>
<width>720</width>
<height>16</height>
<info>Player.Progress</info>
</control>
<control type="label" id="1">
<visible>!VideoPlayer.Content(LiveTV)</visible>
<left>820</left>
<top>0</top>
<width>100</width>
<height>40</height>
<font>font13</font>
<align>right</align>
<aligny>center</aligny>
<label>$INFO[Player.Duration(hh:mm:ss)]</label>
</control>
</control>
</control>
<!-- codec info -->
<control type="group" id="0">
<left>0</left>
<top>20</top>
<animation effect="fade" time="200">VisibleChange</animation>
<control type="image">
<description>media info background image</description>
<left>0</left>
<top>0</top>
<width>1280</width>
<height>160</height>
<texture>black-back.png</texture>
</control>
<control type="label" id="10">
<description>row 1 label</description>
<left>50</left>
<top>10</top>
<width>1180</width>
<height>30</height>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<label>-</label>
</control>
<control type="label" id="11">
<description>row 2 label</description>
<left>50</left>
<top>55</top>
<width>1180</width>
<height>30</height>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<label>-</label>
</control>
<control type="label" id="12">
<description>row 3 label</description>
<left>50</left>
<top>100</top>
<width>1180</width>
<height>45</height>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<label>-</label>
</control>
</control>
</controls>
</window>

View file

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="true">3010</defaultcontrol>
<zorder>2</zorder>
<coordinates>
<system>1</system>
<left>120</left>
<top>50</top>
</coordinates>
<include>dialogeffect</include>
<controls>
<control type="image">
<left>0</left>
<top>0</top>
<width>1040</width>
<height>600</height>
<texture border="40">DialogBack.png</texture>
</control>
<control type="image">
<left>20</left>
<top>20</top>
<width>1000</width>
<height>560</height>
<texture>$INFO[Skin.CurrentTheme,special://skin/backgrounds/,.jpg]</texture>
<visible>![Skin.HasSetting(UseCustomBackground) + !IsEmpty(Skin.String(CustomBackgroundPath))]</visible>
<include>VisibleFadeEffect</include>
<colordiffuse>FF444444</colordiffuse>
</control>
<control type="image">
<description>Dialog Header image</description>
<left>40</left>
<top>16</top>
<width>960</width>
<height>40</height>
<texture>dialogheader.png</texture>
</control>
<control type="label" id="1">
<description>header label</description>
<left>40</left>
<top>20</top>
<width>960</width>
<height>30</height>
<font>font13_title</font>
<label>Person Info</label>
<align>center</align>
<aligny>center</aligny>
<textcolor>selected</textcolor>
<shadowcolor>black</shadowcolor>
</control>
<!--
<control type="button" id="8">
<description>Close Window button</description>
<left>960</left>
<top>15</top>
<width>64</width>
<height>32</height>
<label>-</label>
<font>-</font>
<onclick>PreviousMenu</onclick>
<texturefocus>DialogCloseButton-focus.png</texturefocus>
<texturenofocus>DialogCloseButton.png</texturenofocus>
<onleft>-</onleft>
<onright>-</onright>
<onup>-</onup>
<ondown>3005</ondown>
</control>
-->
<control type="label" id="3000">
<description>person name</description>
<left>30</left>
<top>65</top>
<width>550</width>
<height>100</height>
<align>left</align>
<label>-</label>
<font>font13</font>
<textcolor>white</textcolor>
</control>
<control type="image" id="3009">
<left>30</left>
<top>120</top>
<width>250</width>
<height>250</height>
<aspectratio>keep</aspectratio>
</control>
<control type="textbox" id="3001">
<description>text</description>
<left>300</left>
<top>100</top>
<width>630</width>
<height>280</height>
<align>left</align>
<label>-</label>
<font>font12</font>
<pagecontrol>3005</pagecontrol>
</control>
<control type="scrollbar" id="3005">
<left>940</left>
<top>100</top>
<width>20</width>
<height>280</height>
<texturesliderbackground border="0,14,0,14">ScrollBarV.png</texturesliderbackground>
<texturesliderbar border="2,16,2,16">ScrollBarV_bar.png</texturesliderbar>
<texturesliderbarfocus border="2,16,2,16">ScrollBarV_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onup>8</onup>
<onleft>3001</onleft>
<onright>-</onright>
<ondown>3010</ondown>
<showonepage>false</showonepage>
<orientation>vertical</orientation>
</control>
<control type="list" id="3010">
<left>40</left>
<top>390</top>
<width>940</width>
<height>170</height>
<onleft>-</onleft>
<onright>-</onright>
<onup>3005</onup>
<ondown>3011</ondown>
<pagecontrol>3011</pagecontrol>
<scrolltime>200</scrolltime>
<orientation>horizontal</orientation>
<itemlayout width="120">
<control type="image">
<left>0</left>
<top>0</top>
<width>100</width>
<height>150</height>
<texture>$INFO[Listitem.Icon]</texture>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
</control>
<control type="label">
<left>0</left>
<top>150</top>
<width>100</width>
<height>20</height>
<align>left</align>
<font>font10</font>
<textcolor>FFFFFFFFFF</textcolor>
<label>$INFO[Listitem.Label2]</label>
</control>
</itemlayout>
<focusedlayout width="120">
<control type="image">
<left>0</left>
<top>0</top>
<width>100</width>
<height>150</height>
<texture>$INFO[Listitem.Icon]</texture>
<bordertexture border="5">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
</control>
<control type="image">
<left>0</left>
<top>0</top>
<width>100</width>
<height>150</height>
<texture>$INFO[Listitem.Icon]</texture>
<bordertexture border="5">button-focus.png</bordertexture>
<bordersize>5</bordersize>
<visible>Control.HasFocus(3010)</visible>
</control>
<control type="label">
<left>0</left>
<top>150</top>
<width>100</width>
<height>20</height>
<align>left</align>
<font>font10</font>
<textcolor>FFFFFFFFFF</textcolor>
<label>$INFO[Listitem.Label2]</label>
</control>
</focusedlayout>
</control>
<control type="scrollbar" id="3011">
<left>40</left>
<top>560</top>
<width>940</width>
<height>20</height>
<texturesliderbackground border="14,0,14,0">ScrollBarH.png</texturesliderbackground>
<texturesliderbar border="16,2,16,2">ScrollBarH_bar.png</texturesliderbar>
<texturesliderbarfocus border="16,2,16,2">ScrollBarH_bar_focus.png</texturesliderbarfocus>
<textureslidernib>ScrollBarNib.png</textureslidernib>
<textureslidernibfocus>ScrollBarNib.png</textureslidernibfocus>
<onup>3010</onup>
<showonepage>false</showonepage>
<orientation>horizontal</orientation>
</control>
</controls>
</window>