2012-11-21, 12:43
2012-11-22, 13:38
I have tried renaming several .xml files in C:\Program Files (x86)\XBMC\addons\skin.confluence\720p\ but so far I have not been able to remove this menu.
Could someone please advise which .xml file I should rename or edit?
Many thanks!
Could someone please advise which .xml file I should rename or edit?
Many thanks!
2012-11-28, 17:14
I found out how to remove the player controls. You have to remove below section from home.xml
Then you have to change following line
<texture flipy="true" border="0,5,0,0" flipx="true">HomeSubEnd.png</texture>
to:
<texture flipy="true" border="0,5,0,0" flipx="true"></texture>
IMHO player controls should ONLY be shown if "Enable mouse and Touch Screen Support" is selected in system settings.
Code:
<control type="radiobutton" id="608">
<colordiffuse>CCFFFFFF</colordiffuse>
<description>Global Search</description>
<posx>35</posx>
<posy>0</posy>
<height>35</height>
<width>145</width>
<textwidth>150</textwidth>
<textoffsetx>10</textoffsetx>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus flipy="true" border="5">HomeSubFO.png</texturefocus>
<texturenofocus flipy="true" border="5">HomeSubNF.png</texturenofocus>
<pulseonselect>false</pulseonselect>
<label>137</label>
<onclick>RunScript(script.globalsearch)</onclick>
<textureradiofocus>icon_search.png</textureradiofocus>
<textureradionofocus>icon_search.png</textureradionofocus>
<onleft>607</onleft>
<onright>601</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<visible>System.HasAddon(script.globalsearch)</visible>
</control>
<control type="group" id="600">
<posx>180</posx>
<onup>9003</onup>
<ondown>9000</ondown>
<defaultcontrol>-</defaultcontrol>
<enable>Player.HasMedia</enable>
<control type="image">
<description>Background image</description>
<posx>0</posx>
<posy>0</posy>
<width>205</width>
<height>35</height>
<texture flipy="true" border="0,5,0,0">HomeSubNF.png</texture>
<colordiffuse>CCFFFFFF</colordiffuse>
</control>
<control type="group">
<visible>!VideoPlayer.Content(LiveTV)</visible>
<control type="button" id="601">
<posx>10</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDPrevTrackFO.png</texturefocus>
<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
<onleft>608</onleft>
<onright>602</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Previous)</onclick>
</control>
<control type="button" id="602">
<posx>40</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDRewindFO.png</texturefocus>
<texturenofocus>OSDRewindNF.png</texturenofocus>
<onleft>601</onleft>
<onright>603</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Rewind)</onclick>
</control>
<control type="togglebutton" id="603">
<posx>70</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDPauseFO.png</texturefocus>
<texturenofocus>OSDPauseNF.png</texturenofocus>
<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
<alttexturefocus>OSDPlayFO.png</alttexturefocus>
<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
<onleft>602</onleft>
<onright>604</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Play)</onclick>
</control>
<control type="button" id="604">
<posx>100</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDStopFO.png</texturefocus>
<texturenofocus>OSDStopNF.png</texturenofocus>
<onleft>603</onleft>
<onright>605</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>down</onclick>
<onclick>XBMC.PlayerControl(Stop)</onclick>
</control>
<control type="button" id="605">
<posx>130</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDForwardFO.png</texturefocus>
<texturenofocus>OSDForwardNF.png</texturenofocus>
<onleft>604</onleft>
<onright>606</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Forward)</onclick>
</control>
<control type="button" id="606">
<posx>160</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDNextTrackFO.png</texturefocus>
<texturenofocus>OSDNextTrackNF.png</texturenofocus>
<onleft>605</onleft>
<onright>607</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Next)</onclick>
</control>
</control>
<control type="group" id="600">
<visible>VideoPlayer.Content(LiveTV)</visible>
<control type="button" id="601">
<posx>10</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDChannelUPFO.png</texturefocus>
<texturenofocus>OSDChannelUPNF.png</texturenofocus>
<onleft>608</onleft>
<onright>602</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Previous)</onclick>
</control>
<control type="button" id="602">
<posx>40</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDChannelDownFO.png</texturefocus>
<texturenofocus>OSDChannelDownNF.png</texturenofocus>
<onleft>601</onleft>
<onright>603</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Next)</onclick>
</control>
<control type="button" id="603">
<posx>70</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDStopFO.png</texturefocus>
<texturenofocus>OSDStopNF.png</texturenofocus>
<onleft>602</onleft>
<onright>604</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>down</onclick>
<onclick>XBMC.PlayerControl(Stop)</onclick>
</control>
<control type="togglebutton" id="604">
<posx>100</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDPauseFO.png</texturefocus>
<texturenofocus>OSDPauseNF.png</texturenofocus>
<usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
<alttexturefocus>OSDPlayFO.png</alttexturefocus>
<alttexturenofocus>OSDPlayNF.png</alttexturenofocus>
<onleft>603</onleft>
<onright>606</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(Play)</onclick>
<enable>Player.PauseEnabled</enable>
<animation effect="fade" start="100" end="30" time="100" condition="!Player.PauseEnabled">Conditional</animation>
</control>
<control type="button" id="606">
<posx>160</posx>
<posy>2</posy>
<width>30</width>
<height>30</height>
<label>-</label>
<texturefocus>OSDRecordOffFO.png</texturefocus>
<texturenofocus>OSDRecordOffNF.png</texturenofocus>
<onleft>604</onleft>
<onright>607</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<onclick>XBMC.PlayerControl(record)</onclick>
</control>
</control>
</control>
<control type="radiobutton" id="607">
<colordiffuse>CCFFFFFF</colordiffuse>
<description>Go to fullscreen Playback</description>
<posx>385</posx>
<posy>0</posy>
<height>35</height>
<width>160</width>
<textwidth>150</textwidth>
<textoffsetx>10</textoffsetx>
<align>left</align>
<aligny>center</aligny>
<font>font12</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus flipy="true" border="5">HomeSubFO.png</texturefocus>
<texturenofocus flipy="true" border="5">HomeSubNF.png</texturenofocus>
<pulseonselect>false</pulseonselect>
<label>31008</label>
<onclick>fullscreen</onclick>
<textureradiofocus>GoFullscreen.png</textureradiofocus>
<textureradionofocus>GoFullscreen.png</textureradionofocus>
<onleft>606</onleft>
<onright>608</onright>
<onup>9003</onup>
<ondown>9000</ondown>
<enable>Player.HasMedia</enable>
</control>
Then you have to change following line
<texture flipy="true" border="0,5,0,0" flipx="true">HomeSubEnd.png</texture>
to:
<texture flipy="true" border="0,5,0,0" flipx="true"></texture>
IMHO player controls should ONLY be shown if "Enable mouse and Touch Screen Support" is selected in system settings.