Jump to content


Photo

EPGnow - Ability to set value.

EPGnow EPG

  • Please log in to reply
26 replies to this topic

Re: EPGnow - Ability to set value. #21 LoveMyDish

  • Senior Member
  • 27 posts

0
Neutral

Posted 21 March 2023 - 19:00

Well, I'm a bit frustrated... I feel like im missing something, but my brain is too fried at the moment to care.  I added the eventinfo.py

def updateSource(self, ref):
    if not ref:
        self.service = None
        self.changed((self.CHANGED_CLEAR,))
        return
    self.service = ref
    sself. Changed(self.CHANGED_ALL,))

and it just sent my receiver into such a bad state (black screen/no response) , it wouldn't even give me a error... I still had FTP access, so i restored the file. and then had to power cycle the device to get it back.  I need to walk away from it for the day....I wish i could drill someone in real life so i could get a better grasp.  It makes me feel like im 14 again stuck for days on something so stupid.

 

As for your posting about auto popup of the info bar, i saw that in the code days ago, and I flagged that, but i cannot get the core working, so that seems like a distant tangent at the moment.



Re: EPGnow - Ability to set value. #22 DimitarCC

  • PLi® Contributor
  • 1,333 posts

+46
Good

Posted 21 March 2023 - 19:03

Well the code is just an example. You have to adapt it for your case. Also you need the require import and so on. Its not so simple. ;)

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)


Re: EPGnow - Ability to set value. #23 LoveMyDish

  • Senior Member
  • 27 posts

0
Neutral

Posted 21 March 2023 - 19:09

Well, I'm a bit frustrated... I feel like im missing something, but my brain is too fried at the moment to care.  I added the eventinfo.py

def updateSource(self, ref):
    if not ref:
        self.service = None
        self.changed((self.CHANGED_CLEAR,))
        return
    self.service = ref
    sself. Changed(self.CHANGED_ALL,))

and it just sent my receiver into such a bad state (black screen/no response) , it wouldn't even give me a error... I still had FTP access, so i restored the file. and then had to power cycle the device to get it back.  I need to walk away from it for the day....I wish i could drill someone in real life so i could get a better grasp.  It makes me feel like im 14 again stuck for days on something so stupid.

 

As for your posting about auto popup of the info bar, i saw that in the code days ago, and I flagged that, but i cannot get the core working, so that seems like a distant tangent at the moment.

Yea, i added the import stuff, i remembered that, and cleaned up the typos in the code sample, but it still crashed....



Re: EPGnow - Ability to set value. #24 DimitarCC

  • PLi® Contributor
  • 1,333 posts

+46
Good

Posted 21 March 2023 - 19:15

Have to be debugged. You have to start enigma in debug mode level 4 and inspect the logs. But in general it should not break whole box. At most it will give green Screens.
Also i believe you need to replace event object and not the service in your case.

Edited by DimitarCC, 21 March 2023 - 19:16.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & Triax 78 (39E)


Re: EPGnow - Ability to set value. #25 el bandido

  • Senior Member
  • 364 posts

+13
Neutral

Posted 21 March 2023 - 21:07

 

Well, I'm a bit frustrated... I feel like im missing something, but my brain is too fried at the moment to care.  I added the eventinfo.py

def updateSource(self, ref):
    if not ref:
        self.service = None
        self.changed((self.CHANGED_CLEAR,))
        return
    self.service = ref
    sself. Changed(self.CHANGED_ALL,))

and it just sent my receiver into such a bad state (black screen/no response) , it wouldn't even give me a error... I still had FTP access, so i restored the file. and then had to power cycle the device to get it back.  I need to walk away from it for the day....I wish i could drill someone in real life so i could get a better grasp.  It makes me feel like im 14 again stuck for days on something so stupid.

 

As for your posting about auto popup of the info bar, i saw that in the code days ago, and I flagged that, but i cannot get the core working, so that seems like a distant tangent at the moment.

Yea, i added the import stuff, i remembered that, and cleaned up the typos in the code sample, but it still crashed....

 

Running a telnet session in debug mode (init 4 && enigma2 or similar) will usually show the line error.
It might help to know what version of OpenPLi image you are using and the make/model of your receiver.


Edited by el bandido, 21 March 2023 - 21:08.


Re: EPGnow - Ability to set value. #26 el bandido

  • Senior Member
  • 364 posts

+13
Neutral

Posted 22 March 2023 - 03:40

Forgot to add, the last line in your code does not look right. Seems you have an extra s and are missing a parenthesis.
 

sself. Changed(self.CHANGED_ALL,))
 

 



Re: EPGnow - Ability to set value. #27 LoveMyDish

  • Senior Member
  • 27 posts

0
Neutral

Posted 22 March 2023 - 13:23

Forgot to add, the last line in your code does not look right. Seems you have an extra s and are missing a parenthesis.
 

sself. Changed(self.CHANGED_ALL,))
 

Yea, i had caught that and fixed that.. But, thanks for bringing it up..  Ill try again with a fresh mind in a day or two.. I need to step away, as sometimes my mind comes up with ideas when i step away, and it helps to come back with a refreshed mind. 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users