dvr: another minor improvement to epg/dvr relinking

Realised that we don't need to update things that are no longer
scheduled (i.e. complete).
(cherry picked from commit ab7302ec99)
This commit is contained in:
Adam Sutton 2013-03-08 21:59:37 +00:00
parent 923b7a491f
commit ffe594c3a5

View file

@ -828,6 +828,7 @@ void dvr_event_updated ( epg_broadcast_t *e )
_dvr_entry_update(de, e, NULL, NULL, NULL, 0, 0, 0, 0);
else {
LIST_FOREACH(de, &dvrentries, de_global_link) {
if (de->de_sched_state != DVR_SCHEDULED) continue;
if (de->de_bcast) continue;
if (de->de_channel != e->channel) continue;
if (dvr_entry_fuzzy_match(de, e)) {