<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">9999</defaultcontrol>
    <onload condition="Skin.hassetting(stopVideoOnMenu) + !Player.HasAudio">PlayerControl(stop)</onload>
    <onload condition="window.isactive(radiochannels)">Skin.SetString(recentitems,music)</onload>
    <onload condition="window.isactive(tvchannels)">Skin.SetString(recentitems,video)</onload>
    <animation type="windowClose">
        <effect type="fade" start="100" end="0" time="300"/>
    </animation>
	<views>50</views>
    <controls>
        <include>globalBackground</include>
        <!--page container group-->
        <control type="group">
            <!--window fader-->
            <animation type="conditional" condition="window.next(0) | window.next(1)">
                <effect type="fade" start="100" end="0" time="300"/>
            </animation>
            <!--shift page for certain modal dialogs-->
            <include>modalDialogContentShift</include>
            <!--Main content listing-->
            <control type="group" id="9999">
                <!--initial animation-->
                <include>contentOpen</include>
                <include>liveTVChannels</include>
            </control>
            <!--page scrollbar-->
            <control type="group" id="9400">
                <visible>Control.IsVisible(60) + !control.isvisible(10)</visible>
                <animation effect="fade" start="100" end="0" time="100" condition="!controlgroup(9400).hasfocus">conditional</animation>
                <control type="scrollbar" id="60">
                    <posx>54r</posx>
                    <posy>row-6-begin</posy>
                    <height>20-row</height>
                    <onleft>9999</onleft>
                    <onback>9999</onback>
                </control>
            </control>
            <!--page header-->
            <control type="group">
				<include>pageHeader</include>    
            </control>
			<control type="label" id="29">
			     <visible>false</visible>
            </control>
        </control>
        <!--mini window-->
        <include>miniVideoPlayer</include>
        <!--hub menu-->
        <include>hubMenu</include>
		<!--debugging-->
        <include>DebugGrid</include>
        <control type="label">
            <include>DialogID</include>
            <label>MyPVRChannels.xml path: $INFO[container.folderpath] folder: $INFO[container.foldername] content: $INFO[container.content]</label>
        </control>
    </controls>
</window>