fix seek return values, valid() for cached files
[enigma2.git] / mytest.py
index 77e925b6a5d2ec48f6d2ff0853d88f6beba56892..448076c6ad58b2fe8a38eea86505917201471afd 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -39,6 +39,7 @@ except ImportError:
 from Components.PluginComponent import plugins
 
 from Screens.Wizard import wizardManager
+from Screens.ImageWizard import *
 from Screens.StartWizard import *
 from Screens.TutorialWizard import *
 from Tools.BoundFunction import boundFunction
@@ -93,6 +94,9 @@ class Session:
                self.dialog_stack = [ ]
                self.summary_stack = [ ]
                self.summary = None
+               
+               for p in plugins.getPlugins(PluginDescriptor.WHERE_SESSIONSTART):
+                       p(reason=0, session=self)
        
        def processDelay(self):
                self.execEnd()
@@ -302,9 +306,9 @@ class VolumeControl:
                        self.muteDialog.hide()
 
 def runScreenTest():
-       session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = Navigation())
-
        plugins.readPluginList(resolveFilename(SCOPE_PLUGINS))
+
+       session = Session(desktop = getDesktop(0), summary_desktop = getDesktop(1), navigation = Navigation())
        
        screensToRun = [ ]