Peripheral support and bug fixes

This commit is contained in:
Chris Bevan 2015-07-25 12:51:55 +01:00
parent 990bce9eaf
commit 3d8eb7693f
7 changed files with 203 additions and 161 deletions

View File

@ -4,68 +4,63 @@
<controls>
<!--background-->
<include>globalBackground</include>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>colors/black.png</texture>
<aspectratio>stretch</aspectratio>
<colordiffuse>99ffffff</colordiffuse>
</control>
<control type="group">
<posx>col-5-begin</posx>
<posy>row-2-begin</posy>
<posx>col-4-begin</posx>
<posy>row-5-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="image">
<posx>-384</posx>
<posy>44</posy>
<width>fullscreenWidth</width>
<height>1-row</height>
<posx>0</posx>
<posy>0</posy>
<width>18-col</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>-3</posx>
<posy>44</posy>
<width>3</width>
<height>1-row</height>
<posx>0</posx>
<posy>2-row</posy>
<width>18-col</width>
<height>18-row</height>
<texture>colors/black.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>14-col</width>
<height>18-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="label" id="1">
<posx>12</posx>
<posy>44</posy>
<width>8-col</width>
<posx>24</posx>
<posy>0</posy>
<width>16-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>dialogTitle</font>
<label>$LOCALIZE[35000]</label>
<textcolor>black</textcolor>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<control type="panel" id="20">
<posx>0</posx>
<posy>120</posy>
<width>12-col</width>
<height>14-row</height>
<posy>2-row</posy>
<width>14-col</width>
<height>18-row</height>
<onup>10</onup>
<ondown>10</ondown>
<onright>9000</onright>
<scrolltime>200</scrolltime>
<itemlayout height="2-row" width="12-col">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>12-col-gutter</width>
<height>107</height>
<aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture>
<colordiffuse>77ffffff</colordiffuse>
</control>
<itemlayout height="3-row" width="14-col">
<control type="label">
<description>Name</description>
<posx>12</posx>
<posy>0</posy>
<width>12-col-gutter</width>
<posx>24</posx>
<posy>3</posy>
<width>13-col</width>
<height>1-row</height>
<label>$INFO[ListItem.Label]</label>
<font>itemTitle</font>
@ -73,9 +68,9 @@
</control>
<control type="label">
<description>Product ID Vendor ID</description>
<posx>12</posx>
<posy>32</posy>
<width>12-col-gutter</width>
<posx>24</posx>
<posy>42</posy>
<width>13-col</width>
<height>1-row</height>
<label>$LOCALIZE[35504]: [B]$INFO[ListItem.Property(Product)][/B] $LOCALIZE[35503]: [B]$INFO[ListItem.Property(Vendor)][/B]</label>
<font>smallMedium</font>
@ -83,119 +78,125 @@
</control>
<control type="label">
<description>class</description>
<posx>12</posx>
<posy>60</posy>
<width>12-col-gutter</width>
<posx>24</posx>
<posy>2-row</posy>
<width>13-col</width>
<height>1-row</height>
<label>$LOCALIZE[35501]: [B]$INFO[ListItem.Property(Class)][/B] $LOCALIZE[19114]: [B]$INFO[ListItem.Property(Version)][/B]</label>
<font>smallMedium</font>
<textcolor>textActive</textcolor>
</control>
</itemlayout>
<focusedlayout height="2-row" width="12-col">
<focusedlayout height="3-row" width="14-col">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>12-col-gutter</width>
<height>107</height>
<posy>0</posy>
<width>14-col</width>
<height>3-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<description>Name</description>
<posx>12</posx>
<posy>0</posy>
<width>12-col-gutter</width>
<posx>24</posx>
<posy>3</posy>
<width>13-col</width>
<height>1-row</height>
<label>$INFO[ListItem.Label]</label>
<font>itemTitle</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<description>Product ID Vendor ID</description>
<posx>12</posx>
<posy>32</posy>
<width>12-col-gutter</width>
<posx>24</posx>
<posy>42</posy>
<width>13-col</width>
<height>1-row</height>
<label>$LOCALIZE[35504]: [B]$INFO[ListItem.Property(Product)][/B] $LOCALIZE[35503]: [B]$INFO[ListItem.Property(Vendor)][/B]</label>
<font>smallMedium</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<description>class</description>
<posx>12</posx>
<posy>60</posy>
<width>12-col-gutter</width>
<posx>24</posx>
<posy>2-row</posy>
<width>13-col</width>
<height>1-row</height>
<label>$LOCALIZE[35501]: [B]$INFO[ListItem.Property(Class)][/B] $LOCALIZE[19114]: [B]$INFO[ListItem.Property(Version)][/B]</label>
<font>smallMedium</font>
<textcolor>black</textcolor>
<shadowcolor>-</shadowcolor>
</control>
</focusedlayout>
</control>
<!--buttons-->
<control type="panel" id="9000">
<posx>12-col</posx>
<posy>120</posy>
<posx>14-col</posx>
<posy>2-row</posy>
<width>4-col</width>
<height>5-row</height>
<itemgap>3</itemgap>
<height>6-row</height>
<orientation>vertical</orientation>
<onleft>20</onleft>
<itemlayout width="4-col" height="1-row">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>4-col</width>
<height>53</height>
<aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture>
</control>
<itemlayout width="6-col" height="2-row">
<control type="label">
<posx>24</posx>
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col</posx>
<posy>2</posy>
<width>4-col</width>
<font>menuTitle</font>
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>3-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</itemlayout>
<focusedlayout width="4-col" height="1-row">
<focusedlayout width="6-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>4-col</width>
<height>53</height>
<posy>0</posy>
<width>1-col-textbox</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<include>spinFocusIcon</include>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>3-col-textbox</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>24</posx>
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>black</textcolor>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col</posx>
<posy>2</posy>
<width>4-col</width>
<font>menuTitle</font>
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>

View File

@ -4,65 +4,63 @@
<controls>
<!--background-->
<include>globalBackground</include>
<control type="image">
<include>dimensionsFullscreen</include>
<texture>colors/black.png</texture>
<aspectratio>stretch</aspectratio>
<colordiffuse>99ffffff</colordiffuse>
</control>
<control type="group">
<posx>col-5-begin</posx>
<posy>row-2-begin</posy>
<posx>col-4-begin</posx>
<posy>row-5-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="image">
<posx>-384</posx>
<posy>44</posy>
<width>fullscreenWidth</width>
<height>1-row</height>
<posx>0</posx>
<posy>0</posy>
<width>18-col</width>
<height>2-row</height>
<texture>colors/white.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<colordiffuse>highlight</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>-3</posx>
<posy>44</posy>
<width>3</width>
<height>1-row</height>
<posx>0</posx>
<posy>2-row</posy>
<width>18-col</width>
<height>18-row</height>
<texture>colors/black.png</texture>
<colordiffuse>ffffffff</colordiffuse>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="image">
<posx>0</posx>
<posy>2-row</posy>
<width>14-col</width>
<height>18-row</height>
<texture>colors/black.png</texture>
<colordiffuse>overlay</colordiffuse>
<aspectratio>stretch</aspectratio>
</control>
<control type="label" id="1">
<posx>12</posx>
<posy>44</posy>
<width>8-col</width>
<posx>24</posx>
<posy>0</posy>
<width>16-col</width>
<height>2-row</height>
<aligny>center</aligny>
<font>dialogTitle</font>
<label>$LOCALIZE[5]</label>
<textcolor>black</textcolor>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
</control>
<control type="grouplist" id="5">
<posx>0</posx>
<posy>120</posy>
<width>12-col-gutter</width>
<height>11-row</height>
<posy>2-row</posy>
<width>14-col</width>
<height>18-row</height>
<onright>9000</onright>
<onup>5</onup>
<ondown>5</ondown>
<orientation>vertical</orientation>
<itemgap>3</itemgap>
</control>
<control type="button" id="7">
<description>Default Button</description>
<align>left</align>
<height>54</height>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<focusedcolor>black</focusedcolor>
<texturefocus>colors/white.png</texturefocus>
<texturenofocus>-</texturenofocus>
<textoffsetx>12</textoffsetx>
</control>
<control type="radiobutton" id="8">
<description>Default RadioButton</description>
@ -75,64 +73,73 @@
</control>
<!--buttons-->
<control type="panel" id="9000">
<posx>12-col</posx>
<posy>120</posy>
<posx>14-col</posx>
<posy>2-row</posy>
<width>4-col</width>
<height>5-row</height>
<itemgap>3</itemgap>
<height>9-row</height>
<orientation>vertical</orientation>
<onleft>5</onleft>
<itemlayout width="4-col" height="1-row">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>4-col</width>
<height>53</height>
<aspectratio>stretch</aspectratio>
<texture>colors/black.png</texture>
</control>
<itemlayout width="6-col" height="2-row">
<control type="label">
<posx>24</posx>
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col</posx>
<posy>2</posy>
<width>4-col</width>
<font>menuTitle</font>
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>3-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>
</control>
</itemlayout>
<focusedlayout width="4-col" height="1-row">
<focusedlayout width="6-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>2</posy>
<width>4-col</width>
<height>53</height>
<posy>0</posy>
<width>1-col-textbox</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
<colordiffuse>highlight</colordiffuse>
<include>spinFocusIcon</include>
</control>
<control type="image">
<posx>1-col</posx>
<posy>0</posy>
<width>3-col-textbox</width>
<height>2-row</height>
<aspectratio>stretch</aspectratio>
<texture>colors/white.png</texture>
</control>
<control type="label">
<posx>24</posx>
<posx>0</posx>
<posy>0</posy>
<width>1-col</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>black</textcolor>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label2]</label>
<shadowcolor>-</shadowcolor>
</control>
<control type="label">
<posx>1-col</posx>
<posy>2</posy>
<width>4-col</width>
<font>menuTitle</font>
<posx>1-col-indent</posx>
<posy>-1</posy>
<width>5-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>buttonTitle</font>
<textcolor>black</textcolor>
<label>$INFO[ListItem.label]</label>
<shadowcolor>-</shadowcolor>

View File

@ -28,9 +28,9 @@
</item>
<!--latest items-->
<item>
<visible>Library.HasContent(Video)</visible>
<label>31005</label>
<label2/>
<onclick>reloadskin()</onclick>
<onclick>activateWindow(VideoLibrary)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,true)</onclick>
<onclick>Control.SetFocus(9998)</onclick>
@ -204,12 +204,12 @@
</item>
<!--latest items-->
<item>
<visible>Library.HasContent(music)</visible>
<label>31005</label>
<label2/>
<onclick>reloadskin()</onclick>
<onclick>ActivateWindow(MusicLibrary)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,true)</onclick>
<onclick>Control.SetFocus(9998)</onclick>
<onclick>Control.SetFocus(9123)</onclick>
</item>
<!--music-->
<item>

View File

@ -34,13 +34,26 @@
<colordiffuse>overlay</colordiffuse>
</control>
<control type="image">
<visible>ListItem.IsPlaying</visible>
<visible>ListItem.IsPlaying + !player.paused</visible>
<posx>12</posx>
<posy>0</posy>
<width>1-col-gutter</width>
<height>1-col-gutter</height>
<texture>equaliser.gif</texture>
</control>
<control type="label">
<visible>ListItem.IsPlaying + player.paused</visible>
<posx>0</posx>
<posy>0</posy>
<width>1-col-textbox</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
</control>
<control type="image">
<visible>!ListItem.IsPlaying</visible>
<posx>0</posx>
@ -106,7 +119,7 @@
<colordiffuse>highlight</colordiffuse>
</control>
<control type="image">
<visible>ListItem.IsPlaying</visible>
<visible>ListItem.IsPlaying + !player.paused</visible>
<posx>12</posx>
<posy>0</posy>
<width>1-col-gutter</width>
@ -117,6 +130,23 @@
<effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
</animation>
</control>
<control type="label">
<visible>ListItem.IsPlaying + player.paused</visible>
<posx>0</posx>
<posy>0</posy>
<width>1-col-textbox</width>
<height>2-row</height>
<align>center</align>
<aligny>center</aligny>
<font>symbol</font>
<textcolor>textActive</textcolor>
<shadowcolor>-</shadowcolor>
<label></label>
<animation type="focus" loop="false" reversible="false">
<effect type="fade" time="500"/>
<effect type="rotatey" end="360" center="33" tween="back" easing="out" time="1000"/>
</animation>
</control>
<control type="image">
<visible>!ListItem.IsPlaying</visible>
<posx>0</posx>

View File

@ -182,11 +182,13 @@
</focusedlayout>
<content>
<item id="1">
<visible>Library.HasContent(movies)</visible>
<label>recentmovies</label>
<property name="textTitle">31176</property>
<onclick>noop</onclick>
</item>
<item id="2">
<visible>Library.HasContent(tvshows)</visible>
<label>recentepisodes</label>
<property name="textTitle">31178</property>
<onclick>noop</onclick>

View File

@ -5,6 +5,8 @@
<onload>RunScript(script.artistslideshow)</onload>
<onload>AlarmClock(controlDialog,setfocus(9876),00:05,silent)</onload>
<onunload>activateWindow(MusicLibrary)</onunload>
<onunload>Skin.SetString(showRecentMusicItems,true)</onunload>
<onunload>control.setfocus(9000)</onunload>
<controls>
<include>globalBackground</include>
<control type="group">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.pellucid" version="0.6.0" name="Pellucid" provider-name="theDeadman">
<requires>
<import addon="xbmc.gui" version="5.3.0"/>
<import addon="xbmc.gui" version="5.9.0"/>
<import addon="script.globalsearch" version="1.1.1"/>
<import addon="script.artistslideshow" version="1.5.0"/>
<import addon="script.thedeadman.functions" version="1.0.1"/>