Thanks, thats exactly what I was looking for, I just replace nameerror with keyerror, now I was able to bring it down to one simple python script
try:
eg.plugins.Timer.plugin.timerObjects['Sleep'].nextEventAt
except KeyError:
eg.TriggerEvent (u"Sleeptimer.False")
else:
import time
eg.globals ...
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 4 matches
- Wed Feb 05, 2014 8:05 pm
- Forum: Plugin Support
- Topic: Show OSD help
- Replies: 5
- Views: 1898
- Mon Feb 03, 2014 5:46 pm
- Forum: Plugin Support
- Topic: Show OSD help
- Replies: 5
- Views: 1898
Re: Show OSD help
Thanks for the help
So based on that and some other research this i how far I have gotten
When OS menu trigger event happens, these two seperate scripts run right before the os menu opens
1st Code
import time
eg.result = time.time()
eg.result = eg.plugins.Timer.plugin.timerObjects['Sleep ...
So based on that and some other research this i how far I have gotten
When OS menu trigger event happens, these two seperate scripts run right before the os menu opens
1st Code
import time
eg.result = time.time()
eg.result = eg.plugins.Timer.plugin.timerObjects['Sleep ...
- Mon Feb 03, 2014 5:11 am
- Forum: Plugin Support
- Topic: Show OSD help
- Replies: 5
- Views: 1898
Show OSD help
Ok so I did some research, and im coming up with blanks. I am not very educated on python, but i kind of understand it.
Basically I made an on screen menu for a sleep timer with the options 60 90 120 and cancel, so it will stop media players and send ir signal to turn of tv. I would like an osd to ...
Basically I made an on screen menu for a sleep timer with the options 60 90 120 and cancel, so it will stop media players and send ir signal to turn of tv. I would like an osd to ...
- Fri Jan 17, 2014 3:39 pm
- Forum: General Support
- Topic: Lirc Timeout Settings
- Replies: 0
- Views: 1580
Lirc Timeout Settings
I am using a homebrew ir reciever and blaster so that I may use my media remote to control my tv volume and power.
My first problem was when holding a button on the remote, such as a volume plus or minus, it would generate only one event, or sometimes 2 when I let up on the button. I configured the ...
My first problem was when holding a button on the remote, such as a volume plus or minus, it would generate only one event, or sometimes 2 when I let up on the button. I configured the ...