2015-07-07, 12:09
how can i hide the Media center text in the main menu ?
Quote:<include name="GlobalTopBar">
<control type="group">
<include>GlobalLeftHeader</include>
</control>
<control type="group" description="Main Header">
<visible>!Window.IsActive(DialogButtonMenu.xml)</visible>
<include>Animation.VisibleFadeIn</include>
<include>Animation.VisibleFadeOut</include>
<control type="group">
<posx>-10</posx>
<include>HeaderMainInfo</include>
</control>
<control type="group">
<include>Animation.VisibleFadeIn</include>
<include>Animation.VisibleFadeOut</include>
<visible>!Window.IsActive(DialogKaiToast.xml)</visible>
<include>HeaderRightInfo</include>
</control>
</control>
</include>
Quote:<include name="GlobalTopBar">
<control type="group">
<include>GlobalLeftHeader</include>
</control>
<control type="group" description="Main Header">
<visible>!Window.IsActive(DialogButtonMenu.xml)</visible>
<include>Animation.VisibleFadeIn</include>
<include>Animation.VisibleFadeOut</include>
<control type="group">
<posx>-10</posx>
</control>
<control type="group">
<include>Animation.VisibleFadeIn</include>
<include>Animation.VisibleFadeOut</include>
<visible>!Window.IsActive(DialogKaiToast.xml)</visible>
<include>HeaderRightInfo</include>
</control>
</control>
</include>
Quote:<include name="GlobalTopBar">
<control type="group">
<include>GlobalLeftHeader</include>
</control>
<control type="group" description="Main Header">
<visible>!Window.IsActive(DialogButtonMenu.xml)</visible>
<include>Animation.VisibleFadeIn</include>
<include>Animation.VisibleFadeOut</include>
<control type="group">
<posx>-10</posx>
<include>HeaderMainInfo</include>
</control>
<control type="group">
<include>Animation.VisibleFadeIn</include>
<include>Animation.VisibleFadeOut</include>
<visible>!Window.IsActive(DialogKaiToast.xml)</visible>
<include>HeaderRightInfo</include>
</control>
</control>
</include>
Quote: <include name="HeaderMainInfo">
<control type="label">
<posx>245</posx>
<posy>25</posy>
<width>1200</width>
<height>100</height>
<font>Font-Header</font>
<label>$VAR[MainHeaderLabel]</label>
<aligny>top</aligny>
<textcolor>$VAR[TopBarMainLabel]</textcolor>
</control>
Quote: <include name="HeaderMainInfo">
<control type="label">
<posx>245</posx>
<posy>25</posy>
<width>1200</width>
<height>100</height>
<font>Font-Header</font>
<aligny>top</aligny>
<textcolor>$VAR[TopBarMainLabel]</textcolor>
</control>
<variable name="MainHeaderLabel">
[...]
<value condition="!IsEmpty(Skin.String(home.headertext)) + [Window.IsVisible(home) | IsEmpty(Container.NumItems) | Control.HasFocus(9500) | Control.HasFocus(9501)]">$INFO[Skin.String(home.headertext)]</value>
<value condition="Window.IsVisible(home) | IsEmpty(Container.NumItems) | Control.HasFocus(9500) | Control.HasFocus(9501)">$LOCALIZE[31176]</value>
<value>$LOCALIZE[15100]</value>
</variable>
<variable name="MainHeaderLabel">
[...]
<value condition="Window.IsVisible(home) | IsEmpty(Container.NumItems) | Control.HasFocus(9500) | Control.HasFocus(9501)">$INFO[Skin.String(home.headertext)]</value>
<value>$LOCALIZE[15100]</value>
</variable>
(2015-07-11, 13:54)josch Wrote: Hey guys,
additionally here's a more simple hack to achieve removing the "Media Center" text but keep the main header label in general for other infos.
Remove the "Media Center" text from home screen:
1. Navigate to skin.eminence/1080i
2. Open the file Includes_Header.xml and go to:
Code:<variable name="MainHeaderLabel">
[...]
<value>$LOCALIZE[15100]</value>
</variable>
3. Just replace the value on the last line with an empty string:
Code:<variable name="MainHeaderLabel">
[...]
<value></value>
</variable>
cheers
Quote:<variable name="MainHeaderLabel">
<value condition="Window.IsVisible(LoginScreen.xml)">$LOCALIZE[20096]</value>
<value condition="Window.IsVisible(3063)">$LOCALIZE[31164]</value>
<value condition="Window.IsVisible(script-globalsearch-main.xml)">$LOCALIZE[283]</value>
<value condition="Player.HasAudio + IsEmpty(Window(10025).Property(TvTunesIsAlive))">$INFO[Player.Title]</value>
<value condition="Player.HasVideo + !VideoPlayer.Content(livetv)">$INFO[Player.Title]</value>
<value condition="Player.HasVideo + VideoPlayer.Content(livetv)">$INFO[VideoPlayer.ChannelNumber,, ]$INFO[VideoPlayer.ChannelName]</value>
<value condition="Player.HasAudio + IsEmpty(Window(10025).Property(TvTunesIsAlive))">$INFO[Player.Artist]</value>
<value condition="substring(Container.FolderPath,plugin://,left)">$LOCALIZE[24000]</value>
<value condition="Window.IsVisible(MyPVR.xml)">$LOCALIZE[31175]</value>
<value condition="Container.Content(files) | substring(Container.FolderPath,sources://)">$LOCALIZE[1214]</value>
<value condition="!IsEmpty(Skin.String(home.headertext)) + [Window.IsVisible(home) | IsEmpty(Container.NumItems) | Control.HasFocus(9500) | Control.HasFocus(9501)]">$INFO[Skin.String(home.headertext)]</value>
<value condition="Window.IsVisible(home) | IsEmpty(Container.NumItems) | Control.HasFocus(9500) | Control.HasFocus(9501)">$LOCALIZE[31176]</value>
<value></value>
</variable>