Skip to content

Commit

Permalink
[Estuary][PVR] Guide window: If both channel icon and programme thumb…
Browse files Browse the repository at this point in the history
…nail are available, show both, like we already do in fullscreen OSD.
  • Loading branch information
ksooo committed May 10, 2024
1 parent 1104dbd commit a51ef75
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 37 deletions.
47 changes: 47 additions & 0 deletions addons/skin.estuary/xml/Includes_PVR.xml
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,53 @@
<visible>!String.IsEmpty(PVR.ChannelNumberInput)</visible>
</control>
</include>
<include name="EpgEventDetails">
<definition>
<control type="group">
<top>0</top>
<left>350</left>
<right>$PARAM[right]</right>
<control type="label">
<width>100%</width>
<height>30</height>
<label>[B]$INFO[ListItem.EpgEventTitle][/B] $INFO[ListItem.Year,([COLOR grey],[/COLOR])]</label>
</control>
<control type="label">
<top>35</top>
<width>100%</width>
<height>30</height>
<label>$VAR[FlagDashLabel][I][COLOR grey]$VAR[SeasonEpisodeLabel][/COLOR]$INFO[ListItem.EpisodeName,[COLOR white],[/COLOR]][/I]</label>
</control>
</control>
<control type="textbox">
<left>350</left>
<top>85</top>
<right>$PARAM[right]</right>
<height>130</height>
<align>justify</align>
<label>$INFO[ListItem.Plot]</label>
<autoscroll delay="10000" time="3000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
</control>
<control type="group">
<top>220</top>
<left>350</left>
<control type="label">
<top>0</top>
<width>25%</width>
<height>30</height>
<label>$INFO[ListItem.StartTime,[COLOR button_focus]$LOCALIZE[555]:[/COLOR] ]$INFO[ListItem.EndTime, - ]</label>
</control>
<control type="label">
<top>0</top>
<right>$PARAM[right]</right>
<width>75%</width>
<height>30</height>
<align>right</align>
<label>$INFO[ListItem.Genre,[COLOR button_focus]$LOCALIZE[515]:[/COLOR] ]</label>
</control>
</control>
</definition>
</include>
<include name="EpgGrid">
<definition>
<control type="epggrid" id="$PARAM[control_id]">
Expand Down
56 changes: 19 additions & 37 deletions addons/skin.estuary/xml/MyPVRGuide.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,47 +178,29 @@
<height>250</height>
<aspectratio align="center" aligny="center">keep</aspectratio>
<fadetime>400</fadetime>
<texture>$INFO[ListItem.Icon]</texture>
<texture>$INFO[ListItem.ChannelLogo]</texture>
</control>
<control type="group">
<top>0</top>
<left>350</left>
<control type="label">
<width>70%</width>
<height>30</height>
<label>[B]$INFO[ListItem.EpgEventTitle][/B] $INFO[ListItem.Year,([COLOR grey],[/COLOR])]</label>
</control>
<control type="label">
<top>0</top>
<right>30</right>
<width>30%</width>
<height>30</height>
<align>right</align>
<label>[COLOR button_focus]$INFO[ListItem.StartTime,[COLOR grey]$LOCALIZE[555]:[/COLOR] ][/COLOR]$INFO[ListItem.EndTime,[COLOR button_focus] - ,[/COLOR]]</label>
</control>
<control type="label">
<top>35</top>
<width>60%</width>
<height>30</height>
<label>$VAR[FlagDashLabel][I][COLOR grey]$VAR[SeasonEpisodeLabel][/COLOR]$INFO[ListItem.EpisodeName,[COLOR white],[/COLOR]][/I]</label>
</control>
<control type="label">
<top>35</top>
<right>30</right>
<width>40%</width>
<height>30</height>
<align>right</align>
<label>$INFO[ListItem.Genre,[COLOR grey]$LOCALIZE[515]:[/COLOR] ]</label>
</control>
<visible>String.IsEmpty(ListItem.EpgEventIcon)</visible>
<include content="EpgEventDetails">
<param name="right" value="30"/>
</include>
</control>
<control type="textbox">
<left>350</left>
<top>85</top>
<control type="group">
<visible>!String.IsEmpty(ListItem.EpgEventIcon)</visible>
<include content="EpgEventDetails">
<param name="right" value="350"/>
</include>
</control>
<control type="image">
<top>10</top>
<right>30</right>
<height>170</height>
<align>justify</align>
<label>$INFO[ListItem.Plot]</label>
<autoscroll delay="10000" time="3000" repeat="10000">Skin.HasSetting(AutoScroll)</autoscroll>
<width>290</width>
<height>250</height>
<aspectratio align="center" aligny="center">keep</aspectratio>
<fadetime>400</fadetime>
<texture>$INFO[ListItem.EpgEventIcon]</texture>
<visible>!String.IsEmpty(ListItem.EpgEventIcon)</visible>
</control>
</control>
</control>
Expand Down

0 comments on commit a51ef75

Please sign in to comment.