Skip to content

Instantly share code, notes, and snippets.

@rpcameron
Created December 29, 2016 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpcameron/eb8707c2e7cb217bad3a02e9b59b5cc2 to your computer and use it in GitHub Desktop.
Save rpcameron/eb8707c2e7cb217bad3a02e9b59b5cc2 to your computer and use it in GitHub Desktop.
Kodi skin.estuary mods
--- /usr/share/kodi/addons/skin.estuary/xml/MyPVRGuide.xml
+++ /home/rob/proj/estuary/MyPVRGuide.xml
@@ -56,7 +56,6 @@
<height>60</height>
<font>font32_title</font>
<label>$INFO[ListItem.ChannelNumberLabel]</label>
- <align>center</align>
<aligny>center</aligny>
</control>
<control type="label" id="1">
@@ -64,7 +63,7 @@
<top>-2</top>
<width>350</width>
<height>60</height>
- <font>font12</font>
+ <font>font14</font>
<label>$INFO[ListItem.ChannelName]</label>
<aligny>center</aligny>
<textoffsetx>10</textoffsetx>
@@ -79,7 +78,6 @@
<font>font32_title</font>
<label>$INFO[ListItem.ChannelNumberLabel]</label>
<textcolor>button_focus</textcolor>
- <align>center</align>
<aligny>center</aligny>
</control>
<control type="label" id="1">
@@ -87,7 +85,7 @@
<top>-2</top>
<width>350</width>
<height>60</height>
- <font>font12</font>
+ <font>font14</font>
<label>$INFO[ListItem.ChannelName]</label>
<textcolor>button_focus</textcolor>
<aligny>center</aligny>
@@ -98,23 +96,15 @@
<control type="image" id="2">
<width>58</width>
<height>58</height>
- <texture border="3" fallback="windows/pvr/epg-genres/0.png">$INFO[ListItem.Property(GenreType),windows/pvr/epg-genres/,.png]</texture>
+ <texture border="3" fallback="windows/pvr/epg-genres/0.png">$VAR[PVRTimerBackground]</texture>
</control>
<control type="label" id="1">
<left>6</left>
- <top>0</top>
- <width>50</width>
- <height>36</height>
- <aligny>center</aligny>
- <font>font12</font>
+ <top>7</top>
+ <width>48</width>
+ <height>48</height>
+ <font>font13</font>
<label>$INFO[ListItem.Label]</label>
- </control>
- <control type="image">
- <left>6</left>
- <top>35</top>
- <width>20</width>
- <height>20</height>
- <texture>$VAR[PVRTimerIcon]</texture>
</control>
</itemlayout>
<focusedlayout height="62" width="60">
@@ -135,24 +125,16 @@
<width>58</width>
<height>58</height>
<top>0</top>
- <texture border="3" fallback="windows/pvr/epg-genres/0.png">$INFO[ListItem.Property(GenreType),windows/pvr/epg-genres/,.png]</texture>
+ <texture border="3" fallback="windows/pvr/epg-genres/0.png">$VAR[PVRTimerBackground]</texture>
<visible>!Control.HasFocus(10)</visible>
</control>
<control type="label" id="1">
<left>6</left>
- <top>0</top>
- <width>50</width>
- <height>36</height>
- <aligny>center</aligny>
- <font>font12</font>
+ <top>7</top>
+ <width>48</width>
+ <height>48</height>
+ <font>font13</font>
<label>$INFO[ListItem.Label]</label>
- </control>
- <control type="image">
- <left>6</left>
- <top>35</top>
- <width>20</width>
- <height>20</height>
- <texture>$VAR[PVRTimerIcon]</texture>
</control>
</focusedlayout>
</control>
@@ -185,7 +167,7 @@
<right>60</right>
<height>30</height>
<textcolor>button_focus</textcolor>
- <label>$INFO[ListItem.StartTime,, - ]$INFO[ListItem.EndTime]$INFO[ListItem.EpgEventTitle, [COLOR white],[/COLOR]]$INFO[ListItem.EpisodeName, [COLOR grey](,)[/COLOR]]$INFO[ListItem.Genre, $LOCALIZE[515]: [COLOR grey],[/COLOR]]</label>
+ <label>$INFO[ListItem.StartTime,, - ]$INFO[ListItem.EndTime]$INFO[ListItem.EpgEventTitle, [COLOR grey],[/COLOR]]$INFO[ListItem.EpisodeName, [COLOR grey](,)[/COLOR]]</label>
</control>
<control type="textbox">
<left>300</left>
--- /usr/share/kodi/addons/skin.estuary/xml/MyPVRRecordings.xml
+++ /home/rob/proj/estuary/MyPVRRecordings.xml
@@ -12,9 +12,10 @@
<include>OpenClose_Left</include>
<control type="fixedlist" id="50">
<left>0</left>
- <top>list_y_offset</top>
+ <top>100</top>
<right>778</right>
<bottom>list_y_offset</bottom>
+ <height>905</height>
<onleft>9000</onleft>
<onright>73</onright>
<onup>50</onup>
--- /usr/share/kodi/addons/skin.estuary/xml/Variables.xml
+++ /home/rob/proj/estuary/Variables.xml
@@ -417,4 +417,10 @@
<value condition="String.IsEqual(Skin.String(background_overlay),0)">$LOCALIZE[231]</value>
<value>$INFO[Skin.String(background_overlay),$LOCALIZE[467] ]</value>
</variable>
+ <variable name="PVRTimerBackground">
+ <value condition="ListItem.IsRecording | ListItem.HasRecording">windows/pvr/epg-genres/96.png</value>
+ <value condition="ListItem.HasTimer | ListItem.HasTimerSchedule">windows/pvr/epg-genres/112.png</value>
+ <value condition="[ListItem.HasTimerSchedule + ListItem.TimerHasError] | [ListItem.HasTimer + ListItem.TimerHasError] | [ListItem.HasTimerSchedule + ListItem.TimerHasConflict] | [ListItem.HasTimer + ListItem.TimerHasConflict]">windows/pvr/epg-genres/64.png</value>
+ <value condition="[ListItem.HasTimerSchedule + !ListItem.TimerIsActive] | [ListItem.HasTimer + !ListItem.TimerIsActive]">windows/pvr/epg-genres/160.png</value>
+ </variable>
</includes>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment