Howto disable automatically updated timers?
Added by Sebastian Walczyk over 10 years ago
Hi!
I am expericieng this bug:
https://tvheadend.org/issues/1818
Maybe I can use a workaround if I delete these lines:
/* Unlink the broadcast */ e->putref(e); de->de_bcast = NULL; /* If this was craeted by autorec - just remove it, it'll get recreated */ if (de->de_autorec) { dvr_entry_remove(de, 1); /* Find match */ } else { RB_FOREACH(e, &e->channel->ch_epg_schedule, sched_link) { if (dvr_entry_fuzzy_match(de, e)) { tvhtrace("dvr", " replacement event %s on %s @ %"PRItime_t " to %"PRItime_t, epg_broadcast_get_title(e, NULL), channel_get_name(e->channel), e->start, e->stop); e->getref(e); de->de_bcast = e; _dvr_entry_update(de, e, NULL, NULL, NULL, 0, 0, 0, 0); break; }
in this file: https://github.com/tvheadend/tvheadend/blob/master/src/dvr/dvr_db.c
I am in no way a coder, but it seems to make sense for me.
Would that be possible? I know i would disable a feature, but it causes me more problems than use.
Thanks
Sebastian
Replies (1)
RE: Howto disable automatically updated timers? - Added by Sebastian Walczyk over 10 years ago
Ok, I have changed this:
/* Find match */ } /*else { RB_FOREACH(e, &e->channel->ch_epg_schedule, sched_link) { if (dvr_entry_fuzzy_match(de, e)) { tvhtrace("dvr", " replacement event %s on %s @ %"PRItime_t " to %"PRItime_t, epg_broadcast_get_title(e, NULL), channel_get_name(e->channel), e->start, e->stop); e->getref(e); de->de_bcast = e; _dvr_entry_update(de, e, NULL, NULL, NULL, 0, 0, 0, 0); break; } } }*/
Seems to have the effect I wanted. Four days of recording without unwanted changes.