/mplayer/menu.conf

http://github.com/brinkman83/bashrc · Config · 153 lines · 134 code · 19 blank · 0 comment · 0 complexity · f96f66278e1bf637f5fb77bbb03a9857 MD5 · raw file

  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"/>
  51. <filesel name="open_list" file-action="loadlist '%p'" auto-close="yes"
  52. title="Open a playlist: %p"
  53. filter="/etc/mplayer/extensions_filter"
  54. actions="d:run 'mp_loader \'%p\' d',c:run 'mp_loader \'%p\' c'" />
  55. <chapsel name="select_chapter" />
  56. <pt name="jump_to"/>
  57. <console name="console0" height="80" vspace="0">Welcome to MPlayer</console>
  58. <txt name="man" file="manpage.txt"/>
  59. <pref name="general_pref" title="General">
  60. <e property="osdlevel" name="OSD level"/>
  61. <e property="speed" name="Speed"/>
  62. <e property="loop" name="Loop"/>
  63. </pref>
  64. <pref name="demuxer_pref" title="Demuxer">
  65. </pref>
  66. <pref name="osd_sub_pref" title="Subtitles">
  67. <e property="sub" name="Subtitles"/>
  68. <e property="sub_visibility" name="Visibility"/>
  69. <e property="sub_forced_only" name="Forced sub only"/>
  70. <e property="sub_alignment" name="Alignment"/>
  71. <e property="sub_pos" name="Position"/>
  72. <e property="sub_delay" name="Delay"/>
  73. <e property="sub_scale" name="Scale"/>
  74. </pref>
  75. <pref name="audio_pref" title="Audio">
  76. <e property="volume" name="Volume"/>
  77. <e property="balance" name="Balance"/>
  78. <e property="mute" name="Mute"/>
  79. <e property="audio_delay" name="Delay"/>
  80. </pref>
  81. <pref name="colors_pref" title="Colors">
  82. <e property="gamma" name="Gamma"/>
  83. <e property="brightness" name="Brightness"/>
  84. <e property="contrast" name="Contrast"/>
  85. <e property="saturation" name="Saturation"/>
  86. <e property="hue" name="Hue"/>
  87. </pref>
  88. <pref name="video_pref" title="Video">
  89. <e property="fullscreen" name="Fullscreen"/>
  90. <e property="panscan" name="Panscan"/>
  91. <menu menu="colors_pref" name="Colors ..."/>
  92. <e property="ontop" name="Always on top"/>
  93. <e property="rootwin" name="Root window"/>
  94. <e property="framedropping" name="Frame dropping"/>
  95. <e property="vsync" name="VSync"/>
  96. </pref>
  97. <cmdlist name="pref_main" title="Preferences" ptr="<>" >
  98. <e name="General ..." ok="set_menu general_pref"/>
  99. <e name="Audio ..." ok="set_menu audio_pref"/>
  100. <e name="Video ..." ok="set_menu video_pref"/>
  101. <e name="Subtitles ..." ok="set_menu osd_sub_pref"/>
  102. <e name="Back" ok="menu cancel"/>
  103. </cmdlist>
  104. <pref name="properties" title="Stream Properties">
  105. <e txt="${filename}" name="Name"/>
  106. <e txt="${video_format}" name="Video Codec"/>
  107. <e txt="${video_bitrate}" name="Video Bitrate"/>
  108. <e txt="${width} x ${height}" name="Resolution"/>
  109. <e txt="${audio_codec}" name="Audio Codec"/>
  110. <e txt="${audio_bitrate}" name="Audio Bitrate"/>
  111. <e txt="${samplerate}, ${channels}" name="Audio Samples"/>
  112. <e txt="${metadata/Title}" name="Title"/>
  113. <e txt="${metadata/Artist}" name="Artist"/>
  114. <e txt="${metadata/Album}" name="Album"/>
  115. <e txt="${metadata/Year}" name="Year"/>
  116. <e txt="${metadata/Comment}" name="Comment"/>
  117. <e txt="${metadata/Track}" name="Track"/>
  118. <e txt="${metadata/Genre}" name="Genre"/>
  119. <e txt="${metadata/Software}" name="Software"/>
  120. </pref>
  121. <cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >
  122. <e name="Pause" ok="pause"/>
  123. <e name="Chapter ..." ok="set_menu select_chapter"
  124. left="seek_chapter -1" right="seek_chapter +1"/>
  125. <e name="Prev/Next ..." ok="set_menu jump_to"
  126. left="pt_step -1" right="pt_step 1"/>
  127. <e name="Open ..." ok="set_menu open_file"/>
  128. <e name="Open playlist ..." ok="set_menu open_list"/>
  129. <e name="Help" ok="set_menu man"/>
  130. <e name="Pref" ok="set_menu pref_main"/>
  131. <e name="Properties" ok="set_menu properties"/>
  132. <e name="Console" ok="set_menu console0"/>
  133. <e name="Quit" ok="quit"/>
  134. </cmdlist>