Hi,
i have this code:
from Plugins.Plugin import PluginDescriptor
from Screens.Console import Console
from enigma import eEPGCache
cmd = "/etc/enigma2/script.sh"
def main(session, **kwargs):
session.open(Console,_("My script"),[cmd])
epgcache = eEPGCache.getInstance()
epgcache.load()
.....
I would call epgcache.load() AFTER Console exit, that is after the script is executed. While now it seems that session.open is not blocking.
I'm a newbie in python, so sorry if it is a stupid question.
Other question: is there a way to call epgcache.load() using shell?
Thanks