From 5871fcfd45bb3dbc9f71857e052ecbeaabf8bbf4 Mon Sep 17 00:00:00 2001 From: Huevos Date: Sat, 27 Jun 2015 16:12:57 +0200 Subject: [PATCH] Solve ScanSetup Issues with DVB-T2 Without "system" attribute in terrestrial.xml and using attached patch: Scan options: DVB-T only finds DVB-T DVB-T2 only finds DVB-T2 Auto finds both. With "system" attribute in terrestrial.xml and using attached patch: Scan options: DVB-T only finds DVB-T DVB-T2 only finds DVB-T2 Auto finds both. --- lib/python/Screens/ScanSetup.py | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py index 672196c..52295c1 100644 --- a/lib/python/Screens/ScanSetup.py +++ b/lib/python/Screens/ScanSetup.py @@ -75,12 +75,15 @@ def getInitialTerrestrialTransponderList(tlist, region, tsystem = eDVBFrontendPa for x in list: if x[0] == 2: #TERRESTRIAL - if tsystem == eDVBFrontendParametersTerrestrial.System_DVB_T_T2: - tsystem = x[10] if skip_t2 and x[10] == eDVBFrontendParametersTerrestrial.System_DVB_T2: # Should be searching on TerrestrialTransponderSearchSupport. continue - parm = buildTerTransponder(x[1], x[9], x[2], x[4], x[5], x[3], x[7], x[6], x[8], tsystem, x[11]) + if tsystem == eDVBFrontendParametersTerrestrial.System_DVB_T_T2: + parm = buildTerTransponder(x[1], x[9], x[2], x[4], x[5], x[3], x[7], x[6], x[8], x[10], x[11]) + elif x[10] == eDVBFrontendParametersTerrestrial.System_DVB_T_T2 or x[10] == tsystem: + parm = buildTerTransponder(x[1], x[9], x[2], x[4], x[5], x[3], x[7], x[6], x[8], tsystem, x[11]) + else: + continue tlist.append(parm) cable_bands = { -- 1.7.1