<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol always="false">100</defaultcontrol>
    <onload condition="!MusicPlayer.Content(LiveTV)">SetFocus(602)</onload>
    <include>OSDFade</include>
    <controls>
        <control type="group">
            <visible>![Skin.HasSetting(DisableOSDInfoOnPause)+Player.Paused]</visible>
            <include>OSDFade</include>
            <control type="image">
                <posx>-150</posx>
                <posy>-3</posy>
                <texture>common/basichome_upper_gradient.png</texture>
                <width>2220</width>
                <height>440</height>
            </control>
            <control type="slider" id="87">
                <description>Seek Slider</description>
                <posx>0</posx>
                <posy>985</posy>
                <width>1920</width>
                <height>54</height>
                <onup>100</onup>
                <ondown>87</ondown>
                <action>seek</action>
                <texturesliderbar>OSD/osd_progress_empty.png</texturesliderbar>
                <textureslidernib>buttons/SliderNibNF.png</textureslidernib>
                <textureslidernibfocus>buttons/SliderNibFO.png</textureslidernibfocus>
            </control>
            <control type="image">
                <posx>-15</posx>
                <posy>0</posy>
                <width>1950</width>
                <height>54</height>
                <texture flipy="true" border="3">OSD/osd_progress_background.png</texture>
            </control>
            <control type="label">
                <posx>20</posx>
                <posy>0</posy>
                <width>1370</width>
                <height>52</height>
                <align>left</align>
                <aligny>center</aligny>
                <font>OSDFont</font>
                <shadowcolor>ShadowColor</shadowcolor>
                <label>[UPPERCASE]$INFO[musicplayer.Codec][/UPPERCASE] $INFO[musicplayer.Bitrate, @ ,kbps]$INFO[musicplayer.bitspersample,  •  ,bit]$INFO[musicplayer.Samplerate,  •  ,kHz]$INFO[musicplayer.Channels,  •  , $LOCALIZE[21444]]</label>
            </control>
            <control type="label">
                <posx>1855</posx>
                <posy>0</posy>
                <width>500</width>
                <height>52</height>
                <align>right</align>
                <aligny>center</aligny>
                <font>OSDFont</font>
                <shadowcolor>ShadowColor</shadowcolor>
                <label>$INFO[System.Time]</label>
            </control>
            <control type="image">
                <posx>1867</posx>
                <posy>9</posy>
                <width>36</width>
                <height>36</height>
                <texture border="3">common/time.png</texture>
            </control>
            <control type="image">
                <posx>-15</posx>
                <posy>1026</posy>
                <width>1950</width>
                <height>54</height>
                <texture border="3">OSD/osd_progress_background.png</texture>
            </control>
            <include content="ProgressBar">
                <param name="id" value="23"/>
                <param name="visible" value="true"/>
                <param name="x" value="0"/>
                <param name="y" value="1001"/>
                <param name="width" value="1920"/>
                <param name="height" value="54"/>
                <param name="texturebg" value="-"/>
                <param name="gfx" value="OSD/osd_progress_mid54.png"/>
                <param name="border" value="3"/>
                <param name="borderbg" value="0"/>
                <param name="coldiffbg" value="ffffffff"/>
                <param name="colordiffuse" value="ffffffff"/>
                <param name="info" value="Player.Progress"/>
                <param name="reveal" value="false"/>
            </include>
            <control type="label">
                <posx>20</posx>
                <posy>1026</posy>
                <height>52</height>
                <width>180</width>
                <align>left</align>
                <label>$INFO[Player.Time]</label>
                <font>OSDFont</font>
                <shadowcolor>ShadowColor</shadowcolor>
            </control>
            <control type="label">
                <posx>1900</posx>
                <posy>1026</posy>
                <height>52</height>
                <width>180</width>
                <align>right</align>
                <label>$INFO[Player.TimeRemaining,-]</label>
                <font>OSDFont</font>
                <shadowcolor>ShadowColor</shadowcolor>
            </control>
        </control>
        <control type="group" id="22929">
            <visible>![Skin.HasSetting(DisableOSDInfoOnPause)+Player.Paused]</visible>
            <include>OSDFade</include>
            <posy>1026</posy>
            <control type="label">
                <include>SeekbarLabels</include>
                <label>$VAR[SeekLabel]</label>
            </control>
            <control type="image">
                <visible>player.rewinding</visible>
                <posx>850</posx>
                <posy>2</posy>
                <width>50</width>
                <height>50</height>
                <texture>topbar/topbar_rewind_focus.png</texture>
            </control>
            <control type="image">
                <visible>player.forwarding</visible>
                <posx>1020</posx>
                <posy>2</posy>
                <width>50</width>
                <height>50</height>
                <texture>topbar/topbar_fastforward_focus.png</texture>
            </control>
        </control>
        <control type="group">
            <!--100-->
            <control type="grouplist" id="100">
                <posx>0</posx>
                <posy>68</posy>
                <width>1920</width>
                <orientation>horizontal</orientation>
                <itemgap>10</itemgap>
                <align>center</align>
                <onup>100</onup>
                <ondown>101</ondown>
                <control type="button" id="598">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_back_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_back_nofocus.png</texturenofocus>
                    <onclick>Dialog.Close(MusicOSD,true)</onclick>
                    <onclick>fullscreen</onclick>
                </control>
                <control type="button" id="599">
                    <label>-</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_home_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_home_nofocus.png</texturenofocus>
                    <onclick>Back</onclick>
                    <onclick>Dialog.Close(all,true)</onclick>
                    <onclick>ActivateWindow(Home)</onclick>
                </control>
                <control type="button" id="300">
                    <visible>MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[210]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_channel_up_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_channel_up_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Previous)</onclick>
                </control>
                <control type="button" id="301">
                    <visible>MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[209]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_channel_down_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_channel_down_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Next)</onclick>
                </control>
                <control type="button" id="600">
                    <visible>!MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[210]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_skipback_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_skipback_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Previous)</onclick>
                </control>
                <control type="button" id="601">
                    <enable>Player.SeekEnabled</enable>
                    <animation effect="fade" start="100" end="50" time="0" condition="!Player.SeekEnabled">Conditional</animation>
                    <label>$LOCALIZE[31354]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_rewind_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_rewind_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Rewind)</onclick>
                </control>
                <control type="togglebutton" id="602">
                    <enable>Player.PauseEnabled</enable>
                    <animation effect="fade" start="100" end="50" time="0" condition="!Player.SeekEnabled">Conditional</animation>
                    <label>$LOCALIZE[31351]</label>
                    <altlabel>$LOCALIZE[208]</altlabel>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_pause_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_pause_nofocus.png</texturenofocus>
                    <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
                    <alttexturefocus>topbar/topbar_play_focus.png</alttexturefocus>
                    <alttexturenofocus>topbar/topbar_play_nofocus.png</alttexturenofocus>
                    <onclick>PlayerControl(Play)</onclick>
                </control>
                <control type="button" id="603">
                    <label>$LOCALIZE[31352]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_stop_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_stop_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Stop)</onclick>
                </control>
                <control type="button" id="604">
                    <enable>Player.SeekEnabled</enable>
                    <animation effect="fade" start="100" end="50" time="0" condition="!Player.SeekEnabled">Conditional</animation>
                    <label>$LOCALIZE[31353]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_fastforward_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_fastforward_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Forward)</onclick>
                </control>
                <control type="button" id="605">
                    <visible>!MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[209]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_skipforward_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_skipforward_nofocus.png</texturenofocus>
                    <onclick>PlayerControl(Next)</onclick>
                </control>
                <control type="button" id="1616">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_volume_mute_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_volume_mute_nofocus.png</texturenofocus>
                    <onclick>Mute</onclick>
                </control>
                <control type="button" id="1618">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_volume_down_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_volume_down_nofocus.png</texturenofocus>
                    <onclick>VolumeDown</onclick>
                </control>
                <control type="button" id="1620">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_volume_up_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_volume_up_nofocus.png</texturenofocus>
                    <onclick>VolumeUp</onclick>
                </control>
                <control type="button" id="1622">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_smallscreen_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_smallscreen_nofocus.png</texturenofocus>
                    <onclick>Dialog.Close(MusicOSD,true)</onclick>
                    <onclick>fullscreen</onclick>
                </control>
                <control type="button" id="1624">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_settings_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_settings_nofocus.png</texturenofocus>
                    <onclick>Dialog.Close(MusicOSD,true)</onclick>
                    <onclick>ActivateWindow(Settings,return)</onclick>
                </control>
                <control type="button" id="1626">
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_shutdown_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_shutdown_nofocus.png</texturenofocus>
                    <onclick>ActivateWindow(shutdownmenu)</onclick>
                </control>
            </control>
            <!--101-->
            <control type="grouplist" id="101">
                <posx>0</posx>
                <posy>138</posy>
                <width>1920</width>
                <orientation>horizontal</orientation>
                <itemgap>10</itemgap>
                <align>center</align>
                <onup>100</onup>
                <ondown>87</ondown>
                <control type="button" id="306">
                    <visible>MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[19019]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_channel_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_channel_nofocus.png</texturenofocus>
                    <onclick>ActivateWindow(PVROSDChannels)</onclick>
                    <onclick>Dialog.Close(VideoOSD)</onclick>
                </control>
                <control type="button" id="307">
                    <visible>MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[19029]$INFO[MusicPlayer.ChannelNumberLabel,,  •  ]$INFO[MusicPlayer.ChannelName,  •  ]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_epg_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_epg_nofocus.png</texturenofocus>
                    <onclick>ActivateWindow(PVROSDGuide)</onclick>
                    <onclick>Dialog.Close(VideoOSD)</onclick>
                </control>
                <control type="group" id="699">
                    <width>50</width>
                    <height>50</height>
                    <visible>!MusicPlayer.Content(LiveTV)</visible>
                    <control type="togglebutton" id="1">
                        <onright>21</onright>
                        <onleft>307</onleft>
                        <posx>0</posx>
                        <posy>0</posy>
                        <description>Repeat</description>
                        <label>$LOCALIZE[486]$INFO[Playlist.Repeat, : ]</label>
                        <include>TopBarButton</include>
                        <texturefocus>topbar/topbar_repeat_focus.png</texturefocus>
                        <texturenofocus>topbar/topbar_repeat_nofocus.png</texturenofocus>
                        <usealttexture>Playlist.IsRepeatOne | Playlist.IsRepeat</usealttexture>
                        <alttexturefocus>-</alttexturefocus>
                        <alttexturenofocus>-</alttexturenofocus>
                        <onclick>PlayerControl(Repeat)</onclick>
                    </control>
                    <control type="image" id="4">
                        <posx>0</posx>
                        <posy>0</posy>
                        <include>TopBarButton</include>
                        <texture>topbar/topbar_repeat_one_nofocus.png</texture>
                        <visible>Playlist.IsRepeatOne</visible>
                        <visible>!Control.HasFocus(1)</visible>
                    </control>
                    <control type="image" id="5">
                        <posx>0</posx>
                        <posy>0</posy>
                        <include>TopBarButton</include>
                        <texture>topbar/topbar_repeat_one_focus.png</texture>
                        <visible>Playlist.IsRepeatOne</visible>
                        <visible>Control.HasFocus(1)</visible>
                    </control>
                    <control type="image" id="6">
                        <posx>0</posx>
                        <posy>0</posy>
                        <include>TopBarButton</include>
                        <texture>topbar/topbar_repeat_all_nofocus.png</texture>
                        <visible>Playlist.IsRepeat</visible>
                        <visible>!Control.HasFocus(1)</visible>
                    </control>
                    <control type="image" id="7">
                        <posx>0</posx>
                        <posy>0</posy>
                        <include>TopBarButton</include>
                        <texture>topbar/topbar_repeat_all_focus.png</texture>
                        <visible>Playlist.IsRepeat</visible>
                        <visible>Control.HasFocus(1)</visible>
                    </control>
                </control>
                <control type="togglebutton" id="21">
                    <visible>!MusicPlayer.Content(LiveTV)</visible>
                    <label>$LOCALIZE[590]$INFO[Playlist.Random, : ]</label>
                    <altlabel>$LOCALIZE[590] : $LOCALIZE[16041]</altlabel>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_random_off_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_random_off_nofocus.png</texturenofocus>
                    <usealttexture>Playlist.IsRandom</usealttexture>
                    <alttexturefocus>topbar/topbar_random_on_focus.png</alttexturefocus>
                    <alttexturenofocus>topbar/topbar_random_on_nofocus.png</alttexturenofocus>
                    <onclick>XBMC.PlayerControl(Random)</onclick>
                </control>
                <control type="button" id="9">
                    <label>$LOCALIZE[24013]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_teletext_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_teletext_nofocus.png</texturenofocus>
                    <onclick>Close</onclick>
                    <onclick condition="String.IsEmpty(Skin.String(LyricPath))">Skin.SetAddon(LyricPath,xbmc.python.lyrics)</onclick>
                    <onclick condition="!String.IsEmpty(Skin.String(LyricPath))">XBMC.RunScript($INFO[Skin.String(LyricPath)])</onclick>
                </control>
                <control type="button" id="555">
                    <label>$LOCALIZE[559]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_bookmark_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_bookmark_nofocus.png</texturenofocus>
                    <onclick>Close</onclick>
                    <onclick>ActivateWindow(MusicPlaylist)</onclick>
                </control>
                <control type="togglebutton" id="353">
                    <enable>Player.CanRecord</enable>
                    <animation effect="fade" start="100" end="50" time="0" condition="!Player.CanRecord">Conditional</animation>
                    <label>$LOCALIZE[264]</label>
                    <altlabel>$LOCALIZE[265]</altlabel>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_rec_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_rec_nofocus.png</texturenofocus>
                    <usealttexture>Player.Recording</usealttexture>
                    <alttexturefocus>topbar/topbar_rec_on_focus.png</alttexturefocus>
                    <alttexturenofocus>topbar/topbar_rec_on_nofocus.png</alttexturenofocus>
                    <onclick>PlayerControl(Record)</onclick>
                </control>
                <control type="button" id="556">
                    <label>$LOCALIZE[20445]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_fanart_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_fanart_nofocus.png</texturenofocus>
                    <label2>$VAR[MusicPlayingFanartLabel2]</label2>
                    <onclick>Skin.ToggleSetting(MusicPlayingFanart)</onclick>
                </control>
                <control type="button" id="500">
                    <label>$LOCALIZE[24010]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_video_settings_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_video_settings_nofocus.png</texturenofocus>
                </control>
                <control type="button" id="19">
                    <enable>Visualisation.Enabled</enable>
                    <animation effect="fade" start="100" end="50" time="0" condition="!Visualisation.Enabled">Conditional</animation>
                    <label>$LOCALIZE[250] $LOCALIZE[10004]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_viz_settings_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_viz_settings_nofocus.png</texturenofocus>
                    <onclick>Addon.Default.OpenSettings(xbmc.player.musicviz)</onclick>
                </control>
                <control type="button" id="20">
                    <enable>Visualisation.HasPresets</enable>
                    <animation effect="fade" start="100" end="50" time="0" condition="!Visualisation.HasPresets">Conditional</animation>
                    <label>$LOCALIZE[31048]</label>
                    <include>TopBarButton</include>
                    <texturefocus>topbar/topbar_presets_focus.png</texturefocus>
                    <texturenofocus>topbar/topbar_presets_nofocus.png</texturenofocus>
                    <onclick>ActivateWindow(122)</onclick>
                </control>
            </control>
        </control>
    </controls>
</window>
