2019-08-25, 08:02
Hi everyone , i would like some help if somebody can with code , i want to have the repeat button on VideoOSD.xml
i have make the above code it is workink ok with mouse but not with remote probably becouse it is overlaping a button or i am trying in wrong place .
Thanks in advance
i have make the above code it is workink ok with mouse but not with remote probably becouse it is overlaping a button or i am trying in wrong place .
Thanks in advance
xml:
<window>
<onload condition="VideoPlayer.Content(livetv)">SetFocus(808)</onload>
<onload condition="!VideoPlayer.Content(livetv) + Skin.HasSetting(Disable.PlayerControlButtons)">SetFocus(706)</onload>
<onload condition="!VideoPlayer.Content(livetv) + !Skin.HasSetting(Disable.PlayerControlButtons)">SetFocus(602)</onload>
<zorder>2</zorder>
<controls>
<control type="group">
<visible>!Window.IsVisible(SliderDialog)</visible>
<animation effect="fade" end="0" time="239.76">Hidden</animation>
<animation effect="fade" end="100" time="239.76" condition="Skin.HasSetting(VideoOSDOnTop)">WindowOpen</animation>
<animation effect="fade" end="0" time="239.76" condition="Skin.HasSetting(VideoOSDOnTop)">WindowClose</animation>
<animation effect="fade" end="100" time="239.76" delay="239.76" condition="!Skin.HasSetting(VideoOSDOnTop)">WindowOpen</animation>
<control type="group">
<visible>!VideoPlayer.Content(LiveTV)</visible>
<visible>![Window.IsVisible(playerprocessinfo) | Window.IsVisible(SliderDialog) | Window.IsVisible(pvrchannelguide) | Window.IsVisible(PVROSDTeletext) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(SubtitleSearch) | Window.IsVisible(1115)]</visible>
<animation effect="fade" end="100" time="239.76">Visible</animation>
<control type="image">
<left>-5%</left>
<top>-30</top>
<width>110%</width>
<height>147</height>
<texture border="40" flipy="true" colordiffuse="E6FFFFFF">dialogs/default/bg.png</texture>
<visible>!Window.IsActive(fullscreeninfo) + ![Window.IsActive(VideoOSD) + !Skin.HasSetting(VideoOSDOnTop)]</visible>
</control>
<control type="slider">
<top>1039</top>
<width>100%</width>
<height>36</height>
<texturesliderbar>seekslider2.png</texturesliderbar>
<textureslidernib />
<textureslidernibfocus colordiffuse="$VAR[ThemeOSDProgressColor]">slidernib_alt.png</textureslidernibfocus>
<action>seek</action>
</control>
</control>
<control type="group">
<visible>![Window.IsVisible(playerprocessinfo) | Window.IsVisible(SliderDialog) | Window.IsVisible(pvrchannelguide) | Window.IsVisible(PVROSDTeletext) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDSubtitleSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(SubtitleSearch) | Window.IsVisible(1115)]</visible>
<animation effect="fade" end="100" time="239.76" condition="Skin.HasSetting(VideoOSDOnTop)">Visible</animation>
<animation effect="fade" end="100" time="239.76" delay="239.76" condition="!Skin.HasSetting(VideoOSDOnTop)">Visible</animation>
<include condition="!VideoPlayer.Content(LiveTV)">DefaultVideoOSD</include>
<include condition="VideoPlayer.Content(LiveTV)">PVRVideoOSD</include>
</control>
<control type="button" id="707">
<width>100</width>
<height>100</height>
<label>Player conntrols</label>
<font></font>
<texturefocus>osd/buttons/OSDSkinFO.png</texturefocus>
<texturenofocus>osd/buttons/OSDSkinNF.png</texturenofocus>
<onclick>PlayerControl(Repeat)</onclick>
</control>
<control type="image">
<width>100</width>
<height>100</height>
<texture>osd/buttons/OSDRepeatNF.png</texture>
<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
<visible>!Control.HasFocus(707)</visible>
</control>
<control type="image">
<width>100</width>
<height>100</height>
<texture>osd/buttons/OSDRepeatFO.png</texture>
<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
<visible>Control.HasFocus(707)</visible>
</control>
<control type="image">
<width>100</width>
<height>100</height>
<texture>osd/buttons/OSDRepeatOneNF.png</texture>
<visible>Playlist.IsRepeatOne</visible>
<visible>!Control.HasFocus(707)</visible>
</control>
<control type="image">
<width>100</width>
<height>100</height>
<texture>osd/buttons/OSDRepeatOneFO.png</texture>
<visible>Playlist.IsRepeatOne</visible>
<visible>Control.HasFocus(707)</visible>
</control>
<control type="image">
<width>100</width>
<height>100</height>
<texture>osd/buttons/OSDRepeatAllNF.png</texture>
<visible>Playlist.IsRepeat</visible>
<visible>!Control.HasFocus(707)</visible>
</control>
<control type="image">
<width>100</width>
<height>100</height>
<texture>osd/buttons/OSDRepeatAllFO.png</texture>
<visible>Playlist.IsRepeat</visible>
<visible>Control.HasFocus(707)</visible>
</control>
</control>
</controls>
</window>