audio selection - fake
[vuplus_dvbapp] / mytest.py
index 4928335..2a7eb9a 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -68,7 +68,6 @@ class Session:
                if self.currentDialog.isTmp:
                        self.currentDialog.doClose()
                
-                       print sys.getrefcount(self.currentDialog)
                        del self.currentDialog.instance
 #                      dump(self.currentDialog)
                        del self.currentDialog
@@ -100,7 +99,7 @@ class Session:
                        print 'EXCEPTION IN DIALOG INIT CODE, ABORTING:'
                        print '-'*60
                        traceback.print_exc(file=sys.stdout)
-                       quitMainloop()
+                       quitMainloop(5)
                        print '-'*60
                
                # read skin data
@@ -182,9 +181,15 @@ Components.AVSwitch.InitAVSwitch()
 import Components.Network
 Components.Network.InitNetwork()
 
+import Components.Lcd
+Components.Lcd.InitLcd()
+
 import Components.SetupDevices
 Components.SetupDevices.InitSetupDevices()
 
+import Components.RFmod
+Components.RFmod.InitRFmod()
+
 import Components.NimManager
 
 # first, setup a screen
@@ -194,7 +199,7 @@ except:
        print 'EXCEPTION IN PYTHON STARTUP CODE:'
        print '-'*60
        traceback.print_exc(file=sys.stdout)
-       quitMainloop()
+       quitMainloop(5)
        print '-'*60
 
 # now, run the mainloop