Skip to content

Commit

Permalink
Solve issue not enable DVB-T/C or ATSC when tuner also has DVB-S
Browse files Browse the repository at this point in the history
  • Loading branch information
littlesat committed Apr 2, 2019
1 parent 98c0d30 commit be43e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/NimManager.py
Expand Up @@ -1563,7 +1563,7 @@ def combinedConfigChanged(nim, slot, slot_id, configElement=None):
print "[InitNimManager] enable combined tuner type(s) %s" % tunersEnabled
eDVBResourceManager.getInstance().setFrontendType(nimmgr.nim_slots[slot_id].frontend_id, tunersEnabled)
if nim.configMode.value == 'nothing':
nim.configMode.value = nim.configMode.default = "simple" if "DVB-S" in tunersEnabled else "enabled"
nim.configMode.value = nim.configMode.default = "simple" if slot.canBeCompatible("DVB-S") else "enabled"
else:
print "[InitNimManager] disable combined tuner"
eDVBResourceManager.getInstance().setFrontendType(nimmgr.nim_slots[slot_id].frontend_id, "UNDEFINED")
Expand Down

0 comments on commit be43e9b

Please sign in to comment.