aboutsummaryrefslogtreecommitdiff
path: root/addons/skin.estuary
diff options
context:
space:
mode:
authorKai Sommerfeld <kai.sommerfeld@gmx.com>2019-09-20 06:02:40 +0200
committerKai Sommerfeld <kai.sommerfeld@gmx.com>2019-09-21 17:42:14 +0200
commit36bea93395c7be2e71536ebbbed9317d9892f1d2 (patch)
treea5dc4e5ed686e89496d0e3f4090f77dcf4566085 /addons/skin.estuary
parent1842103d59ff7af498244168b57473b6e0133b7e (diff)
[PVR][guiinfo][Estuary] New GUI info label Listitem.IsPremiere + implementation for PVR EPG info tags + visualization in Estuary.
Diffstat (limited to 'addons/skin.estuary')
-rw-r--r--addons/skin.estuary/media/icons/pvr/premiere.pngbin0 -> 756 bytes
-rw-r--r--addons/skin.estuary/xml/DialogPVRInfo.xml2
-rw-r--r--addons/skin.estuary/xml/Includes_PVR.xml28
-rw-r--r--addons/skin.estuary/xml/Variables.xml4
4 files changed, 29 insertions, 5 deletions
diff --git a/addons/skin.estuary/media/icons/pvr/premiere.png b/addons/skin.estuary/media/icons/pvr/premiere.png
new file mode 100644
index 0000000000..4c6c11d8fb
--- /dev/null
+++ b/addons/skin.estuary/media/icons/pvr/premiere.png
Binary files differ
diff --git a/addons/skin.estuary/xml/DialogPVRInfo.xml b/addons/skin.estuary/xml/DialogPVRInfo.xml
index 9f3fe7e1f6..80914a1c6b 100644
--- a/addons/skin.estuary/xml/DialogPVRInfo.xml
+++ b/addons/skin.estuary/xml/DialogPVRInfo.xml
@@ -49,7 +49,7 @@
<width>1050</width>
<height>425</height>
<align>justify</align>
- <label>$INFO[ListItem.ChannelName,[B],[/B][CR]]$INFO[ListItem.Date,[COLOR grey]$LOCALIZE[552]:[/COLOR] ,[CR]]$INFO[ListItem.Duration,[COLOR grey]$LOCALIZE[180]:[/COLOR] ,[CR]]$INFO[ListItem.Premiered,[COLOR grey]$LOCALIZE[20416]:[/COLOR] ,[CR]]$INFO[ListItem.Rating,[COLOR grey]$LOCALIZE[563]:[/COLOR] ,[CR]]$VAR[ExpirationDateTimeLabel]$INFO[ListItem.Genre,[COLOR grey]$LOCALIZE[515]:[/COLOR] ,[CR]]$INFO[ListItem.Writer,[COLOR grey]$LOCALIZE[20417]:[/COLOR] ,[CR]]$INFO[ListItem.Director,[COLOR grey]$LOCALIZE[20339]:[/COLOR] ,[CR]]$INFO[ListItem.Cast,[COLOR grey]$LOCALIZE[206]:[/COLOR] ,[CR]][CR]$INFO[ListItem.Plot]</label>
+ <label>$INFO[ListItem.ChannelName,[B],[/B][CR]]$INFO[ListItem.Date,[COLOR grey]$LOCALIZE[552]:[/COLOR] ,[CR]]$INFO[ListItem.Duration,[COLOR grey]$LOCALIZE[180]:[/COLOR] ,[CR]]$VAR[PremieredLabel]$INFO[ListItem.Rating,[COLOR grey]$LOCALIZE[563]:[/COLOR] ,[CR]]$VAR[ExpirationDateTimeLabel]$INFO[ListItem.Genre,[COLOR grey]$LOCALIZE[515]:[/COLOR] ,[CR]]$INFO[ListItem.Writer,[COLOR grey]$LOCALIZE[20417]:[/COLOR] ,[CR]]$INFO[ListItem.Director,[COLOR grey]$LOCALIZE[20339]:[/COLOR] ,[CR]]$INFO[ListItem.Cast,[COLOR grey]$LOCALIZE[206]:[/COLOR] ,[CR]][CR]$INFO[ListItem.Plot]</label>
<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>
<control type="grouplist" id="9000">
diff --git a/addons/skin.estuary/xml/Includes_PVR.xml b/addons/skin.estuary/xml/Includes_PVR.xml
index 4d063a32a0..bbe54bfc53 100644
--- a/addons/skin.estuary/xml/Includes_PVR.xml
+++ b/addons/skin.estuary/xml/Includes_PVR.xml
@@ -461,11 +461,21 @@
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
+ <visible>ListItem.IsPremiere</visible>
<left>6</left>
<top>35</top>
- <width>20</width>
- <height>20</height>
+ <width>16</width>
+ <height>16</height>
+ <aspectratio>keep</aspectratio>
+ <texture colordiffuse="button_focus">icons/pvr/premiere.png</texture>
+ </control>
+ <control type="image">
+ <left>6</left>
+ <top>35</top>
+ <width>16</width>
+ <height>16</height>
<texture>$VAR[PVRTimerIcon]</texture>
+ <animation effect="slide" start="0,0" end="19,0" condition="ListItem.IsPremiere">Conditional</animation>
</control>
</itemlayout>
<focusedlayout height="62" width="60">
@@ -498,11 +508,21 @@
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
+ <visible>ListItem.IsPremiere</visible>
+ <left>6</left>
+ <top>35</top>
+ <width>16</width>
+ <height>16</height>
+ <aspectratio>keep</aspectratio>
+ <texture colordiffuse="button_focus">icons/pvr/premiere.png</texture>
+ </control>
+ <control type="image">
<left>6</left>
<top>35</top>
- <width>20</width>
- <height>20</height>
+ <width>16</width>
+ <height>16</height>
<texture>$VAR[PVRTimerIcon]</texture>
+ <animation effect="slide" start="0,0" end="19,0" condition="ListItem.IsPremiere">Conditional</animation>
</control>
</focusedlayout>
</control>
diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml
index ab9bae788e..a1c1f5f5c2 100644
--- a/addons/skin.estuary/xml/Variables.xml
+++ b/addons/skin.estuary/xml/Variables.xml
@@ -447,6 +447,10 @@
<value condition="String.IsEmpty(ListItem.EpisodeName)">$INFO[ListItem.Season,S]$INFO[ListItem.Episode,E]</value>
<value>$INFO[ListItem.Season,S]$INFO[ListItem.Episode,E,: ]</value>
</variable>
+ <variable name="PremieredLabel">
+ <value condition="!String.IsEmpty(ListItem.Premiered) + ListItem.IsPremiere">[COLOR grey]$LOCALIZE[20416]:[/COLOR] $INFO[ListItem.Premiered] [B]([COLOR button_focus]$LOCALIZE[842][/COLOR])[/B][CR]</value>
+ <value>$INFO[ListItem.Premiered,[COLOR grey]$LOCALIZE[20416]:[/COLOR] ,[CR]]</value>
+ </variable>
<variable name="ExpirationDateTimeLabel">
<value condition="!String.IsEmpty(ListItem.ExpirationDate)">[COLOR grey]$LOCALIZE[19299]:[/COLOR] $INFO[ListItem.ExpirationDate] $INFO[ListItem.ExpirationTime][CR]</value>
</variable>