fix
[enigma2.git] / mytest.py
index c55476fd9f75a4bd6182fb04733dff61cd8a55ef..6a96470a238a1677442b3aee3edbecb68781f417 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -16,13 +16,16 @@ from Navigation import Navigation
 from skin import readSkin, applyAllAttributes
 
 from Components.config import configfile
+from Tools.Directories import InitFallbackFiles
+InitFallbackFiles()
+eDVBDB.getInstance().reloadBouquets()
+# initialize autorun plugins and plugin menu entries
+from Components.PluginComponent import plugins
+plugins.getPluginList(runAutostartPlugins=True)
 from Screens.Wizard import wizardManager
 from Screens.StartWizard import *
 from Screens.TutorialWizard import *
 from Tools.BoundFunction import boundFunction
-from Tools.Directories import InitFallbackFiles
-InitFallbackFiles()
-eDVBDB.getInstance().reloadBouquets()
 
 had = dict()
 
@@ -223,6 +226,9 @@ Components.AVSwitch.InitAVSwitch()
 import Components.RecordingConfig
 Components.RecordingConfig.InitRecordingConfig()
 
+import Components.UsageConfig
+Components.UsageConfig.InitUsageConfig()
+
 import Components.Network
 Components.Network.InitNetwork()
 
@@ -240,6 +246,7 @@ import Components.NimManager
 # first, setup a screen
 try:
        runScreenTest()
+       plugins.getPluginList(runAutoendPlugins=True)
 except:
        print 'EXCEPTION IN PYTHON STARTUP CODE:'
        print '-'*60