.off = offsetof(channel_t, ch_epgauto),
.opts = PO_ADVANCED,
},
+ {
+ .type = PT_U32,
+ .id = "epglimit",
+ .name = N_("Limit EPG (days)"),
+ .desc = N_("Limit EPG data to specified days to reduce "
+ "the memory consumption. The zero value means "
+ "unlimited EPG."),
+ .def.i = 1,
+ .off = offsetof(channel_t, ch_epg_limit),
+ .opts = PO_ADVANCED,
+ },
{
.type = PT_STR,
.islist = 1,
gtimer_t ch_epg_timer;
gtimer_t ch_epg_timer_head;
gtimer_t ch_epg_timer_current;
+ uint32_t ch_epg_limit;
int ch_epgauto;
idnode_list_head_t ch_epggrab; /* 1 = epggrab channel, 2 = channel */