FYI
https://github.com/O...9b6ac272685dfc1
Posted 12 May 2018 - 09:38
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 12 May 2018 - 16:47
This looks very good to me.
I have tested the latest version of GMEPG from the git repository and it functions without any problems.
Thank you and the others for the quick help. You all do a great job!
Posted 12 May 2018 - 17:31
This looks very good to me.
I have tested the latest version of GMEPG from the git repository and it functions without any problems.
Thank you and the others for the quick help. You all do a great job!
Now I noticed something on the change. As I can see the "zapTo" function is also called when pressing the red button. So the configuration of the ok button influences the behaviour of the red button.
For testing purposes I have accordingly extended the "eventSelected" funktion and copied the "zapTo" to a "zapClose" funktion, which is called when Ok button is configured to zap+close.
The advantege is that the zapTo funktion is not changed and the behaviour of the red button keeps the same.
Posted 12 May 2018 - 18:32
Actually that what why I thought a new setting was needed
Here is the code that functions for me. As I am not a Python programmer it might be a litte bit circuitous.
def zapClose(self): self.showhideWindow(True) if self.zapFunc and self.key_red_choice == self.ZAP: ref = self["list"].getCurrent()[1] if ref: from Components.ServiceEventTracker import InfoBarCount preview = InfoBarCount > 1 self.zapFunc(ref.ref, preview) if not preview: config.misc.graph_mepg.save() self.close(True) def eventSelected(self): if config.misc.graph_mepg.OKButton.value == "info": self.infoKeyPressed() elif config.misc.graph_mepg.OKButton.value == "zap+exit": self.zapClose() else: self.zapTo()
0 members, 0 guests, 0 anonymous users