Springen naar inhoud


Foto

How do I load the EPG events into an enigma?


  • Please log in to reply
Geen reacties in dit onderwerp

#1 alex_qr

  • New Member
  • 1 berichten

0
Neutral

Geplaatst op 30 augustus 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 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers