diff options
author | Martin Vallevand <mvallevand@gmail.com> | 2024-07-07 08:26:10 -0400 |
---|---|---|
committer | Martin Vallevand <mvallevand@gmail.com> | 2024-07-07 08:26:10 -0400 |
commit | 648c9a21f674bd71405e8e54111cd682e461ebd8 (patch) | |
tree | fa4a810a98bf30065832035e3317d92e734cdd5b /addons | |
parent | d212b0a65700fdfa958f87c9617be3117bd89f16 (diff) |
Remove duplicated EpgEventTitle from PVR lists
In the common PVRListItemLayout if the ListItem.Label is the same as the ListItem.EpgEventTitle the sub-labels will show the duplicated title and give priority screen space to it. This skips those displays
Diffstat (limited to 'addons')
-rw-r--r-- | addons/skin.estuary/xml/Variables.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/skin.estuary/xml/Variables.xml b/addons/skin.estuary/xml/Variables.xml index 6a9b291a76..a40f0e31e0 100644 --- a/addons/skin.estuary/xml/Variables.xml +++ b/addons/skin.estuary/xml/Variables.xml @@ -654,15 +654,15 @@ </variable> <variable name="PVRListItemSubLabel"> <value condition="ListItem.IsFolder">[COLOR grey]$INFO[ListItem.Timertype][/COLOR]</value> - <value condition="$EXP[listitem_has_episode_info] + !String.IsEmpty(ListItem.EpgEventTitle) + !String.StartsWith(ListItem.EpisodeName,ListItem.EpgEventTitle)">$INFO[ListItem.EpgEventTitle] | [COLOR grey]$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName][/COLOR]</value> + <value condition="$EXP[listitem_has_episode_info] + !String.IsEmpty(ListItem.EpgEventTitle) + !String.StartsWith(ListItem.EpisodeName,ListItem.EpgEventTitle) + !String.IsEqual(ListItem.EpgEventTitle,ListItem.Label)">$INFO[ListItem.EpgEventTitle] | [COLOR grey]$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName][/COLOR]</value> <value condition="$EXP[listitem_has_episode_info]">[COLOR grey]$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName][/COLOR]</value> - <value>$INFO[ListItem.EpgEventTitle]</value> + <value condition="!String.IsEqual(ListItem.EpgEventTitle,ListItem.Label)">$INFO[ListItem.EpgEventTitle]</value> </variable> <variable name="PVRListItemSubLabelFocused"> <value condition="ListItem.IsFolder">$INFO[ListItem.Timertype]</value> - <value condition="$EXP[listitem_has_episode_info] + !String.IsEmpty(ListItem.EpgEventTitle) + !String.StartsWith(ListItem.EpisodeName,ListItem.EpgEventTitle)">$INFO[ListItem.EpgEventTitle] | $VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName]</value> + <value condition="$EXP[listitem_has_episode_info] + !String.IsEmpty(ListItem.EpgEventTitle) + !String.StartsWith(ListItem.EpisodeName,ListItem.EpgEventTitle) + !String.IsEqual(ListItem.EpgEventTitle,ListItem.Label)">$INFO[ListItem.EpgEventTitle] | [COLOR grey]$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName][/COLOR]</value> <value condition="$EXP[listitem_has_episode_info]">$VAR[SeasonEpisodeLabel]$INFO[ListItem.EpisodeName]</value> - <value>$INFO[ListItem.EpgEventTitle]</value> + <value condition="!String.IsEqual(ListItem.EpgEventTitle,ListItem.Label)">$INFO[ListItem.EpgEventTitle]</value> </variable> <variable name="PVRInfoPanelDateDurationLabel"> <value condition="!String.IsEmpty(ListItem.StartDate) + !String.IsEmpty(ListItem.StartTime)">$INFO[ListItem.StartDate,[COLOR grey]$LOCALIZE[552]:[/COLOR] ,[CR]]$INFO[ListItem.StartTime,[COLOR grey]$LOCALIZE[555]:[/COLOR] ,[CR]]$INFO[ListItem.Duration,[COLOR grey]$LOCALIZE[180]:[/COLOR] ]</value> |