Hello everybody!
I'm trying to write a plugin for downloading the EPG from the iptv provider
Such code does not cause any errors, but the event does not appear:
currTime = int(time.mktime(time.localtime(time.time()))) d = (currTime-600, 3600, "ProgramName", "ShortDesc", "Description", 0) epgcache = eEPGCache.getInstance() epgcache.importEvents(session.nav.getCurrentlyPlayingServiceReference().toString().split('http')[0], (d,))
Can someone tell me what's wrong?