Skip to content

Commit

Permalink
Revert "Revert "multituner: consider multitype tuner as hotswitchable…
Browse files Browse the repository at this point in the history
… when proc mode is absent""

This reverts commit 210b764b94a389c104721b8922f47d38d73924b2.
  • Loading branch information
athoik authored and teamblue-e2 committed Mar 14, 2019
1 parent 2412e3d commit dd486fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/NimManager.py
Expand Up @@ -518,7 +518,7 @@ def __init__(self, slot, type, description, has_outputs = True, internally_conne
types.remove("DVB-S")
if len(types) > 1:
self.multi_type = {}
self.hotswitchable = self.description.upper().startswith("AVL")
self.hotswitchable = not os.path.exists("/proc/stb/frontend/%d/mode" % self.frontend_id)
for type in types:
self.multi_type[str(types.index(type))] = type

Expand Down

0 comments on commit dd486fa

Please sign in to comment.