Support turbo2.
[vuplus_dvbapp] / lib / python / Screens / InputDeviceSetup.py
index bd8550b..aec66c4 100755 (executable)
@@ -52,7 +52,7 @@ class InputDeviceSelection(Screen,HelpableScreen):
                self["key_blue"] = StaticText("")
                self["introduction"] = StaticText(self.edittext)
                
-               self.devices = [(iInputDevices.getDeviceName(x),x) for x in iInputDevices.getDeviceList()]
+               self.devices = [(iInputDevices.getDeviceName(x)[9:],x) for x in iInputDevices.getDeviceList()]
                print "[InputDeviceSelection] found devices :->", len(self.devices),self.devices
                        
                self["OkCancelActions"] = HelpableActionMap(self, "OkCancelActions",
@@ -87,7 +87,7 @@ class InputDeviceSelection(Screen,HelpableScreen):
                enabled = iInputDevices.getDeviceAttribute(device, 'enabled')
 
                if type == 'remote':
-                       if config.misc.rcused.value == 0:
+                       if config.misc.rcused.value != 1:
                                if enabled:
                                        devicepng = LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/input_rcnew-configured.png"))
                                else: