Minor tweak to EIT period/interval.
This commit is contained in:
parent
a5e5028c99
commit
dfc5c30c3c
1 changed files with 4 additions and 6 deletions
|
@ -207,18 +207,16 @@ static int _eit_callback
|
|||
svc = dvb_transport_find(tdmi, sid, 0, NULL);
|
||||
if (!svc || !svc->s_enabled || !(ch = svc->s_ch)) return 0;
|
||||
|
||||
|
||||
/* Ignore (disabled) */
|
||||
// TODO: should this be altered?
|
||||
if (!svc->s_dvb_eit_enable) return 0;
|
||||
|
||||
/* Register as interesting */
|
||||
// TODO: do we want to register for now/next?
|
||||
// TODO: want should the intervals be?
|
||||
if (tableid < 0x50)
|
||||
epggrab_ota_register(ota, 20, 0);
|
||||
epggrab_ota_register(ota, 20, 300); // 20s grab, 5min interval
|
||||
else
|
||||
epggrab_ota_register(ota, 40, 0);
|
||||
epggrab_ota_register(ota, 600, 3600); // 10min grab, 1hour interval
|
||||
// Note: this does mean you will get a slight oddity for muxes that
|
||||
// carry both, since they will end up with setting of 600/300
|
||||
|
||||
/* Up to date */
|
||||
#if TODO_INCLUDE_EIT_VER_CHECK
|
||||
|
|
Loading…
Add table
Reference in a new issue