Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
hint labels and fix network logo in info
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Nov 6, 2022
1 parent 5950bf7 commit e9d9c11
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 1080i/Font.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
<font>
<name>font_osd_lang</name>
<filename>RobotoCondensed-Regular.ttf</filename>
<size>14</size>
<linespacing>1.2</linespacing>
<size>16</size>
<linespacing>1.05</linespacing>
</font>

<!-- Dialog Hint Label -->
Expand Down
2 changes: 1 addition & 1 deletion 1080i/Includes_DialogInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<visible>!Window.IsActive(script-tmdbhelper-recommendations.xml)</visible>
<animation effect="fade" start="0" end="100" delay="400" time="400">Visible</animation>
<animation effect="fade" start="100" end="0" delay="0" time="400">Hidden</animation>
<include>Furniture_Bottom_Left</include>
<include>Furniture_Bottom</include>
<include content="DialogInfo_MouseNavArrow">
<visible>$PARAM[arrow_visible]</visible>
</include>
Expand Down
45 changes: 45 additions & 0 deletions 1080i/Includes_Items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<param name="icon" value="special://skin/extras/icons/play3.png" />
<param name="visible" value="Control.IsEnabled(12)" />
<onclick>SendClick(12)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$INFO[Control.GetLabel(12)]</param>
</include>
</include>
<include content="OSD_Button" description="Install">
<param name="vertical">true</param>
Expand All @@ -39,6 +42,9 @@
<param name="icon" value="$VAR[Image_AddonInfo_Install]" />
<param name="visible" value="Control.IsEnabled(6) + !Skin.HasSetting(KioskMode.Management)" />
<onclick>SendClick(6)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$INFO[Control.GetLabel(6)]</param>
</include>
</include>
<include content="OSD_Button" description="Enable">
<param name="vertical">true</param>
Expand All @@ -49,6 +55,9 @@
<param name="icon" value="$VAR[Image_AddonInfo_Enable]" />
<param name="visible" value="Control.IsEnabled(7) + !Skin.HasSetting(KioskMode.Management)" />
<onclick>SendClick(7)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$INFO[Control.GetLabel(7)]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -59,6 +68,9 @@
<param name="icon" value="special://skin/extras/icons/settings.png" />
<param name="visible">!Integer.IsEqual(Container(9000).NumItems,0) + !Skin.HasSetting(KioskMode.Management)</param>
<onclick>SetFocus(9000)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[31002]</param>
</include>
</include>
</include>

Expand All @@ -71,6 +83,9 @@
<param name="icon" value="special://skin/extras/icons/livetv.png" />
<param name="label" value="$LOCALIZE[19165]" />
<param name="visible" value="Window.IsActive(PVRGuideInfo) + Control.IsEnabled(5) + Control.IsVisible(5)" />
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[19165]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -80,6 +95,9 @@
<param name="icon" value="special://skin/extras/icons/play3.png" />
<param name="label" value="$LOCALIZE[19190]" />
<param name="visible" value="Window.IsActive(PVRGuideInfo) + Control.IsEnabled(10) + Control.IsVisible(10)" />
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[19190]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -89,6 +107,9 @@
<param name="icon" value="special://skin/extras/icons/play3.png" />
<param name="label" value="$LOCALIZE[19687]" />
<param name="visible" value="[Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRecordingInfo)] + Control.IsEnabled(8) + Control.IsVisible(8)" />
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[19687]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -98,6 +119,9 @@
<param name="icon" value="special://skin/extras/icons/search.png" />
<param name="label" value="$LOCALIZE[19003]" />
<param name="visible" value="[Window.IsActive(PVRGuideInfo) | Window.IsActive(PVRRecordingInfo)] + Control.IsEnabled(4) + Control.IsVisible(4)" />
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[137]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -108,6 +132,9 @@
<param name="icon" value="special://skin/extras/icons/settings.png" />
<param name="visible">!Integer.IsEqual(Container(9000).NumItems,0) + !Skin.HasSetting(KioskMode.Management)</param>
<onclick>SetFocus(9000)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[31002]</param>
</include>
</include>
</include>

Expand Down Expand Up @@ -154,6 +181,9 @@
<param name="icon" value="$VAR[Image_VideoInfo_PlayButton]" />
<include condition="Window.IsVisible(1190)">Items_DialogVideoInfo_MenuBar_PlayButton_Action_1190</include>
<include condition="!Window.IsVisible(1190)">Items_DialogVideoInfo_MenuBar_PlayButton_Action_1191</include>
<include content="OSD_Button_HintLabel">
<param name="label">$VAR[Label_VideoInfo_PlayButton]</param>
</include>
</include>
<include content="OSD_Button" condition="!$EXP[Exp_IsPersonInfo]">
<param name="vertical">true</param>
Expand All @@ -168,6 +198,9 @@
<onclick condition="String.IsEmpty(ListItem.Trailer)">SetProperty(HasTrailer,$INFO[Container(99950).ListItem.Trailer],Home)</onclick>
<onclick condition="!String.IsEmpty(ListItem.Trailer)">SetProperty(HasTrailer,$INFO[ListItem.Trailer],Home)</onclick>
<onclick>SetFocus(7001)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[20410]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -182,6 +215,9 @@
<onclick condition="String.IsEmpty(ListItem.TvShowTitle) + String.IsEmpty(ListItem.Title)">SetProperty(CustomSearchTerm,$ESCINFO[ListItem.Label],Home)</onclick>
<onclick condition="Window.IsVisible(1190)">RunScript(plugin.video.themoviedb.helper,close_dialog=1190,call_id=1114)</onclick>
<onclick condition="!Window.IsVisible(1190)">RunScript(plugin.video.themoviedb.helper,recommendations=onaction,window_id=1191,builtin=ActivateWindow(1114),after=True)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[137]</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -196,6 +232,9 @@

<onclick condition="!String.IsEmpty(ListItem.Property(tmdb_id)) + String.IsEqual(ListItem.DBType,episode)">RunScript(plugin.video.themoviedb.helper,sync_trakt,tmdb_id=$INFO[ListItem.Property(tmdb_id)],$VAR[Path_Param_Type],season=$INFO[ListItem.Season],episode=$INFO[ListItem.Episode],cache_refresh)</onclick>
<onclick condition="String.IsEmpty(ListItem.Property(tmdb_id)) + String.IsEqual(ListItem.DBType,episode)">RunScript(plugin.video.themoviedb.helper,sync_trakt,tmdb_id=$INFO[Container(99950).ListItem.Property(tmdb_id)],$VAR[Path_Param_Type],season=$INFO[ListItem.Season],episode=$INFO[ListItem.Episode],cache_refresh)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">Trakt</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -205,6 +244,9 @@
<param name="label" value="Wiki" />
<param name="icon" value="special://skin/extras/icons/globe.png" />
<onclick>runscript(plugin.video.themoviedb.helper,wikipedia=$VAR[Path_Wikipedia_Title],tmdb_type=$VAR[Path_Wikipedia_Type])</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">Wikipedia</param>
</include>
</include>
<include content="OSD_Button">
<param name="vertical">true</param>
Expand All @@ -215,6 +257,9 @@
<param name="icon" value="special://skin/extras/icons/settings.png" />
<param name="visible">!Integer.IsEqual(Container(9000).NumItems,0) + !Skin.HasSetting(KioskMode.Management)</param>
<onclick>SetFocus(9000)</onclick>
<include content="OSD_Button_HintLabel">
<param name="label">$LOCALIZE[31002]</param>
</include>
</include>
</include>

Expand Down
11 changes: 11 additions & 0 deletions 1080i/Includes_OSD.xml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,17 @@
</definition>
</include>

<include name="OSD_Button_HintLabel">
<label>[CR][CR][CR]$PARAM[label]</label>
<textcolor>main_fg_90</textcolor>
<focusedcolor>main_fg_90</focusedcolor>
<shadowcolor>shadow_hard</shadowcolor>
<font>font_osd_lang</font>
<align>center</align>
<aligny>top</aligny>
<textoffsetx>0</textoffsetx>
</include>

<include name="OSD_Button">
<param name="size" default="60" />
<param name="bordersize" default="6" />
Expand Down
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="skin.arctic.horizon.2" name="Arctic Horizon 2" provider-name="jurialmunkey" version="0.6.4">
<addon id="skin.arctic.horizon.2" name="Arctic Horizon 2" provider-name="jurialmunkey" version="0.6.5">
<requires>
<import addon="xbmc.gui" version="5.15.0" />
<import addon="script.skinshortcuts" version="0.4.0" />
Expand Down

0 comments on commit e9d9c11

Please sign in to comment.