skin.tributary/720p/PlayerControls.xml

434 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog">
<defaultcontrol always="true">100</defaultcontrol>
<include>dialogeffect</include>
<visible>Player.HasMedia + Window.IsActive(PlayerControls) + !Window.IsActive(FullscreenVideo) + !Window.IsActive(Visualisation)</visible>
<coordinates>
<left>390</left>
<top>250</top>
</coordinates>
<controls>
<control type="image">
<left>5</left>
<top>156</top>
<width>483</width>
<height>53</height>
<texture flipy="true" border="20,20,20,2">InfoMessagePanel.png</texture>
</control>
<control type="group" id="100">
<left>25</left>
<top>162</top>
<defaultcontrol always="true">603</defaultcontrol>
<visible>!VideoPlayer.Content(LiveTV)</visible>
<control type="button" id="600">
<left>0</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDPrevTrackFO.png</texturefocus>
<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
<onleft>609</onleft>
<onright>601</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Previous)</onclick>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="601">
<left>40</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDRewindFO.png</texturefocus>
<texturenofocus>OSDRewindNF.png</texturenofocus>
<onleft>600</onleft>
<onright>603</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Rewind)</onclick>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="togglebutton" id="603">
<left>80</left>
<top>0</top>
<width>40</width>
<height>40</height>
<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>601</onleft>
<onright>602</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Play)</onclick>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="602">
<left>120</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDStopFO.png</texturefocus>
<texturenofocus>OSDStopNF.png</texturenofocus>
<onleft>603</onleft>
<onright>604</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>down</onclick>
<onclick>PlayerControl(Stop)</onclick>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="604">
<left>160</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDForwardFO.png</texturefocus>
<texturenofocus>OSDForwardNF.png</texturenofocus>
<onleft>602</onleft>
<onright>605</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Forward)</onclick>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="605">
<left>200</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDNextTrackFO.png</texturefocus>
<texturenofocus>OSDNextTrackNF.png</texturenofocus>
<onleft>604</onleft>
<onright>606</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Next)</onclick>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="606">
<left>240</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDRecordOffFO.png</texturefocus>
<texturenofocus>OSDRecordOffNF.png</texturenofocus>
<onleft>605</onleft>
<onright>607</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PVR.ToggleRecordPlayingChannel</onclick>
<enable>PVR.CanRecordPlayingChannel</enable>
<animation effect="fade" start="100" end="30" time="75" condition="!PVR.CanRecordPlayingChannel">Conditional</animation>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="group">
<animation effect="slide" start="0,0" end="40,0" time="0" condition="!Player.HasAudio">Conditional</animation>
<control type="button" id="607">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus/>
<texturenofocus/>
<onclick>PlayerControl(Repeat)</onclick>
<onleft>606</onleft>
<onright>608</onright>
<onup>100</onup>
<ondown>100</ondown>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="image">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<texture>OSDRepeatNF.png</texture>
<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
<visible>!Control.HasFocus(607)</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="image">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<texture>OSDRepeatFO.png</texture>
<visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne</visible>
<visible>Control.HasFocus(607)</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="image">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<texture>OSDRepeatOneNF.png</texture>
<visible>Playlist.IsRepeatOne</visible>
<visible>!Control.HasFocus(607)</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="image">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<texture>OSDRepeatOneFO.png</texture>
<visible>Playlist.IsRepeatOne</visible>
<visible>Control.HasFocus(607)</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="image">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<texture>OSDRepeatAllNF.png</texture>
<visible>Playlist.IsRepeat</visible>
<visible>!Control.HasFocus(607)</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="image">
<left>325</left>
<top>0</top>
<width>40</width>
<height>40</height>
<texture>OSDRepeatAllFO.png</texture>
<visible>Playlist.IsRepeat</visible>
<visible>Control.HasFocus(607)</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="togglebutton" id="608">
<left>365</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDRandomOffFO.png</texturefocus>
<texturenofocus>OSDRandomOffNF.png</texturenofocus>
<usealttexture>Playlist.IsRandom</usealttexture>
<alttexturefocus>OSDRandomOnFO.png</alttexturefocus>
<alttexturenofocus>OSDRandomOnNF.png</alttexturenofocus>
<onclick>PlayerControl(Random)</onclick>
<onleft>607</onleft>
<onright>609</onright>
<onup>100</onup>
<ondown>100</ondown>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="togglebutton" id="609">
<left>405</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label>31128</label>
<font/>
<texturefocus>OSDLyricsFO.png</texturefocus>
<texturenofocus>OSDLyricsNF.png</texturenofocus>
<alttexturefocus>OSDLyricsFO.png</alttexturefocus>
<alttexturenofocus>OSDLyricsNF.png</alttexturenofocus>
<onleft>608</onleft>
<onright>600</onright>
<onup>100</onup>
<ondown>100</ondown>
<onclick>Close</onclick>
<onclick>ActivateWindow(Visualisation)</onclick>
<onclick>RunScript($INFO[Skin.String(LyricScript_Path)])</onclick>
<altclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</altclick>
<altclick>Close</altclick>
<altclick>RunScript($INFO[Skin.String(LyricScript_Path)])</altclick>
<usealttexture>String.IsEmpty(Skin.String(LyricScript_Path))</usealttexture>
<visible>Player.HasAudio</visible>
<visible>!VideoPlayer.Content(LiveTV)</visible>
</control>
</control>
</control>
<control type="group" id="100">
<left>25</left>
<top>162</top>
<defaultcontrol always="true">700</defaultcontrol>
<visible>VideoPlayer.Content(LiveTV)</visible>
<control type="button" id="701">
<left>0</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDRewindFO.png</texturefocus>
<texturenofocus>OSDRewindNF.png</texturenofocus>
<onleft>706</onleft>
<onright>702</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Rewind)</onclick>
<visible>VideoPlayer.Content(LiveTV)</visible>
<enable>Player.SeekEnabled</enable>
<animation effect="fade" start="100" end="50" time="75" condition="true">Conditional</animation>
</control>
<control type="button" id="702">
<left>40</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDStopFO.png</texturefocus>
<texturenofocus>OSDStopNF.png</texturenofocus>
<onleft>701</onleft>
<onright>703</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>down</onclick>
<onclick>PlayerControl(Stop)</onclick>
<visible>VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="togglebutton" id="703">
<left>80</left>
<top>0</top>
<width>40</width>
<height>40</height>
<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>702</onleft>
<onright>704</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Play)</onclick>
<visible>VideoPlayer.Content(LiveTV)</visible>
<enable>false</enable>
<enable>Player.PauseEnabled</enable>
<animation effect="fade" start="100" end="50" time="75" condition="true">Conditional</animation>
</control>
<control type="button" id="704">
<left>120</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDForwardFO.png</texturefocus>
<texturenofocus>OSDForwardNF.png</texturenofocus>
<onleft>703</onleft>
<onright>700</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PlayerControl(Forward)</onclick>
<visible>VideoPlayer.Content(LiveTV)</visible>
<enable>Player.SeekEnabled</enable>
<animation effect="fade" start="100" end="50" time="75" condition="true">Conditional</animation>
</control>
<control type="button" id="700">
<left>200</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDChannelUPFO.png</texturefocus>
<texturenofocus>OSDChannelUPNF.png</texturenofocus>
<onleft>704</onleft>
<onright>705</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>ChannelDown</onclick>
<visible>VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="705">
<left>240</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDChannelDownFO.png</texturefocus>
<texturenofocus>OSDChannelDownNF.png</texturenofocus>
<onleft>700</onleft>
<onright>706</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>ChannelUp</onclick>
<visible>VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="706">
<left>280</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDRecordOffFO.png</texturefocus>
<texturenofocus>OSDRecordOffNF.png</texturenofocus>
<onleft>705</onleft>
<onright>707</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>PVR.ToggleRecordPlayingChannel</onclick>
<enable>PVR.CanRecordPlayingChannel</enable>
<animation effect="fade" start="100" end="30" time="75" condition="!PVR.CanRecordPlayingChannel">Conditional</animation>
<visible>VideoPlayer.Content(LiveTV)</visible>
</control>
<control type="button" id="707">
<left>400</left>
<top>0</top>
<width>40</width>
<height>40</height>
<label/>
<texturefocus>OSDRadioRDSFO.png</texturefocus>
<texturenofocus>OSDRadioRDSNF.png</texturenofocus>
<onleft>706</onleft>
<onright>701</onright>
<onup>300</onup>
<ondown>200</ondown>
<onclick>ActivateWindow(PVRRadioRDSInfo)</onclick>
<visible>VideoPlayer.Content(LiveTV) + RDS.HasRadiotextPlus</visible>
</control>
</control>
<control type="image">
<description>gradient</description>
<left>0</left>
<top>0</top>
<width>500</width>
<height>165</height>
<colordiffuse>CCFFFFFF</colordiffuse>
<visible>Window.IsVisible(home)</visible>
<texture border="20">OverlayDialogBackground.png</texture>
</control>
<!-- Music Info -->
<control type="group">
<visible>Player.HasAudio</visible>
<include>SmallMusicInfo</include>
</control>
<!-- Video Info -->
<control type="group">
<visible>Player.HasVideo</visible>
<include>SmallVideoInfo</include>
</control>
<control type="button">
<description>Close Window button</description>
<left>420</left>
<top>5</top>
<width>64</width>
<height>32</height>
<label/>
<font/>
<onclick>back</onclick>
<texturefocus>DialogCloseButton-focus.png</texturefocus>
<texturenofocus>DialogCloseButton.png</texturenofocus>
<onleft>100</onleft>
<onright>100</onright>
<onup>100</onup>
<ondown>100</ondown>
<visible>system.getbool(input.enablemouse)</visible>
</control>
</controls>
</window>