OpenViX / enigma2

GNU General Public License v2.0
58 stars 107 forks source link

Enable CI messages "ConfigYesNo" in common Interface menu #30

Closed Magmaeye closed 7 years ago

Magmaeye commented 8 years ago

Hi. The code below belongs to OpenATV. https://github.com/openatv/enigma2/blob/master/lib/python/Screens/Ci.py Line35 enables an extra feature in the Common Interface menu. It gives you the choice to turn of CI messages. The openVix Code are missing this possibility. Is it possible to add this feature also to openVix?

My main problem is that I need to be able to turn of these messages since I'm also are using a softcam. My HW CommonInterface does not support decrypting more than one channel at a time. Therefore I normally use the softcam to be able to use both tuners at the same time. But doing that generates a "please insert card" messages from my HW CI every time I switch channel. Adding this should be an easy solution for me.

`def InitCiConfig(): 29 config.ci = ConfigSubList() 30 for slot in range(MAX_NUMCI): 31 config.ci.append(ConfigSubsection()) 32 config.ci[slot].canDescrambleMultipleServices = ConfigSelection(choices = [("auto", ("Auto")), ("no", ("No")), ("yes", ("Yes"))], default = "auto") 33 config.ci[slot].use_static_pin = ConfigYesNo(default = True) 34 config.ci[slot].static_pin = ConfigPIN(default = 0)

35 config.ci[slot].show_ci_messages = ConfigYesNo(default = True)

36 if SystemInfo["CommonInterfaceSupportsHighBitrates"]: 37 if getBrandOEM() in ('dags', 'blackbox'): 38 config.ci[slot].canHandleHighBitrates = ConfigSelection(choices = [("no", ("No")), ("yes", ("Yes"))], default = "yes") 39 else:
40 config.ci[slot].canHandleHighBitrates = ConfigSelection(choices = [("no", ("No")), ("yes", ("Yes"))], default = "no") 41 config.ci[slot].canHandleHighBitrates.slotid = slot 42 config.ci[slot].canHandleHighBitrates.addNotifier(setCIBitrate) `

RobvanderDoes commented 8 years ago

Can we add this option please?

rossi2000 commented 7 years ago

I can see this option in the CI Menu.

RobvanderDoes commented 7 years ago

The actual showing of CI messages, and the actual contents of those messages, depends on the type/model of CI-module in the box.

rossi2000 commented 7 years ago

I have a tivusat cam & card

RobvanderDoes commented 7 years ago

So we can close this issue?