Jump to content


Photo

How do I load the EPG events into an enigma?


  • Please log in to reply
No replies to this topic

#1 alex_qr

  • New Member
  • 1 posts

0
Neutral

Posted 30 August 2018 - 07:05

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?

 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users