4.3.0r13
[enigma2.git] / usr / share / enigma2 / menu.xml
1 <menu text="Mainmenu" title="Main menu">
2         <id val="mainmenu" />
3 <!-- the following types are allowed:
4         <screen [module="mod"] [screen="classname"]>[arguments]</screen>
5                 executes Screen called "classname" from module "Screen.mod"
6                 if no module is given, Screen must be globally available.
7                 if no screen is given, module is used as screen class name.
8                 arguments must be comma seperated (will be fed to eval), and can
9                         use stuff from module
10                 (of course you must specify at least one of module, screen.)
11         <setup id="id" />
12                 opens a setup with specified id
13         <code> .. code .. </code>
14                 "exec"s code
15 -->
16
17                 <item weight="10" level="0" text="Timer" entryID="timer_edit" description="Manage and edit timers."><screen module="TimerEdit" screen="TimerEditList" /></item>
18                 <item weight="20" level="1" text="VCR scart" entryID="scart_switch" requires="ScartSwitch"><code>self.session.scart.VCRSbChanged(3)</code></item>
19
20                 <item weight="70" level="1" text="Plugins" entryID="plugin_selection" description="Browse and manage your plugins."><screen module="PluginBrowser" screen="PluginBrowser" /></item>
21                 <menu weight="80" level="0" text="Setup" flushConfigOnClose="1" entryID="setup_selection" description="Configure and set up your Dreambox.">
22                         <id val="setup" />
23
24                         <menu weight="10" level="0" text="Network" requires="NetworkManager" entryID="network_tools" description="Network Setup and Tools.">
25                                 <id val="network"/>
26                         </menu>
27
28                         <menu weight="20" level="0" text="Services and Recordings" entryID="services_recordings_selection" description="Service Searching, Parental Control, ...">
29                                 <id val="services_recordings" />
30                                 <menu weight="10" level="0" text="Service Searching" entryID="service_searching_selection" description="Search for services and configure your tuners.">
31                                         <id val="scan" />
32                                         <item weight="10" text="Tuner configuration" entryID="tuner_setup" description="Configure your tuners."><screen module="Satconfig" screen="NimSelection" /></item>
33                                         <item weight="20" text="Default services lists" entryID="default_lists" description="Install default service lists."><screen module="ScanSetup" screen="DefaultSatLists" /></item>
34                                         <item weight="30" text="Automatic Scan" entryID="auto_scan" description="Automatically scan for new services."><screen module="ScanSetup" screen="ScanSimple" /></item>
35                                         <item weight="40" text="Manual Scan" entryID="manual_scan" description="Manually scan for new services."><screen module="ScanSetup" /></item>
36                                 </menu>
37                                 <item weight="20" level="0" text="Parental control" entryID="parental_setup" description="Set up parental control."><screen module="ParentalControlSetup" screen="ParentalControlSetup" /></item>
38                                 <item weight="30" level="0" text="Recording paths" entryID="record_paths" description="Configure your recording paths."><screen module="RecordPaths" screen="RecordPathsSettings" /></item>
39                         </menu>
40
41                         <menu weight="30" level="0" text="Picture and Sound" entryID="osd_video_audio_selection" description="OSD, Video and Audio Settings">
42                                 <id val="osd_video_audio" />
43                                 <item weight="10" level="0" text= "Animations" entryID="animation_setup" description="Setup UI animations"><screen module="AnimationSetup" screen="AnimationSetup" /></item>
44                                 <item weight="20" level="0" entryID="av_setup" description="Fine tuning for your Audio and Video settings."><setup id="avsetup"/></item>
45                                 <item weight="30" requires="Display" entryID="display_setup" description="Configure your frontpanel OLED or LCD display."><setup level="1" id="lcd" /></item>
46                         </menu>
47
48                         <menu weight="40" level="0" text="Devices" entryID="devices_selection" description="Storage, Common Interface, Input, ...">
49                                 <id val="devices" />
50                                 <item weight="10" level="0" text="Storage devices" entryID="hardisk_selection" description="Set up your storage devices like harddisks and flash memory cards."><screen module="HarddiskSetup" screen="HarddiskDriveSelection" /></item>
51                                 <item weight="20" level="1" text="Common Interface" entryID="ci_setup" requires="CommonInterface" description="Configure your common interface."><screen module="Ci" screen="CiSelection" /></item>
52                                 <item weight="30" level="1" text="Input devices" entryID="input_device_setup" description="Configure your input devices."><screen module="InputDeviceSetup" screen="InputDeviceSelection" /></item>
53                                 <item weight="31" text="Keyboard" entryID="keyboard_setup" description="Set up your keyboard."><setup id="keyboard" /></item>
54                         </menu>
55
56                         <menu weight="50" level="0" text="System" entryID="system_selection" description="Advanced setup options">
57                                 <id val="system" />
58                                 <item weight="20" level="0" entryID="usage_setup" description="Configure Enigma2 interface and usage settings."><setup id="usage" /></item>
59                                 <item weight="30" level="0" text="Language" entryID="language_setup" description="Set up your Dreambox language."><screen module="LanguageSelection" /></item>
60                                 <item weight="40" level="0" entryID="timezone_setup" description="Set up your system timezone."><setup id="timezone"/></item>
61                                 <item weight="70" level="1" entryID="rfmod_setup" requires="RfModulator" description="Set up the the antenna output which you can hook up to old TV sets."><setup id="RFmod"/></item>
62                                 <item weight="80" level="0" text="Factory reset" entryID="factory_reset" description="Reset your Dreambox to factory defaults.">
63                                         <code>
64 from Screens.FactoryReset import FactoryReset
65 def msgClosed(ret):
66         if ret:
67                 from os import system, _exit
68                 system("rm -R /etc/enigma2")
69                 system("cp -R /usr/share/enigma2/defaults /etc/enigma2")
70                 _exit(3)
71 self.session.openWithCallback(msgClosed, FactoryReset)
72                                         </code>
73                                 </item>
74                         </menu>
75                 </menu>
76
77                 <menu weight="90" level="0" text="Information" entryID="info_screen" description="Technical details about channel and Dreambox.">
78                         <id val="information" />
79                         <item level="1" text="Service" entryID="service_info_screen" description="Details about the current service."><screen module="ServiceInfo" screen="ServiceInfo"/></item>
80                         <item level="0" text="About" entryID="about_screen" description="Details about your Dreambox system."><screen module="About" /></item>
81                 </menu>
82
83                 <menu weight="100" text="Standby / Restart" entryID="standby_restart_list" description="Put your Dreambox into standby, restart or shut it down.">
84                         <id val="shutdown" />
85                         <item text="Sleep Timer" entryID="sleep" description="Set up a timer after which your Dreambox will turn off."><screen module="SleepTimerEdit" screen="SleepTimerEdit" /></item>
86                         <item text="Idle Mode" entryID="standby" description="Put your Dreambox into idle mode."><screen module="Standby" screen="Standby"/></item>
87                         <item text="Restart" entryID="restart" description="Reboot your Dreambox."><screen module="Standby" screen="TryQuitMainloop">2</screen></item>
88                         <item level="2" text="Restart GUI" entryID="restart_enigma" description="Restart Enigma2 only."><screen module="Standby" screen="TryQuitMainloop">3</screen></item>
89                         <item level="2" text="Recovery Mode" entryID="maintenance_mode" description="Shut down Dreambox OS and start Recovery Mode to flash firmware images."><screen module="Standby" screen="TryQuitMainloop">16</screen></item>
90                         <item text="Standby" requires="DeepstandbySupport" entryID="deep_standby" description="Put your Dreambox into standby."><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
91                         <item text="Shutdown" requires="!DeepstandbySupport" entryID="deep_standby" description="Shut down your Dreambox."><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
92                 </menu>
93 </menu>