1 <menu text="Mainmenu" title="Main menu">
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
10 (of course you must specify at least one of module, screen.)
12 opens a setup with specified id
13 <code> .. code .. </code>
16 <!--<item text="Standby debug">quitMainloop(0)</item>
17 <item text="Network setup" entryID="network_setup">self.openSetup("network")</item>-->
18 <!--<item text="CI"><screen module="Ci" screen="CiSelection" /></item>-->
19 <!--<item text="Radio"><code>print "radio mode"</code></item>-->
20 <item level="0" text="Subtitles" entryID="subtitle_selection" weight="40"><screen module="Subtitles" screen="Subtitles" /></item>
21 <item level="0" text="Timer" entryID="timer_edit"><screen module="TimerEdit" screen="TimerEditList" /></item>
22 <item level="1" text="VCR scart" entryID="scart_switch" requires="ScartSwitch"><code>self.session.scart.VCRSbChanged(3)</code></item>
24 <menu level="0" text="Information" entryID="info_screen">
25 <id val="information" />
26 <item level="1" text="Service" entryID="service_info_screen"><screen module="ServiceInfo" screen="ServiceInfo"/></item>
27 <item level="0" text="About" entryID="about_screen"><screen module="About" /></item>
30 <item level="1" text="Plugins" entryID="plugin_selection"><screen module="PluginBrowser" screen="PluginBrowser" /></item>
31 <menu level="0" text="Setup" flushConfigOnClose="1" entryID="setup_selection" >
33 <!--<menu text="Service Organising">
34 <item text="New Bouquets"></item>
35 <item text="Add to Bouquets"></item>
36 <item text="Edit Bouquets"></item>
38 <menu weight="0" level="0" text="Service Searching" entryID="service_searching_selection">
40 <item text="Tuner configuration" entryID="tuner_setup"><screen module="Satconfig" screen="NimSelection" /></item>
41 <item text="Default services lists" entryID="default_lists"><screen module="ScanSetup" screen="DefaultSatLists" /></item>
42 <item text="Automatic Scan" entryID="auto_scan"><screen module="ScanSetup" screen="ScanSimple" /></item>
43 <!--<item text="Automatic Scan"><screen module="ServiceScan" /></item>-->
44 <item text="Manual Scan" entryID="manual_scan"><screen module="ScanSetup" /></item>
45 <!--<item text="Rotor Control"></item>
46 <item text="Edit Transponder"></item>
47 <item text="Satfinder"></item>-->
49 <menu weight="5" level="0" text="System" entryID="system_selection">
51 <item level="0" text="Language" entryID="language_setup"><screen module="LanguageSelection" /></item>
52 <item level="0" entryID="usage_setup"><setup id="usage" /></item>
53 <item level="0" entryID="timezone_setup"><setup id="timezone"/></item>
54 <item level="0" entryID="av_setup"><setup id="avsetup"/></item>
55 <!--<item level="0" text="Video Setup" entryID="video_setup"><screen module="VideoSetup" /></item>-->
56 <item level="1" entryID="rfmod_setup" requires="RfModulator"><setup id="RFmod"/></item>
57 <menu level="0" text="Harddisk" entryID="hardisk_selection" requires="Harddisk">
59 <item level="1" entryID="harddisk_setup"><setup id="harddisk"/></item>
60 <item level="0" text="Initialization" entryID="harddisk_init"><screen module="HarddiskSetup" screen="HarddiskSelection"/></item>
61 <item level="0" text="Filesystem Check" entryID="harddisk_check"><screen module="HarddiskSetup" screen="HarddiskFsckSelection"/></item>
63 <!--<item text="Remote Control"><setup id="rc" /></item>-->
64 <!--<item text="OSD"><setup id="osd" /></item>-->
65 <item requires="Display"><setup level="1" id="lcd" /></item>
66 <item level="0" text="Network" entryID="network_setup"><screen module="NetworkSetup" screen="NetworkAdapterSelection" /></item>
67 <item text="Keyboard"><setup id="keyboard" /></item>
68 <!--<menu level="1" text="Network..." entryID="network_setup">
70 <item level="1" text="Device Setup..." entryID="device_setup"><screen module="NetworkSetup" screen="NetworkAdapterSelection"/></item>
71 <item level="1" text="Nameserver Setup..." entryID="dns_setup"><screen module="NetworkSetup" screen="NameserverSetup"/></item>
73 <item level="2" text="Recording paths" entryId="RecordPaths"><screen module="RecordPaths" screen="RecordPathsSettings" /></item>
75 <item weight="10" level="1" text="Common Interface" entryID="ci_setup" requires="CommonInterface"><screen module="Ci" screen="CiSelection" /></item>
76 <item weight="15" level="0" text="Parental control" entryID="parental_setup"><screen module="ParentalControlSetup" screen="ParentalControlSetup" /></item>
77 <!--item level="0" text="Startwizard" entryID="startwizzard"><screen module="StartWizard" screen="StartWizard" /></item-->
78 <item weight="25" level="0" text="Factory reset" entryID="factory_reset">
80 from Screens.FactoryReset import FactoryReset
83 from os import system, _exit
84 system("rm -R /etc/enigma2")
85 system("cp -R /usr/share/enigma2/defaults /etc/enigma2")
87 self.session.openWithCallback(msgClosed, FactoryReset)
90 <!--<item text="Parental Control"><setup id="parental" /></item>-->
91 <!--<item text="Expert -disabled-"><setup id="expert" /></item>-->
93 <!--<item text="Unser Setup">self.openSetup("Blaselfasel")</item>-->
94 <menu text="Standby / Restart" entryID="standby_restart_list">
96 <!--<item text="Standby"><code>quitMainloop(0)</code></item>-->
97 <item text="Sleep Timer" entryID="sleep"><screen module="SleepTimerEdit" screen="SleepTimerEdit" /></item>
98 <item text="Standby" entryID="standby"><screen module="Standby" screen="Standby"/></item>
99 <item text="Restart" entryID="restart"><screen module="Standby" screen="TryQuitMainloop">2</screen></item>
100 <item level="2" text="Restart GUI" entryID="restart_enigma"><screen module="Standby" screen="TryQuitMainloop">3</screen></item>
101 <item text="Deep Standby" requires="DeepstandbySupport" entryID="deep_standby"><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
102 <item text="Shutdown" requires="!DeepstandbySupport" entryID="deep_standby"><screen module="Standby" screen="TryQuitMainloop">1</screen></item>