<keybindings name="default">
    <binding key="UP" cmd="menu up" />
    <binding key="DOWN" cmd="menu down" />
    <binding key="LEFT" cmd="menu left" />
    <binding key="RIGHT" cmd="menu right" />
    <binding key="a" cmd="menu ok" />
    <binding key="b" cmd="menu cancel" />
    <binding key="l" cmd="menu pageup" />
    <binding key="r" cmd="menu pagedown" />
    <binding key="x" cmd="menu hide" />
</keybindings>

<cmdlist name="open" title="Open" ptr="<>" >
            <e name="../" ok="menu cancel"/>
    <e name="File ..." ok="set_menu file"/>	
    <e name="Playlist ..." ok="set_menu list" />
    <e name="Subtitle ..." ok="set_menu sub" />
    <e name="DVD Video ..." ok="set_menu dvd"/>
    <e name="Online Media ..." ok="set_menu inetsel"/>
</cmdlist>

<cmdlist name="file" title="Load a File:" ptr="<>" >
			<e name="../" ok="menu cancel"/>
      <e name="Wii SD ..." ok="set_menu open_sd"/>
      <e name="Wii USB ..." ok="set_menu open_usb"/>
      <e name="Wii DVD ..." ok="set_menu open_dvd"/>
      <e name="SMB ..." ok="set_menu open_smb"/>
      <e name="FTP ..." ok="set_menu open_ftp"/>
</cmdlist>

<cmdlist name="list" title="Load a Playlist:" ptr="<>" >
			<e name="../" ok="menu cancel"/>
    <e name="Wii SD ..." ok="set_menu open_sd_list"/>
    <e name="Wii USB ..." ok="set_menu open_usb_list"/>
    <e name="Wii DVD ..." ok="set_menu open_dvd_list"/>
    <e name="SMB ..." ok="set_menu open_smb_list"/>
</cmdlist>

<cmdlist name="sub" title="Load a Subtitle:" ptr="<>" >
			<e name="../" ok="menu cancel"/>
    <e name="Wii SD ..." ok="set_menu open_sd_sub"/>
    <e name="Wii USB ..." ok="set_menu open_usb_sub"/>
    <e name="Wii DVD ..." ok="set_menu open_dvd_sub"/>
    <e name="SMB ..." ok="set_menu open_smb_sub"/>
</cmdlist>

<cmdlist name="dvd" title="DVD-Video" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Play DVD" ok="menu hide
                             loadfile dvd://"/>
      <e name="Chapter ..." ok="set_menu select_chapter" left="seek_chapter -1" right="seek_chapter +1"/>
      <e name="Play Title #1" ok="loadfile dvd://1"/>
      <e name="Play Title #2" ok="loadfile dvd://2"/>
      <e name="Play Title #3" ok="loadfile dvd://3"/>
      <e name="Play Title #4" ok="loadfile dvd://4"/>
      <e name="Play Title #5" ok="loadfile dvd://5"/>
      <e name="Play DVD (libdvdnav)" ok="loadfile dvdnav://"/>
</cmdlist>
<chapsel name="select_chapter" />

<cmdlist name="inetsel" title="Online Media" ptr="<>" >
            <e name="../" ok="menu cancel"/>
    <e name="User-defined ..." ok="set_menu userdef"/>
    <e name="SHOUTcast ..." ok="set_menu shoutcast"/>
    <e name="YouTube ..." ok="set_menu youtube"/>
    <e name="Nintendo" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/nc/playlist.php'
                      set_menu jump_to
					  menu hide"/>
</cmdlist>

<cmdlist name="userdef" title="User-defined" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Radio Plus" ok="loadlist 'http://radioplus.dnsalias.org:8000/listen.pls'"/>
      <e name="Otvoreni radio" ok="loadlist 'http://82.193.201.234:8001/listen.pls'"/>
      <e name="Woxy radio" ok="loadlist 'http://woxy.lala.com/stream/aac32.pls'"/>
      <e name="LiveATC CYQB" ok="loadlist 'http://d.liveatc.net/cyqb.m3u'"/>
</cmdlist>

<cmdlist name="shoutcast" title="SHOUTcast" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Internet Radio" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/rd/playlist.php'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Internet TV" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/tv/playlist.php'
                      set_menu jump_to
					  pausing pause"/>
</cmdlist>

<cmdlist name="youtube" title="YouTube" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Browse ..." ok="set_menu ytbrw"/>
      <e name="Playlists ..." ok="set_menu ytpls"/>
      <e name="Settings ..." ok="set_menu ytset"/>
      <e name="Favorites" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=channel&query=favorites'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Uploads" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=channel&query=uploads'
                      set_menu jump_to
					  pausing pause"/>
</cmdlist>

<cmdlist name="ytbrw" title="Browse" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Categories ..." ok="set_menu ytcat"/>
      <e name="Search terms ..." ok="set_menu ytsrc"/>
      <e name="Standard feeds ..." ok="set_menu ytstd"/>
      <e name="Subscriptions" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=channel&query=newsubscriptionvideos'
                      set_menu jump_to
                      pausing pause"/>
</cmdlist>

<cmdlist name="ytcat" title="Categories" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Autos & Vehicles" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Autos'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Comedy" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Comedy'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Education" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Education'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Entertainment" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Entertainment'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Film & Animation" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Film'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Gaming" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Games'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Howto & Style" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Howto'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Music" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Music'
                      set_menu jump_to
					  pausing pause"/>
      <e name="News & Politics" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=News'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Nonprofits & Activism" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Nonprofit'
                      set_menu jump_to
                      pausing pause"/>
      <e name="People & Blogs" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=People'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Pets & Animals" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Animals'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Science & Technology" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Tech'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Sports" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Sports'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Travel & Events" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=category&query=Travel'
                      set_menu jump_to
					  pausing pause"/>
</cmdlist>

<cmdlist name="ytsrc" title="Search terms" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="wii homebrew" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=search&query=wii%20homebrew'
                      set_menu jump_to
					  pausing pause"/>
      <e name="mplayer ce" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=search&query=mplayer%20ce'
                      set_menu jump_to
					  pausing pause"/>
      <e name="rickroll" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=search&query=rickroll'
                      set_menu jump_to
					  pausing pause"/>
</cmdlist>

<cmdlist name="ytstd" title="Standard feeds" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Top rated" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=top_rated'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Top favorites" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=top_favorites'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Most viewed" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=most_viewed'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Most popular" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=most_popular'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Most recent" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=most_recent'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Most discussed" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=most_discussed'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Most linked" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=most_linked'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Most responded" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=most_responded'
                      set_menu jump_to
					  pausing pause"/>
      <e name="Recently featured" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=standard&query=recently_featured'
                      set_menu jump_to
                      pausing pause"/>
</cmdlist>

<cmdlist name="ytpls" title="Playlists" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Empires" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=defined&query=FBD1D822EC76134A'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Freeman's Mind" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=defined&query=49C3B7EDD1624C55'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Fullmetal Alchemist: Brotherhood" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=defined&query=DDAC7E6A5A5B2D83'
                      set_menu jump_to
                      pausing pause"/>
      <e name="Offer 'Vince' Shlomi" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=defined&query=A8764044550A050A'
                      set_menu jump_to
                      pausing pause"/>
      <e name="William Darrell 'Billy' Mays, Jr." ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=defined&query=0642C26A730AEEB0'
                      set_menu jump_to
                      pausing pause"/>
      <e name="WiiBrew" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/playlist.php?view=defined&query=72658A55B19C8634'
                      set_menu jump_to
                      pausing pause"/>
</cmdlist>

<cmdlist name="ytset" title="Settings" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="Channel ..." ok="set_menu ytsch"/>
      <e name="Quality ..." ok="set_menu ytsqy"/>
      <e name="Wait ..." ok="set_menu ytswt"/>
</cmdlist>

<cmdlist name="ytsch" title="Channel" ptr="" >
      <e name="ExtremsCorner (default)" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=channel&value=ExtremsCorner'
                      set_menu inetset
					  pausing pause"/>
      <e name="Djy1991" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=channel&value=Djy1991'
                      set_menu inetset
					  pausing pause"/>
      <e name="LitFuseFilms" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=channel&value=LitFuseFilms'
                      set_menu inetset
					  pausing pause"/>
      <e name="JamesNintendoNerd" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=channel&value=JamesNintendoNerd'
                      set_menu inetset
					  pausing pause"/>
      <e name="SpoonyOne" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=channel&value=SpoonyOne'
                      set_menu inetset
					  pausing pause"/>
</cmdlist>

<cmdlist name="ytsqy" title="Quality" ptr="" >
      <e name="176: Mobile" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=quality&value=mobile'
                      set_menu inetset
                      pausing pause"/>
      <e name="320: Normal" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=quality&value=normal'
                      set_menu inetset
                      pausing pause"/>
      <e name="480: High" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=quality&value=high'
                      set_menu inetset
                      pausing pause"/>
      <e name="Max (default)" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=quality&value=max'
                      set_menu inetset
                      pausing pause"/>
</cmdlist>

<cmdlist name="ytswt" title="Wait" ptr="" >
      <e name="Never" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=wait&value=never'
                      set_menu inetset
                      pausing pause"/>
      <e name="On start (default)" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=wait&value=start'
                      set_menu inetset
                      pausing pause"/>
      <e name="Always" ok="osd_show_text 'Network not yet initialized, Please Wait' 3000 0
                      loadlist 'http://pentium.extremscorner.co.cc:8080/wii/yt/settings.php?param=wait&value=always'
                      set_menu inetset
                      pausing pause"/>
</cmdlist>

<pt name="inetset" title="Feedback" auto-close="no"/>

<cmdlist name="open_ftp" title="Choose FTP Share" ptr="<>" >
       <e name="../" ok="menu cancel"/>
      <e name="FTP share 1 ..." ok="set_menu open_ftp1"/>
      <e name="FTP share 2 ..." ok="set_menu open_ftp2"/>
      <e name="FTP share 3 ..." ok="set_menu open_ftp3"/>
      <e name="FTP share 4 ..." ok="set_menu open_ftp4"/>
      <e name="FTP share 5 ..." ok="set_menu open_ftp5"/>
</cmdlist>

<cmdlist name="open_smb" title="Choose SMB Share" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="SMB share 1 ..." ok="set_menu open_smb1"/>
      <e name="SMB share 2 ..." ok="set_menu open_smb2"/>
      <e name="SMB share 3 ..." ok="set_menu open_smb3"/>
      <e name="SMB share 4 ..." ok="set_menu open_smb4"/>
      <e name="SMB share 5 ..." ok="set_menu open_smb5"/>
</cmdlist>

<cmdlist name="open_smb_list" title="Choose SMB Share" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="SMB share 1 ..." ok="set_menu open_smb1_list"/>
      <e name="SMB share 2 ..." ok="set_menu open_smb2_list"/>
      <e name="SMB share 3 ..." ok="set_menu open_smb3_list"/>
      <e name="SMB share 4 ..." ok="set_menu open_smb4_list"/>
      <e name="SMB share 5 ..." ok="set_menu open_smb5_list"/>
</cmdlist>

<cmdlist name="open_smb_sub" title="Choose SMB Share" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="SMB share 1 ..." ok="set_menu open_smb1_sub"/>
      <e name="SMB share 2 ..." ok="set_menu open_smb2_sub"/>
      <e name="SMB share 3 ..." ok="set_menu open_smb3_sub"/>
      <e name="SMB share 4 ..." ok="set_menu open_smb4_sub"/>
      <e name="SMB share 5 ..." ok="set_menu open_smb5_sub"/>
</cmdlist>

<cmdlist name="open_sd" title="Choose File System" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="FAT32 ..." ok="set_menu open_sd_fat"/>
      <e name="NTFS ..." ok="set_menu open_sd_ntfs"/>
</cmdlist>

<cmdlist name="open_sd_list" title="Choose File System" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="FAT32 ..." ok="set_menu open_sd_list_fat"/>
      <e name="NTFS ..." ok="set_menu open_sd_list_ntfs"/>
</cmdlist>

<cmdlist name="open_sd_sub" title="Choose File System" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="FAT32 ..." ok="set_menu open_sd_sub_fat"/>
      <e name="NTFS ..." ok="set_menu open_sd_sub_ntfs"/>
</cmdlist>

<cmdlist name="open_usb" title="Choose File System" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="FAT32 ..." ok="set_menu open_usb_fat"/>
      <e name="NTFS ..." ok="set_menu open_usb_ntfs"/>
</cmdlist>

<cmdlist name="open_usb_list" title="Choose File System" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="FAT32 ..." ok="set_menu open_usb_list_fat"/>
      <e name="NTFS ..." ok="set_menu open_usb_list_ntfs"/>
</cmdlist>

<cmdlist name="open_usb_sub" title="Choose File System" ptr="<>" >
            <e name="../" ok="menu cancel"/>
      <e name="FAT32 ..." ok="set_menu open_usb_sub_fat"/>
      <e name="NTFS ..." ok="set_menu open_usb_sub_ntfs"/>
</cmdlist>

<filesel name="open_sd_fat" path="sd:/" 
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'"/>
<filesel name="open_sd_ntfs" path="ntfs_sd:/" 
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'"/>
<filesel name="open_usb_fat" path="usb:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_usb_ntfs" path="ntfs_usb:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_dvd" path="dvd:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_smb1" path="smb1:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_smb2" path="smb2:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_smb3" path="smb3:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_smb4" path="smb4:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_smb5" path="smb5:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_ftp1" path="ftp1:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_ftp2" path="ftp2:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_ftp3" path="ftp3:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_ftp4" path="ftp4:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />
<filesel name="open_ftp5" path="ftp5:/"
         filter="file_ext" 
         file-action="menu hide
                      pause
                      loadfile '%p'" />

<pt name="jump_to" title="Playlist" auto-close="yes"/>

<filesel name="open_sd_list_fat" path="sd:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_sd_list_ntfs" path="ntfs_sd:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_usb_list_fat" path="usb:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_usb_list_ntfs" path="ntfs_usb:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_smb1_list" path="smb1:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_smb2_list" path="smb2:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_smb3_list" path="smb3:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_smb4_list" path="smb4:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_smb5_list" path="smb5:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />
<filesel name="open_dvd_list" path="dvd:/"
         filter="list_ext" 
         file-action="loadlist '%p'
                      menu hide" />

<filesel name="open_sd_sub_fat" path="sd:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_sd_sub_ntfs" path="ntfs_sd:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_usb_sub_fat" path="usb:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_usb_sub_ntfs" path="ntfs_usb:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_smb1_sub" path="smb1:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_smb2_sub" path="smb2:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_smb3_sub" path="smb3:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_smb4_sub" path="smb4:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_smb5_sub" path="smb5:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />
<filesel name="open_dvd_sub" path="dvd:/"
         filter="subs_ext" 
         file-action="menu hide
                      pause
                      sub_load '%p'
                      sub_select 1
                      sub_visibility 1" />

<cmdlist name="pref_main" title="Options" ptr="<>" >
        <e name="../" ok="menu cancel"/>
    <e name="General ..." ok="set_menu general_pref"/>
    <e name="Audio ..." ok="set_menu audio_pref"/>
    <e name="Video ..." ok="set_menu video_pref"/>
    <e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
    <e name="Aspect ..." ok="set_menu aspect"/>
    <e name="Files Filter ..." ok="set_menu filter"/>
    <e name="Properties ..." ok="set_menu properties"/>
</cmdlist>

<pref name="general_pref" title="General">
      <e property="osdlevel" name="OSD level"/>
      <e property="loop" name="Loop"/>
</pref>

<pref name="osd_sub_pref" title="Subtitles">
      <e property="sub" name="Subtitles"/>
      <e property="sub_visibility" name="Visibility"/>
      <e property="sub_forced_only" name="Forced sub only"/>
      <e property="sub_alignment" name="Alignment"/>   
      <e property="sub_pos" name="Position"/>
      <e property="sub_delay" name="Delay"/>
</pref>

<pref name="video_pref" title="Video">
      <e property="panscan" name="Panscan"/>
      <e property="framedropping" name="Frame dropping"/>
 </pref>

<pref name="audio_pref" title="Audio">
      <e property="switch_audio" name="Audio Stream"/>
      <e property="volume" name="Volume"/>
      <e property="balance" name="Balance"/>
      <e property="mute" name="Mute"/>
      <e property="audio_delay" name="Delay"/>
</pref>

<cmdlist name="aspect" title="Aspect">
    <e name="Original" ok="switch_ratio"/>
    <e name="16:9" ok="switch_ratio 1.778"/>
    <a name="4:3" ok="switch_ratio  1.333"/>
    <a name="2.35:1" ok="switch_ratio 2.350"/>
</cmdlist>

<cmdlist name="filter" title="Files Filter" >
      <e name="Display All Files" ok="file_filter 0"/>
      <e name="Display Media Files Only" ok="file_filter 1"/>
</cmdlist>

<pref name="properties" title="Stream Properties">
      <e txt="${filename}" name="Name"/>
      <e txt="${video_format}" name="Video Codec"/>
      <e txt="${video_bitrate}" name="Video Bitrate"/>
      <e txt="${width} x ${height}" name="Resolution"/>
      <e txt="${audio_codec}" name="Audio Codec"/>
      <e txt="${audio_bitrate}" name="Audio Bitrate"/>
      <e txt="${samplerate}, ${channels}" name="Audio Samples"/>
      <e txt="${metadata/Title}" name="Title"/>
      <e txt="${metadata/Artist}" name="Artist"/>
      <e txt="${metadata/Album}" name="Album"/>
      <e txt="${metadata/Year}" name="Year"/>
      <e txt="${metadata/Comment}" name="Comment"/>
      <e txt="${metadata/Track}" name="Track"/>
      <e txt="${metadata/Genre}" name="Genre"/>
      <e txt="${metadata/Software}" name="Software"/>
</pref>

<txt name="about" file="about.txt"/>

<cmdlist name="main" title="MPlayer CE" ptr="<>" >
      <e name="Stop" ok="stop"/>
      <e name="Open ..." ok="set_menu open" />
      <e name="Current playlist ..." ok="set_menu jump_to"/>
      <e name="Options ..." ok="set_menu pref_main"/>
      <e name="About" ok="set_menu about"/>
      <e name="Quit" ok="quit"/>
</cmdlist>