diff options
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 8454bbe5..a4bcb80b 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -641,6 +641,8 @@ class NimManager: pass def InitNimManager(nimmgr): + have_terrestrial_tuner = False + config.terrestrial = ConfigSubsection() config.Nims = [] for x in range(nimmgr.nimCount): config.Nims.append(ConfigSubsection()) @@ -765,6 +767,7 @@ def InitNimManager(nimmgr): elif slot.nimType == nimmgr.nimType["DVB-C"]: nim.cable = configElement(cname + "cable", configSelection, 0, nimmgr.cablesList, False); elif slot.nimType == nimmgr.nimType["DVB-T"]: + have_terrestrial_tuner = True list = [] for x in nimmgr.terrestrialsList: list.append(x[0]) @@ -772,6 +775,9 @@ def InitNimManager(nimmgr): else: print "pls add support for this frontend type!" + if have_terrestrial_tuner: + config.terrestrial.enable_5V = configElement("config.terrestrial.enable_5V", configSelection, 1, (("yes", _("Yes")), ("no", _("No"))), True); + nimmgr.sec = SecConfigure(nimmgr) nimmanager = NimManager() |
