revert local change (just for testing)
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 30 Oct 2006 16:11:05 +0000 (16:11 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 30 Oct 2006 16:11:05 +0000 (16:11 +0000)
lib/python/Screens/ChannelSelection.py
lib/python/Screens/ScanSetup.py

index 5b8299c..ff2928e 100644 (file)
@@ -753,8 +753,8 @@ class ChannelSelectionBase(Screen):
                                                        else:
                                                                service_name = _("Services")
                                                        try:
-                                                               service_name += str(' - %s'%(nimmanager.getSatDescription(orbpos).decode("latin-1").encode("utf-8")))
-                                                               service.setName(service_name)
+                                                               service_name += str(' - %s'%(nimmanager.getSatDescription(orbpos)))
+                                                               service.setName(service_name) # why we need this cast?
                                                        except:
                                                                if orbpos == 0xFFFF: #Cable
                                                                        n = ("%s (%s)") % (service_name, _("Cable"))
index f6ef01c..1e164d4 100644 (file)
@@ -483,8 +483,7 @@ class ScanSetup(ConfigListScreen, Screen):
                        elif self.scan_type.value == "single_satellite":
                                sat = self.satList[self.scan_nims.index][self.scan_satselection[self.scan_nims.index].index]
                                getInitialTransponderList(tlist, sat[0])
-                               if sat[2] & 1:
-                                       flags |= eComponentScan.scanNetworkSearch
+                               flags |= eComponentScan.scanNetworkSearch
                                tmp = self.scan_clearallservices.value
                                if tmp == "yes":
                                        flags |= eComponentScan.scanRemoveServices