menu.conf 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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>
  49. <txt name="man" file="manpage.txt"/>
  50. <filesel name="open_file" file-action="loadfile '%p' menu cancel"
  51. title="File: %p" />
  52. <filesel name="open_list" file-action="loadlist '%p' menu cancel"
  53. title="List: %p" />
  54. <filesel name="open_sub" file-action="sub_load '%p' menu cancel"
  55. title="Subtitle: %p" />
  56. <chapsel name="select_chapter" />
  57. <pt name="jump_to"/>
  58. <console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
  59. <pref name="general_pref" title="General" ptr=">">
  60. <e property="osdlevel" name="OSD level"/>
  61. <e property="speed" name="Speed"/>
  62. </pref>
  63. <pref name="demuxer_pref" title="Demuxer">
  64. </pref>
  65. <pref name="osd_sub_pref" title="Subtitles" ptr=">">
  66. <e property="sub" name="Subtitle"/>
  67. <e property="sub_visibility" name="Visible"/>
  68. <e property="sub_forced_only" name="Forced only"/>
  69. <e property="sub_alignment" name="Alignment"/>
  70. <e property="sub_pos" name="Position"/>
  71. <e property="sub_delay" name="Delay"/>
  72. </pref>
  73. <pref name="audio_pref" title="Ses" ptr=">">
  74. <e property="switch_audio" name="Switch audio"/>
  75. <e property="volume" name="Volume"/>
  76. <e property="mute" name="Mute"/>
  77. <e property="audio_delay" name="Delay"/>
  78. </pref>
  79. <pref name="colors_pref" title="Colors" ptr=">">
  80. <e property="gamma" name="Gamma"/>
  81. <e property="brightness" name="Brightness"/>
  82. <e property="contrast" name="Contrast"/>
  83. <e property="saturation" name="Saturation"/>
  84. <e property="hue" name="Hue"/>
  85. </pref>
  86. <cmdlist name="aspect_ratio" title="Aspect Ratio" ptr=">">
  87. <e name="4 / 3" ok="switch_ratio 1.3333"/>
  88. <e name="16 / 9" ok="switch_ratio 1.7777"/>
  89. <e name="1 / 1" ok="switch_ratio 1.0"/>
  90. <e name="2.3" ok="switch_ratio 2.21"/>
  91. <e name="1.85" ok="switch_ratio 1.85"/>
  92. <e name="1.2" ok="switch_ratio 1.2"/>
  93. <e name="Automatic" ok="switch_ratio 0"/>
  94. <e name="Back" ok="menu cancel"/>
  95. </cmdlist>
  96. <pref name="video_pref" title="Video " ptr=">">
  97. <e property="fullscreen" name="Fullscreen"/>
  98. <menu menu="aspect_ratio" name="Aspect ratio"/>
  99. <e property="panscan" name="Panscan"/>
  100. <menu menu="colors_pref" name="Colors"/>
  101. <e property="ontop" name="On top"/>
  102. <e property="rootwin" name="Root window"/>
  103. <e property="framedropping" name="Frame dropping"/>
  104. <e property="vsync" name="VSync"/>
  105. </pref>
  106. <cmdlist name="pref_main" title="Preferences" ptr=">">
  107. <e name="General" ok="set_menu general_pref"/>
  108. <e name="Audio" ok="set_menu audio_pref"/>
  109. <e name="Video" ok="set_menu video_pref"/>
  110. <e name="Subtitle" ok="set_menu osd_sub_pref"/>
  111. <e name="Back" ok="menu cancel"/>
  112. </cmdlist>
  113. <pref name="properties" title="Properties">
  114. <e txt="${filename}" name="Source"/>
  115. <e txt="${video_format}" name="Video"/>
  116. <e txt="${video_bitrate}" name="Video bitrate"/>
  117. <e txt="${width} x ${height}" name="Resolution"/>
  118. <e txt="${audio_codec}" name="Audio codec"/>
  119. <e txt="${audio_bitrate}" name="Audio bitrate"/>
  120. <e txt="${samplerate}" name="Samplerate"/>
  121. <e txt="${metadata/Title}" name="Title"/>
  122. <e txt="${metadata/Artist}" name="Artist"/>
  123. <e txt="${metadata/Album}" name="Album"/>
  124. <e txt="${metadata/Year}" name="Year"/>
  125. <e txt="${metadata/Comment}" name="Comment"/>
  126. <e txt="${metadata/Track}" name="Track"/>
  127. <e txt="${metadata/Genre}" name="Genre"/>
  128. <e txt="${metadata/Software}" name="Software"/>
  129. </pref>
  130. <cmdlist name="load_main" title="Load " ptr=">">
  131. <e name="File" ok="set_menu open_file"/>
  132. <e name="List" ok="set_menu open_list"/>
  133. <e name="Subtitle" ok="set_menu open_sub"/>
  134. </cmdlist>
  135. <cmdlist name="main" title="MPlayer OSD" ptr=">">
  136. <e name="Select from list" ok="set_menu jump_to"/>
  137. <e name="Load" ok="set_menu load_main"/>
  138. <e name="Select chapter" ok="set_menu select_chapter" left="seek_chapter -1" right="seek_chapter +1"/>
  139. <e name="Pause" ok="pause"/>
  140. <e name="Frame step" ok="frame_step"/>
  141. <e name="Screenshot" ok="screenshot"/>
  142. <e name="Previous/Next" right="pt_step 1" left="pt_step -1"/>
  143. <e name="Preferences" ok="set_menu pref_main"/>
  144. <e name="Properties" ok="set_menu properties"/>
  145. <e name="Console" ok="set_menu console0"/>
  146. <e name="Quit" ok="quit"/>
  147. </cmdlist>