Guest User

Untitled

a guest
May 1st, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.00 KB | None | 0 0
  1. <!-- See a description of the format at the end. -->
  2.  
  3. <menu name="playback_osd" text="Playback Menu">
  4. <menu text="Audio">
  5. <menu text="Select Audio Track">
  6. <itemlist actiongroup="SELECTAUDIO_" current="active" />
  7. </menu>
  8. <item action="TOGGLEAUDIOSYNC" text="Adjust Audio Sync" />
  9. <menu text="Visualisation">
  10. <item action="DISABLEVISUALISATION" text="None" />
  11. <itemlist actiongroup="VISUALISER_" />
  12. </menu>
  13. <item action="DISABLEUPMIX" text="Disable Audio Upmixer" show="inactive" />
  14. <item action="ENABLEUPMIX" text="Enable Audio Upmixer" show="inactive" />
  15. </menu>
  16. <menu text="Video">
  17. <menu text="Change Aspect Ratio">
  18. <item action="TOGGLEASPECT0" text="Off" current="active" />
  19. <item action="TOGGLEASPECT1" text="4:3" current="active" />
  20. <item action="TOGGLEASPECT3" text="14:9" current="active" />
  21. <item action="TOGGLEASPECT2" text="16:9" current="active" />
  22. <item action="TOGGLEASPECT4" text="2.35:1" current="active" />
  23. <!-- Alternatively:
  24. <itemlist actiongroup="TOGGLEASPECT" current="active" />
  25. -->
  26. </menu>
  27. <menu text="Adjust Fill">
  28. <item action="AUTODETECT_FILL" text="Auto Detect" current="active" />
  29. <item action="TOGGLEFILL0" text="Off" current="active" />
  30. <item action="TOGGLEFILL1" text="Half" current="active" />
  31. <item action="TOGGLEFILL2" text="Full" current="active" />
  32. <item action="TOGGLEFILL3" text="H.Stretch" current="active" />
  33. <item action="TOGGLEFILL4" text="V.Stretch" current="active" />
  34. <item action="TOGGLEFILL5" text="H.Fill" current="active" />
  35. <item action="TOGGLEFILL6" text="V.Fill" current="active" />
  36. <!-- Alternatively:
  37. <itemlist actiongroup="TOGGLEFILL" current="active" />
  38. -->
  39. </menu>
  40. <item action="TOGGLEMANUALZOOM" text="Manual Zoom Mode" />
  41. <menu text="Adjust Picture">
  42. <item action="TOGGLEPICCONTROLS0" text="None" />
  43. <item action="TOGGLEPICCONTROLS1" text="Brightness" />
  44. <item action="TOGGLEPICCONTROLS2" text="Contrast" />
  45. <item action="TOGGLEPICCONTROLS3" text="Color" />
  46. <item action="TOGGLEPICCONTROLS4" text="Hue" />
  47. <!-- XXX TOGGLESTUDIOLEVELS is weird and shouldn't be part of
  48. the TOGGLEPICCONTROLS set. -->
  49. <item action="TOGGLESTUDIOLEVELS"
  50. textactive="Disable Studio Levels"
  51. textinactive="Enable Studio Levels" />
  52. <item action="TOGGLEPICCONTROLS6" text="Volume" />
  53. <!-- Alternatively:
  54. <itemlist actiongroup="TOGGLEPICCONTROLS" />
  55. -->
  56. <item action="TOGGLENIGHTMODE"
  57. textactive="Disable Night Mode" textinactive="Enable Night Mode" />
  58. </menu>
  59. <menu text="3D">
  60. <item action="3DNONE" text="None" current="active" />
  61. <item action="3DSIDEBYSIDE" text="Side by Side" current="active" />
  62. <item action="3DSIDEBYSIDEDISCARD" text="Discard Side by Side" current="active" />
  63. <item action="3DTOPANDBOTTOM" text="Top and Bottom" current="active" />
  64. <item action="3DTOPANDBOTTOMDISCARD" text="Discard Top and Bottom" current="active" />
  65. <!-- Alternatively:
  66. <itemlist actiongroup="3D" current="active" />
  67. -->
  68. </menu>
  69. <menu text="Advanced">
  70. <menu text="Video Scan">
  71. <item action="SELECTSCAN_0" text="Detect" current="active" />
  72. <item action="SELECTSCAN_3" text="Progressive" current="active" />
  73. <item action="SELECTSCAN_1" text="Interlaced (Normal)" current="active" />
  74. <item action="SELECTSCAN_2" text="Interlaced (Reversed)" current="active" />
  75. <!-- Alternatively:
  76. <itemlist actiongroup="SELECTSCAN_" current="active" />
  77. -->
  78. </menu>
  79. <menu text="Deinterlacer">
  80. <itemlist actiongroup="DEINTERLACER_" current="active" />
  81. </menu>
  82. </menu>
  83. </menu>
  84. <menu text="Subtitles">
  85. <item action="DISABLESUBS" text="Disable Subtitles" show="inactive" />
  86. <item action="ENABLESUBS" text="Enable Subtitles" show="inactive" />
  87. <item action="DISABLEFORCEDSUBS" text="Disable Forced Subtitles" show="inactive" />
  88. <item action="ENABLEFORCEDSUBS" text="Enable Forced Subtitles" show="inactive" />
  89. <menu text="Select Subtitle" current="active">
  90. <itemlist actiongroup="SELECTSUBTITLE_" />
  91. </menu>
  92. <menu text="Text Subtitles" current="active">
  93. <item action="DISABLEEXTTEXT" text="Disable External Subtitles" show="inactive" />
  94. <item action="ENABLEEXTTEXT" text="Enable External Subtitles" show="inactive" />
  95. <itemlist actiongroup="SELECTRAWTEXT_" />
  96. </menu>
  97. <menu text="Select ATSC CC">
  98. <itemlist actiongroup="SELECTCC708_" current="active" />
  99. </menu>
  100. <menu text="Select VBI CC">
  101. <itemlist actiongroup="SELECTCC608_" current="active" />
  102. </menu>
  103. <menu text="Select Teletext CC">
  104. <itemlist actiongroup="SELECTTTC_" current="active" />
  105. </menu>
  106. <item action="TOGGLETTM" text="Toggle Teletext Menu" />
  107. <item action="TOGGLESUBZOOM" text="Adjust Subtitle Zoom" />
  108. <item action="TOGGLESUBDELAY" text="Adjust Subtitle Delay" />
  109. </menu>
  110. <menu text="Playback">
  111. <item action="PAUSE" textactive="Play" textinactive="Pause" />
  112. <menu text="Adjust Time Stretch">
  113. <item action="TOGGLESTRETCH" text="Toggle" current="active" />
  114. <item action="ADJUSTSTRETCH" text="Adjust" current="active" />
  115. <item action="ADJUSTSTRETCH0.5" text="0.5X" current="active" />
  116. <item action="ADJUSTSTRETCH0.9" text="0.9X" current="active" />
  117. <item action="ADJUSTSTRETCH1.0" text="1.0X" current="active" />
  118. <item action="ADJUSTSTRETCH1.1" text="1.1X" current="active" />
  119. <item action="ADJUSTSTRETCH1.2" text="1.2X" current="active" />
  120. <item action="ADJUSTSTRETCH1.3" text="1.3X" current="active" />
  121. <item action="ADJUSTSTRETCH1.4" text="1.4X" current="active" />
  122. <item action="ADJUSTSTRETCH1.5" text="1.5X" current="active" />
  123. <!-- Alternatively:
  124. <itemlist actiongroup="ADJUSTSTRETCH" current="active" />
  125. -->
  126. </menu>
  127. <menu text="Picture-in-Picture">
  128. <item action="CREATEPIPVIEW" text="Open Live TV PIP" show="inactive" />
  129. <item action="CREATEPBPVIEW" text="Open Live TV PBP" show="inactive" />
  130. <item action="JUMPRECPIP" text="Open Recording PIP" show="inactive" />
  131. <item action="JUMPRECPBP" text="Open Recording PBP" show="inactive" />
  132. <item action="NEXTPIPWINDOW" text="Change Active Window" />
  133. <item action="TOGGLEPIPMODE" text="Close PIP" show="inactive" /> <!-- XXX "Close PIPs" -->
  134. <item action="TOGGLEPBPMODE" text="Close PBP" show="inactive" /> <!-- XXX "Close PBPs" -->
  135. <item action="SWAPPIP" text="Swap Windows" />
  136. <item action="TOGGLEPIPSTATE"
  137. textactive="Switch to PBP" textinactive="Switch to PIP" />
  138. </menu>
  139. <menu text="Sleep">
  140. <item action="TOGGLESLEEPON" text="Sleep Off" />
  141. <item action="TOGGLESLEEP30" text="Sleep 30 minutes" />
  142. <item action="TOGGLESLEEP60" text="Sleep 60 minutes" />
  143. <item action="TOGGLESLEEP90" text="Sleep 90 minutes" />
  144. <item action="TOGGLESLEEP120" text="Sleep 120 minutes" />
  145. <!-- Alternatively:
  146. <itemlist actiongroup="TOGGLESLEEP" />
  147. -->
  148. </menu>
  149. <menu text="Channel Groups">
  150. <item action="CHANGROUP_ALL_CHANNELS" text="All Channels" />
  151. <itemlist actiongroup="CHANGROUP_" current="active" />
  152. </menu>
  153. <item action="TOGGLEBROWSE" text="Toggle Browse Mode" />
  154. <item action="CANCELPLAYLIST" text="Cancel Playlist" />
  155. <item action="DEBUGOSD" text="Playback Data" />
  156. </menu>
  157. <menu text="Navigate">
  158. <item action="JUMPFFWD" text="Jump Ahead" />
  159. <item action="JUMPRWND" text="Jump Back" />
  160. <menu text="Commercial Auto-Skip">
  161. <item action="TOGGLECOMMSKIP0" text="Auto-Skip OFF" current="active" />
  162. <item action="TOGGLECOMMSKIP2" text="Auto-Skip Notify" current="active" />
  163. <item action="TOGGLECOMMSKIP1" text="Auto-Skip ON" current="active" />
  164. <!-- Alternatively:
  165. <itemlist actiongroup="TOGGLECOMMSKIP" current="active" />
  166. -->
  167. </menu>
  168. <!-- JUMPTODVDROOTMENU has different text/meanings for BD & DVD -->
  169. <item action="JUMPTODVDROOTMENU"
  170. textactive="DVD Root Menu" textinactive="Top menu" />
  171. <item action="JUMPTOPOPUPMENU" text="Popup menu" />
  172. <item action="JUMPTODVDTITLEMENU" text="DVD Title Menu" />
  173. <item action="JUMPTODVDCHAPTERMENU" text="DVD Chapter Menu" />
  174. <item action="PREVCHAN" text="Previous Channel" />
  175. <menu text="Chapter">
  176. <itemlist actiongroup="JUMPTOCHAPTER" current="active" />
  177. </menu>
  178. <menu text="Angle">
  179. <itemlist actiongroup="SWITCHTOANGLE" current="active" />
  180. </menu>
  181. <menu text="Title">
  182. <itemlist actiongroup="JUMPTOTITLE" current="active" />
  183. </menu>
  184. </menu>
  185. <menu text="Schedule">
  186. <item action="GUIDE" text="Program Guide" />
  187. <item action="FINDER" text="Program Finder" />
  188. <item action="VIEWSCHEDULED" text="Upcoming Recordings" />
  189. <item action="SCHEDULE" text="Edit Recording Schedule" />
  190. </menu>
  191. <menu text="Source">
  192. <menu text="Jump to Program">
  193. <item action="JUMPREC" text="Recorded Program" /> <!-- XXX needs a complex menu -->
  194. </menu>
  195. <menu text="Switch Input">
  196. <itemlist actiongroup="SWITCHTOINPUT_" show="inactive" />
  197. </menu>
  198. <menu text="Switch Source">
  199. <!-- XXX Need a new action like SWITCHTOSOURCE_ -->
  200. <itemlist actiongroup="SWITCHTOINPUT_" />
  201. </menu>
  202. </menu>
  203. <menu text="Jobs">
  204. <!-- XXX Need different Channel/Recording text based on context -->
  205. <item action="EDIT" text="Edit Channel" />
  206. <item action="EDIT" text="Edit Recording" />
  207. <item action="TOGGLEAUTOEXPIRE"
  208. textactive="Auto-Expire OFF" textinactive="Auto-Expire ON" />
  209. <item action="QUEUETRANSCODE" text="Stop Transcoding" show="active" />
  210. <menu text="Begin Transcoding">
  211. <item action="QUEUETRANSCODE" text="Default" show="inactive" />
  212. <item action="QUEUETRANSCODE_AUTO" text="Autodetect" show="inactive" />
  213. <item action="QUEUETRANSCODE_HIGH" text="High Quality" show="inactive" />
  214. <item action="QUEUETRANSCODE_MEDIUM" text="Medium Quality" show="inactive" />
  215. <item action="QUEUETRANSCODE_LOW" text="Low Quality" show="inactive" />
  216. </menu>
  217. </menu>
  218. </menu>
  219.  
  220. <!--
  221. Menu items are shown only if that item is actually available in the
  222. current context, or if some item of a submenu would be shown.
  223.  
  224. Action names are the same as those used in MythTV. It would be nice
  225. to cleanse and normalize them if they are to be used externally.
  226.  
  227. For the itemlist element, the "actiongroup" attribute is the name of a
  228. set of actions, which is usually just a unique prefix of the action
  229. names.
  230.  
  231. Each action has a default "textactive" and "textinactive" attribute
  232. value, so these can be omitted. In fact, all the text* values in this
  233. example can be omitted since they are there to illustrate the
  234. defaults. The "text" attribute is a shortcut for setting textactive
  235. and textinactive to the same value.
  236.  
  237. Each action corresponds to an "active" or "inactive" state in the
  238. current context. The text label can depend on the state, via the
  239. "textactive" and "textinactive" attributes in the item element.
  240. Showing the menu item can depend on the state, via show="active" and
  241. show="inactive" (the "show" attribute is also valid for the itemlist
  242. element). Specifying current="active" for an item or itemlist element
  243. is a directive to make that item currently selected when the menu is
  244. entered if the item's state is active.
  245.  
  246. The "name" attribute for a menu is only needed if it's the name of a
  247. menu expected in the MythTV code, or if it is to be embedded somewhere
  248. else via the "from" attribute.
  249.  
  250. The "itemlist" element could potentially accept a "flags" attribute to
  251. allow the themer to provide hints to filter/reorder the list. Wait to
  252. find a real use case.
  253.  
  254. When a menu is entered, the item with focus is the submenu being
  255. returned from, or the first active item when current="active"
  256. is specified, or the first item.
  257. -->
Advertisement
Add Comment
Please, Sign In to add comment