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

i recommend you this change in epgcache (very important)

$
0
0

as you can see in the first 3 pictures

 

01 (2).jpg

 

03.jpg

 

02.jpg

 

at the begining of reboot all the event now/next are available (in channel list and in EPG Multi)

 

the next 3 pictures you can see the difrence

 

04.jpg

20180122_174131.jpg

20180122_174141.jpg

 

the event Now/next begins to disapear and the (EPGCACHE) will not update or reload until 60min (I tested)

 

08.jpg

 

so if we change the value in epgcache.h

 


#define CLEAN_INTERVAL 60000 // 1 min

- #define UPDATE_INTERVAL 3600000 // 60 min

+#define UPDATE_INTERVAL 60000 // 1 min


#define ZAP_DELAY 2000 // 2 sek

 

the problem will be solved and in epgcache.cpp:

 


 


bool eEPGCache::channel_data::finishEPG()

{

if (!isRunning) // epg ready

{

eDebug("[EPGC] stop caching events(%ld)", ::time(0));

zapTimer->start(UPDATE_INTERVAL, 1);

eDebug("[EPGC] next update in %i min", UPDATE_INTERVAL / 60000); (that's means 1 min not 60min)

for (unsigned int i=0; i < sizeof(seenSections)/sizeof(tidMap); ++i)

{

seenSections[i].clear();

calcedSections[i].clear();

 

 

 

more explains :)  :)  :)  tomorrow

 

 


Viewing all articles
Browse latest Browse all 1686

Trending Articles