changeset 19530:e8a589ebd38a

updated sample of libmenu config file with latest improvements
author ben
date Fri, 25 Aug 2006 19:31:31 +0000
parents 9a59c33bee29
children 2effceebd29c
files etc/menu.conf
diffstat 1 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/menu.conf	Fri Aug 25 19:22:51 2006 +0000
+++ b/etc/menu.conf	Fri Aug 25 19:31:31 2006 +0000
@@ -3,7 +3,9 @@
 
 <filesel name="open_file"/>
 <filesel name="open_list" file-action="loadlist '%p'" auto-close="yes"
-	 title="Open a playlist: %p" />
+	 title="Open a playlist: %p"
+	 filter="/etc/mplayer/extensions_filter"
+	 actions="d:run 'mp_loader \'%p\' d',c:run 'mp_loader \'%p\' c'" />
 
 <pt name="jump_to"/>
 
@@ -62,6 +64,23 @@
     <e name="Back" ok="menu cancel"/>
 </cmdlist>
 
+<pref name="properties" title="Stream Properties">
+      <e meta="name" name="Name"/>
+      <e meta="vcodec" name="Video Codec"/>
+      <e meta="vbitrate" name="Video Bitrate"/>
+      <e meta="resolution" name="Resolution"/>
+      <e meta="acodec" name="Audio Codec"/>
+      <e meta="abitrate" name="Audio Bitrate"/>
+      <e meta="asamples" name="Audio Samples"/>
+      <e meta="title" name="Title"/>
+      <e meta="artist" name="Artist"/>
+      <e meta="album" name="Album"/>
+      <e meta="year" name="Year"/>
+      <e meta="comment" name="Comment"/>
+      <e meta="track" name="Track"/>
+      <e meta="genre" name="Genre"/>
+</pref>
+
 <cmdlist name="main" title="MPlayer OSD menu" ptr="<>" >
       <e name="Pause" ok="pause"/>
       <e name="Prev/Next" ok="pt_step 1" cancel="pt_step -1"/>
@@ -70,6 +89,7 @@
       <e name="Open playlist ..." ok="set_menu open_list"/>
       <e name="Help" ok="set_menu man"/>
       <e name="Pref" ok="set_menu pref_main"/>
+      <e name="Properties" ok="set_menu properties"/>
       <e name="Console" ok="set_menu console0"/>
       <e name="Quit" ok="quit"/>
 </cmdlist>