dvr: ensure unlinked entry updates are properly handled
previously it updated things that were already linked and also on different channels entirely.
This commit is contained in:
parent
aac905c184
commit
6c6e0541be
1 changed files with 2 additions and 0 deletions
|
@ -828,6 +828,8 @@ 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_bcast) continue;
|
||||
if (de->de_channel != e->channel) continue;
|
||||
if (dvr_entry_fuzzy_match(de, e)) {
|
||||
e->getref(e);
|
||||
de->de_bcast = e;
|
||||
|
|
Loading…
Add table
Reference in a new issue