Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1689

How do I load the EPG events into an enigma?

$
0
0

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?

 


Viewing all articles
Browse latest Browse all 1689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>