demux_mkv: fix failure to open some files from 0ece360eeaf95
[mplayer.git] / etc / menu.conf
blob635a2f2a1c241bef1b8c782e73bd5cb6fd6f0cfe
1 <keybindings name="default">
2     <binding key="UP" cmd="menu up" />
3     <binding key="DOWN" cmd="menu down" />
4     <binding key="LEFT" cmd="menu left" />
5     <binding key="RIGHT" cmd="menu right" />
6     <binding key="ENTER" cmd="menu ok" />
7     <binding key="ESC" cmd="menu cancel" />
8     <binding key="HOME" cmd="menu home" />
9     <binding key="END" cmd="menu end" />
10     <binding key="PGUP" cmd="menu pageup" />
11     <binding key="PGDWN" cmd="menu pagedown" />
12     <binding key="JOY_UP" cmd="menu up" />
13     <binding key="JOY_DOWN" cmd="menu down" />
14     <binding key="JOY_LEFT" cmd="menu left" />
15     <binding key="JOY_RIGHT" cmd="menu right" />
16     <binding key="JOY_BTN0" cmd="menu ok" />
17     <binding key="JOY_BTN1" cmd="menu cancel" />
18     <binding key="AR_VUP" cmd="menu up" />
19     <binding key="AR_VDOWN" cmd="menu down" />
20     <binding key="AR_PREV" cmd="menu left" />
21     <binding key="AR_NEXT" cmd="menu right" />
22     <binding key="AR_PLAY" cmd="menu ok" />
23     <binding key="AR_MENU" cmd="menu cancel" />
24     <binding key="AR_PREV_HOLD" cmd="menu home" />
25     <binding key="AR_NEXT_HOLD" cmd="menu end" />
26     <binding key="MOUSE_BTN0" cmd="menu click" />
27     <binding key="MOUSE_BTN2" cmd="menu cancel" />
28 </keybindings>
29 <keybindings name="list" parent="default">
30     <binding key="AR_PREV" cmd="menu pageup" />
31     <binding key="AR_NEXT" cmd="menu pagedown" />
32 </keybindings>
33 <keybindings name="filesel" parent="list">
34     <binding key="BS" cmd="menu left" />
35 </keybindings>
36 <keybindings name="chapsel" parent="list" />
37 <keybindings name="cmdlist" parent="list">
38     <binding key="AR_PREV" cmd="menu left" />
39     <binding key="AR_NEXT" cmd="menu right" />
40 </keybindings>
41 <keybindings name="txt" parent="list" />
42 <keybindings name="pt" parent="list" />
43 <keybindings name="pref" parent="list">
44     <binding key="AR_PREV" cmd="menu left" />
45     <binding key="AR_NEXT" cmd="menu right" />
46     <binding key="AR_PREV_HOLD" cmd="menu left" />
47     <binding key="AR_NEXT_HOLD" cmd="menu right" />
48 </keybindings>
50 <txt name="man" file="manpage.txt"/>
52 <filesel name="open_file"/>
53 <filesel name="open_list" file-action="loadlist '%p'"
54          title="Open a playlist: %p"
55          filter="/etc/mplayer/extensions_filter"
56          actions="d:run 'mp_loader \'%p\' d',c:run 'mp_loader \'%p\' c'" />
58 <chapsel name="select_chapter" />
60 <pt name="jump_to"/>
62 <console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
64 <txt name="man" file="manpage.txt"/>
66 <pref name="general_pref" title="General">
67       <e property="osdlevel" name="OSD level"/>
68       <e property="speed" name="Speed"/>
69       <e property="loop" name="Loop"/>
70 </pref>
72 <pref name="demuxer_pref" title="Demuxer">
73 </pref>
76 <pref name="osd_sub_pref" title="Subtitles">
77       <e property="sub" name="Subtitles"/>
78       <e property="sub_visibility" name="Visibility"/>
79       <e property="sub_forced_only" name="Forced sub only"/>
80       <e property="sub_alignment" name="Alignment"/>
81       <e property="sub_pos" name="Position"/>
82       <e property="sub_delay" name="Delay"/>
83       <e property="sub_scale" name="Scale"/>
84 </pref>
86 <pref name="audio_pref" title="Audio">
87       <e property="volume" name="Volume"/>
88       <e property="balance" name="Balance"/>
89       <e property="mute" name="Mute"/>
90       <e property="audio_delay" name="Delay"/>
91 </pref>
93 <pref name="colors_pref" title="Colors">
94       <e property="gamma" name="Gamma"/>
95       <e property="brightness" name="Brightness"/>
96       <e property="contrast" name="Contrast"/>
97       <e property="saturation" name="Saturation"/>
98       <e property="hue" name="Hue"/>
99 </pref>
101 <pref name="video_pref" title="Video">
102       <e property="fullscreen" name="Fullscreen"/>
103       <e property="panscan" name="Panscan"/>
104       <menu menu="colors_pref" name="Colors ..."/>
105       <e property="ontop" name="Always on top"/>
106       <e property="rootwin" name="Root window"/>
107       <e property="framedropping" name="Frame dropping"/>
108       <e property="vsync" name="VSync"/>
109  </pref>
112 <cmdlist name="pref_main" title="Preferences" ptr="<>" >
113     <e name="General ..." ok="set_menu general_pref"/>
114     <e name="Audio ..." ok="set_menu audio_pref"/>
115     <e name="Video ..." ok="set_menu video_pref"/>
116     <e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
117     <e name="Back" ok="menu cancel"/>
118 </cmdlist>
120 <pref name="properties" title="Stream Properties">
121       <e txt="${filename}" name="Name"/>
122       <e txt="${video_format}" name="Video Codec"/>
123       <e txt="${video_bitrate}" name="Video Bitrate"/>
124       <e txt="${width} x ${height}" name="Resolution"/>
125       <e txt="${audio_codec}" name="Audio Codec"/>
126       <e txt="${audio_bitrate}" name="Audio Bitrate"/>
127       <e txt="${samplerate}, ${channels}" name="Audio Samples"/>
128       <e txt="${metadata/Title}" name="Title"/>
129       <e txt="${metadata/Artist}" name="Artist"/>
130       <e txt="${metadata/Album}" name="Album"/>
131       <e txt="${metadata/Year}" name="Year"/>
132       <e txt="${metadata/Comment}" name="Comment"/>
133       <e txt="${metadata/Track}" name="Track"/>
134       <e txt="${metadata/Genre}" name="Genre"/>
135       <e txt="${metadata/Software}" name="Software"/>
136 </pref>
138 <cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >
139       <e name="Pause" ok="pause"/>
140       <e name="Chapter ..." ok="set_menu select_chapter"
141                             left="seek_chapter -1" right="seek_chapter +1"/>
142       <e name="Prev/Next ..." ok="set_menu jump_to"
143                             left="pt_step -1" right="pt_step 1"/>
144       <e name="Open ..." ok="set_menu open_file"/>
145       <e name="Open playlist ..." ok="set_menu open_list"/>
146       <e name="Help" ok="set_menu man"/>
147       <e name="Pref" ok="set_menu pref_main"/>
148       <e name="Properties" ok="set_menu properties"/>
149       <e name="Console" ok="set_menu console0"/>
150       <e name="Quit" ok="quit"/>
151 </cmdlist>