RemoteControlCode : support for all models except duo/solo.
authorChang.H.S <jhs@dev3>
Thu, 19 Jul 2012 03:56:28 +0000 (12:56 +0900)
committerChang.H.S <jhs@dev3>
Thu, 19 Jul 2012 03:56:56 +0000 (12:56 +0900)
lib/python/Plugins/SystemPlugins/RemoteControlCode/plugin.py

index fccb6a6..ba1e2c6 100755 (executable)
@@ -31,7 +31,7 @@ class RemoteControlCodeInit:
                        vumodel = open("/proc/stb/info/vumodel")
                        info=vumodel.read().strip()
                        vumodel.close()
-                       if info in ["uno", "ultimo"]:
+                       if info not in ["duo", "solo"]:
                                return True
                        else:
                                return False
@@ -80,7 +80,7 @@ class RemoteControlCode(Screen,ConfigListScreen,RemoteControlCodeInit):
                        self.checkModelTimer.start(1000,True)
 
        def invalidmodel(self):
-                       self.session.openWithCallback(self.close, MessageBox, _("This Plugin only support for UNO/ULTIMO"), MessageBox.TYPE_ERROR)
+                       self.session.openWithCallback(self.close, MessageBox, _("This Plugin doesn't support on SOLO/DUO"), MessageBox.TYPE_ERROR)
 
        def createSetup(self):
                self.list = []