<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="FrameForPlayer">
        <definition>
            <control type="image">
                <width>88</width>
                <height>88</height>
                <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>
    
    <include name="PlayPauseButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />
    
        <definition>
            <control type="togglebutton" id="$PARAM[id]">
                <enable>Player.PauseEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-pause.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-pause.png</texturenofocus>
                <alttexturefocus colordiffuse="$VAR[HighlightColor]">controls/button-play.png</alttexturefocus>
                <alttexturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-play.png</alttexturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31922]</label>
                <altlabel>$LOCALIZE[208]</altlabel>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(play)</onclick>
            </control>
            
            <control type="image">
                <visible>!Player.PauseEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="RewindButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>Player.SeekEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-rewind.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-rewind.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31921]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(rewind)</onclick>
            </control>
            
            <control type="image">
                <visible>!Player.SeekEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="FastForwardButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>Player.SeekEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-fastforward.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-fastforward.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31923]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(forward)</onclick>
            </control>
            
            <control type="image">
                <visible>!Player.SeekEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="PreviousButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-previous.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-previous.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[210]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(previous)</onclick>
            </control>
        </definition>
    </include>

    <include name="NextButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-next.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-next.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[209]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(next)</onclick>
            </control>
        </definition>
    </include>

    <include name="RepeatButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="group">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>

                <control type="button" id="$PARAM[id]">
                    <width>80</width>
                    <height>80</height>
                    <texturefocus>-</texturefocus>
                    <texturenofocus>-</texturenofocus>
                    <font>-</font>
                    <label>$LOCALIZE[486]$INFO[Playlist.Repeat,: ]</label>
                    <onup>$PARAM[onup]</onup>
                    <ondown>$PARAM[ondown]</ondown>
                    <onleft>$PARAM[onleft]</onleft>
                    <onright>$PARAM[onright]</onright>
                    <onclick>PlayerControl(repeat)</onclick>
                </control>

                <control type="image">
                    <visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne + !Control.HasFocus($PARAM[id])</visible>
                    <width>80</width>
                    <height>80</height>
                    <texture colordiffuse="$VAR[BackgroundColor]">controls/button-repeat.png</texture>
                </control>

                <control type="image">
                    <visible>!Playlist.IsRepeat + !Playlist.IsRepeatOne + Control.HasFocus($PARAM[id])</visible>
                    <width>80</width>
                    <height>80</height>
                    <texture colordiffuse="$VAR[HighlightColor]">controls/button-repeat.png</texture>
                </control>

                <control type="image">
                    <visible>Playlist.IsRepeatOne + !Control.HasFocus($PARAM[id])</visible>
                    <width>80</width>
                    <height>80</height>
                    <texture colordiffuse="$VAR[BackgroundColor]">controls/button-repeatone.png</texture>
                </control>

                <control type="image">
                    <visible>Playlist.IsRepeatOne + Control.HasFocus($PARAM[id])</visible>
                    <width>80</width>
                    <height>80</height>
                    <texture colordiffuse="$VAR[HighlightColor]">controls/button-repeatone.png</texture>
                </control>

                <control type="image">
                    <visible>Playlist.IsRepeat + !Control.HasFocus($PARAM[id])</visible>
                    <width>80</width>
                    <height>80</height>
                    <texture colordiffuse="$VAR[BackgroundColor]">controls/button-repeatall.png</texture>
                </control>

                <control type="image">
                    <visible>Playlist.IsRepeat + Control.HasFocus($PARAM[id])</visible>
                    <width>80</width>
                    <height>80</height>
                    <texture colordiffuse="$VAR[HighlightColor]">controls/button-repeatall.png</texture>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="RandomButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="togglebutton" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <usealttexture>Playlist.IsRandom</usealttexture>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-randomoff.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-randomoff.png</texturenofocus>
                <alttexturefocus colordiffuse="$VAR[HighlightColor]">controls/button-randomon.png</alttexturefocus>
                <alttexturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-randomon.png</alttexturenofocus>
                <font>-</font>
                <label>$LOCALIZE[590]$INFO[Playlist.Random,: ]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(random)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="StopButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-stop.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-stop.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31920]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(stop)</onclick>
            </control>
        </definition>
    </include>

    <include name="ChannelDownButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-channeldown.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-channeldown.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31978]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ChannelDown</onclick>
            </control>
        </definition>
    </include>

    <include name="ChannelUpButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-channelup.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-channelup.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31979]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ChannelUp</onclick>
            </control>
        </definition>
    </include>

    <include name="CloseButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-close.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-close.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31915]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>Close</onclick>
            </control>
        </definition>
    </include>
    
    <include name="MoreButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-more.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-more.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31970]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(playercontrols)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="RecordButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="image">
                <visible>Player.CanRecord</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture>controls/button-recorddot.png</texture>
                <aspectratio>keep</aspectratio>
            </control>

            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-record.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-record.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[36428]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(record)</onclick>
            </control>

            <control type="image">
                <visible>!Player.CanRecord</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="SmallSkipBackwardButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>Player.SeekEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-smallskipbackward.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-smallskipbackward.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31989]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(smallskipbackward)</onclick>
            </control>
            
            <control type="image">
                <visible>!Player.SeekEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="SmallSkipForwardButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>Player.SeekEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-smallskipforward.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-smallskipforward.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31990]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(smallskipforward)</onclick>
            </control>
            
            <control type="image">
                <visible>!Player.SeekEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="BigSkipBackwardButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>Player.SeekEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-bigskipbackward.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-bigskipbackward.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31991]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(bigskipbackward)</onclick>
            </control>

            <control type="image">
                <visible>!Player.SeekEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="BigSkipForwardButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>Player.SeekEnabled</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-bigskipforward.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-bigskipforward.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31992]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(bigskipforward)</onclick>
            </control>
            
            <control type="image">
                <visible>!Player.SeekEnabled</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>

    <include name="HateButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-hate.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-hate.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[33080]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>DecreaseRating</onclick>
            </control>
        </definition>
    </include>
    
    <include name="LoveButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-love.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-love.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[33079]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>IncreaseRating</onclick>
            </control>
        </definition>
    </include>
    
    <include name="PlaylistButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-playlist.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-playlist.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[559]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>Close</onclick>
                <onclick>ActivateWindow(musicplaylist)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="LyricsButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>!String.IsEmpty(Skin.String(Media.MusicLyricsAddon.Script))</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-lyrics.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-lyrics.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[24013]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>Close</onclick>
                <onclick>RunScript($INFO[Skin.String(Media.MusicLyricsAddon.Script)])</onclick>
            </control>
            
            <control type="image">
                <visible>!Control.IsEnabled($PARAM[id])</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>
    
    <include name="RadioRDSButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>VideoPlayer.Content(LiveTV) + RDS.HasRadiotextPlus</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-rds.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-rds.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[29900]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(pvrradiordsinfo)</onclick>
            </control>
            
            <control type="image">
                <visible>!VideoPlayer.Content(LiveTV) | !RDS.HasRadiotextPlus</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>
    
    <include name="AudioButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-audio.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-audio.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[13396]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(osdaudiosettings)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="VideoButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-video.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-video.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[13395]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(osdvideosettings)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="SubtitlesButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-subtitles.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-subtitles.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[287]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(subtitlesearch)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="ColorButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>System.HasCMS</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-color.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-color.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31996]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(osdcmssettings)</onclick>
            </control>

            <control type="image">
                <visible>!System.HasCMS</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>    
    <include name="BookmarksButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-bookmarks.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-bookmarks.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[298]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(videobookmarks)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="DiscButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <enable>VideoPlayer.HasMenu</enable>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-disc.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-disc.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31924]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>PlayerControl(ShowVideoMenu)</onclick>
            </control>
            
            <control type="image">
                <visible>!VideoPlayer.HasMenu</visible>
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texture colordiffuse="$VAR[SelectColor]">elements/circle-mask.png</texture>
                <aspectratio>keep</aspectratio>
            </control>
        </definition>
    </include>
    
    <include name="VisualisationButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-visualisation.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-visualisation.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[12006]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
            </control>
        </definition>
    </include>
    
    <include name="PresetsButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-presets.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-presets.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31925]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>ActivateWindow(visualisationpresetlist)</onclick>
            </control>
        </definition>
    </include>
    
    <include name="AddonButtonForPlayer">
        <param name="id" default="0" />
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="Noop" />
        <param name="ondown" default="Noop" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="Noop" />

        <definition>
            <control type="button" id="$PARAM[id]">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>80</width>
                <height>80</height>
                <texturefocus colordiffuse="$VAR[HighlightColor]">controls/button-addon.png</texturefocus>
                <texturenofocus colordiffuse="$VAR[BackgroundColor]">controls/button-addon.png</texturenofocus>
                <font>-</font>
                <label>$LOCALIZE[31926]</label>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>
                <onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
            </control>
        </definition>
    </include>

    <constant name="PosXForSideMenuCircleControlsForPlayer">120</constant>
    <constant name="PosYForSideMenuCircleControlsForPlayer">490</constant>
    <include name="CircleControlsForPlayer">
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="onup" default="9001" />
        <param name="ondown" default="9001" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="52" />
    
        <definition>
            <control type="group" id="9010">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>270</width>
                <height>270</height>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>

                <control type="image">
                    <width>270</width>
                    <height>270</height>
                    <texture colordiffuse="$VAR[MainColor]">elements/circle-mask.png</texture>
                    <aspectratio>stretch</aspectratio>
                </control>

                <control type="group">
                    <visible>!VideoPlayer.Content(LiveTV)</visible>

                    <include content="PlayPauseButtonForPlayer">
                        <param name="id" value="9403" />
                        <param name="posx" value="95" />
                        <param name="posy" value="0" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="9404" />
                        <param name="onleft" value="9402" />
                        <param name="onright" value="9405" />
                    </include>

                    <include content="RewindButtonForPlayer">
                        <param name="id" value="9402" />
                        <param name="posx" value="28" />
                        <param name="posy" value="28" />
                        <param name="onup" value="9403" />
                        <param name="ondown" value="9401" />
                        <param name="onleft" value="9401" />
                        <param name="onright" value="9403" />
                    </include>

                    <include content="FastForwardButtonForPlayer">
                        <param name="id" value="9405" />
                        <param name="posx" value="162" />
                        <param name="posy" value="28" />
                        <param name="onup" value="9403" />
                        <param name="ondown" value="9406" />
                        <param name="onleft" value="9403" />
                        <param name="onright" value="9406" />
                    </include>

                    <include content="PreviousButtonForPlayer">
                        <param name="id" value="9401" />
                        <param name="posx" value="0" />
                        <param name="posy" value="95" />
                        <param name="onup" value="9402" />
                        <param name="ondown" value="9407" />
                        <param name="onleft" value="$PARAM[onleft]" />
                        <param name="onright" value="9406" />
                    </include>

                    <include content="NextButtonForPlayer">
                        <param name="id" value="9406" />
                        <param name="posx" value="190" />
                        <param name="posy" value="95" />
                        <param name="onup" value="9405" />
                        <param name="ondown" value="9400" />
                        <param name="onleft" value="9401" />
                        <param name="onright" value="$PARAM[onright]" />
                    </include>

                    <include content="RepeatButtonForPlayer">
                        <param name="id" value="9407" />
                        <param name="posx" value="28" />
                        <param name="posy" value="162" />
                        <param name="onup" value="9401" />
                        <param name="ondown" value="9404" />
                        <param name="onleft" value="9401" />
                        <param name="onright" value="9404" />
                    </include>

                    <include content="RandomButtonForPlayer">
                        <param name="id" value="9400" />
                        <param name="posx" value="162" />
                        <param name="posy" value="162" />
                        <param name="onup" value="9406" />
                        <param name="ondown" value="9404" />
                        <param name="onleft" value="9404" />
                        <param name="onright" value="9406" />
                    </include>

                    <include content="StopButtonForPlayer">
                        <param name="id" value="9404" />
                        <param name="posx" value="95" />
                        <param name="posy" value="190" />
                        <param name="onup" value="9403" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9407" />
                        <param name="onright" value="9400" />
                    </include>
                </control>
                
                <control type="group">
                    <visible>VideoPlayer.Content(LiveTV)</visible>
                    
                    <include content="PlayPauseButtonForPlayer">
                        <param name="id" value="9423" />
                        <param name="posx" value="95" />
                        <param name="posy" value="0" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="9424" />
                        <param name="onleft" value="9422" />
                        <param name="onright" value="9425" />
                    </include>

                    <include content="RewindButtonForPlayer">
                        <param name="id" value="9422" />
                        <param name="posx" value="28" />
                        <param name="posy" value="28" />
                        <param name="onup" value="9423" />
                        <param name="ondown" value="9421" />
                        <param name="onleft" value="9421" />
                        <param name="onright" value="9423" />
                    </include>

                    <include content="FastForwardButtonForPlayer">
                        <param name="id" value="9425" />
                        <param name="posx" value="162" />
                        <param name="posy" value="28" />
                        <param name="onup" value="9423" />
                        <param name="ondown" value="9426" />
                        <param name="onleft" value="9423" />
                        <param name="onright" value="9426" />
                    </include>

                    <include content="ChannelUpButtonForPlayer">
                        <param name="id" value="9421" />
                        <param name="posx" value="0" />
                        <param name="posy" value="95" />
                        <param name="onup" value="9422" />
                        <param name="ondown" value="9427" />
                        <param name="onleft" value="$PARAM[onleft]" />
                        <param name="onright" value="9426" />
                    </include>

                    <include content="ChannelDownButtonForPlayer">
                        <param name="id" value="9426" />
                        <param name="posx" value="190" />
                        <param name="posy" value="95" />
                        <param name="onup" value="9425" />
                        <param name="ondown" value="9420" />
                        <param name="onleft" value="9421" />
                        <param name="onright" value="$PARAM[onright]" />
                    </include>

                    <include content="RecordButtonForPlayer">
                        <param name="id" value="9427" />
                        <param name="posx" value="28" />
                        <param name="posy" value="162" />
                        <param name="onup" value="9421" />
                        <param name="ondown" value="9424" />
                        <param name="onleft" value="9421" />
                        <param name="onright" value="9424" />
                    </include>

                    <include content="RadioRDSButtonForPlayer">
                        <param name="id" value="9420" />
                        <param name="posx" value="162" />
                        <param name="posy" value="162" />
                        <param name="onup" value="9426" />
                        <param name="ondown" value="9424" />
                        <param name="onleft" value="9424" />
                        <param name="onright" value="9426" />
                    </include>

                    <include content="StopButtonForPlayer">
                        <param name="id" value="9424" />
                        <param name="posx" value="95" />
                        <param name="posy" value="190" />
                        <param name="onup" value="9423" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9427" />
                        <param name="onright" value="9420" />
                    </include>
                </control>
            </control>
        </definition>
    </include>

    <constant name="PosXForSideMenuButtonControlsForPlayer">20</constant>
    <constant name="PosYForSideMenuButtonControlsForPlayer">660</constant>
    <include name="ButtonControlsForPlayer">
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        <param name="width" default="480" />
        <param name="onup" default="9001" />
        <param name="ondown" default="9001" />
        <param name="onleft" default="Noop" />
        <param name="onright" default="52" />
    
        <definition>
            <control type="group" id="9010">
                <posx>$PARAM[posx]</posx>
                <posy>$PARAM[posy]</posy>
                <width>$PARAM[width]</width>
                <height>100</height>
                <onup>$PARAM[onup]</onup>
                <ondown>$PARAM[ondown]</ondown>
                <onleft>$PARAM[onleft]</onleft>
                <onright>$PARAM[onright]</onright>

                <control type="image">
                    <width>$PARAM[width]</width>
                    <height>100</height>
                    <aspectratio>stretch</aspectratio>
                    <texture colordiffuse="$VAR[MainColor]" border="20">controls/rectangle-fill.png</texture>
                </control>

                <control type="group">
                    <visible>!VideoPlayer.Content(LiveTV)</visible>
                    
                    <include content="PreviousButtonForPlayer">
                        <param name="id" value="9411" />
                        <param name="posx" value="20" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="$PARAM[onleft]" />
                        <param name="onright" value="9412" />
                    </include>

                    <include content="PlayPauseButtonForPlayer">
                        <param name="id" value="9412" />
                        <param name="posx" value="110" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9411" />
                        <param name="onright" value="9413" />
                    </include>
                    
                    <include content="StopButtonForPlayer">
                        <param name="id" value="9413" />
                        <param name="posx" value="200" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9412" />
                        <param name="onright" value="9414" />
                    </include>

                    <include content="NextButtonForPlayer">
                        <param name="id" value="9414" />
                        <param name="posx" value="290" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9413" />
                        <param name="onright" value="9415" />
                    </include>

                    <include content="MoreButtonForPlayer">
                        <param name="id" value="9415" />
                        <param name="posx" value="380" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9414" />
                        <param name="onright" value="$PARAM[onright]" />
                    </include>
                </control>
                
                <control type="group">
                    <visible>VideoPlayer.Content(LiveTV)</visible>
                    
                    <include content="ChannelUpButtonForPlayer">
                        <param name="id" value="9431" />
                        <param name="posx" value="20" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="$PARAM[onleft]" />
                        <param name="onright" value="9432" />
                    </include>

                    <include content="ChannelDownButtonForPlayer">
                        <param name="id" value="9432" />
                        <param name="posx" value="110" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9431" />
                        <param name="onright" value="9433" />
                    </include>

                    <include content="PlayPauseButtonForPlayer">
                        <param name="id" value="9433" />
                        <param name="posx" value="200" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9432" />
                        <param name="onright" value="9434" />
                    </include>
                    
                    <include content="RecordButtonForPlayer">
                        <param name="id" value="9434" />
                        <param name="posx" value="290" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9433" />
                        <param name="onright" value="9435" />
                    </include>
                    
                    <include content="MoreButtonForPlayer">
                        <param name="id" value="9435" />
                        <param name="posx" value="380" />
                        <param name="posy" value="10" />
                        <param name="onup" value="$PARAM[onup]" />
                        <param name="ondown" value="$PARAM[ondown]" />
                        <param name="onleft" value="9434" />
                        <param name="onright" value="$PARAM[onright]" />
                    </include>
                </control>
            </control>
        </definition>
    </include>
    
    <include name="DescriptionForControlsForPlayer">
        <param name="posx" default="0" />
        <param name="posy" default="0" />
        
        <definition>
            <include content="OutlineLabel">
                <param name="posx" value="$PARAM[posx]" />
                <param name="posy" value="$PARAM[posy]" />
                <param name="width" value="520" />
                <param name="height" value="20" />
                <param name="font" value="MessageTextFont" />
                <param name="textcolor" value="$VAR[BackgroundColor]" />
                <param name="outlinecolor" value="$VAR[MainColor]" />
                <param name="outlinesize" value="2" />
                <param name="align" value="center" />
                <param name="label" value="$INFO[System.CurrentControl]" />
            </include>
        </definition>
    </include>
</includes>
