<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>

<chapsel name="select_chapter" />

<cmdlist name="dvd" title="DVD-Video" ptr="<>" >
      <e name="Play DVD" ok="loadfile dvd://"/>
      <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>

<filesel name="open_file"/>

<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="pref_main" title="Preferences" ptr="<>" >
    <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="Back" ok="menu cancel"/>
</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>

<cmdlist name="main" title="MPlayer Wii menu" ptr="<>" >
      <e name="Pause" ok="pause"/>
      <e name="Chapter ..." ok="set_menu select_chapter"
                            left="seek_chapter -1" right="seek_chapter +1"/>
      <e name="DVD-Video ..." ok="set_menu dvd"/>
      <e name="Open ..." ok="set_menu open_file"/>
      <e name="Preferences ..." ok="set_menu pref_main"/>
      <e name="Properties ..." ok="set_menu properties"/>
      <e name="Quit" ok="quit"/>
</cmdlist>

