.off = offsetof(channel_t, ch_dvr_extra_time_post),
.opts = PO_ADVANCED
},
+ {
+ .type = PT_BOOL,
+ .id = "epg_running",
+ .name = N_("Use EPG Running State"),
+ .off = offsetof(channel_t, ch_epg_running),
+ .opts = PO_ADVANCED
+ },
{
.type = PT_STR,
.islist = 1,
ch->ch_enabled = 1;
ch->ch_autoname = 1;
ch->ch_epgauto = 1;
+ ch->ch_epg_running = 1;
if (conf) {
ch->ch_load = 1;
/* DVR */
int ch_dvr_extra_time_pre;
int ch_dvr_extra_time_post;
+ int ch_epg_running;
struct dvr_entry_list ch_dvrs;
struct dvr_autorec_entry_list ch_autorecs;
struct dvr_timerec_entry_list ch_timerecs;
de = dvr_entry_find_by_event(e);
if (de == NULL)
return;
- if (!de->de_config->dvr_running) {
+ if (!de->de_channel->ch_epg_running || !de->de_config->dvr_running) {
de->de_running_start = de->de_running_stop = 0;
return;
}