Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: if rerecord is already queued, do not try to rerecord multiple t…
…imes
  • Loading branch information
perexg committed Dec 9, 2015
1 parent b8f5ca4 commit e67669f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/dvr/dvr_db.c
Expand Up @@ -1041,8 +1041,13 @@ dvr_entry_rerecord(dvr_entry_t *de)
de->de_owner, de->de_creator, NULL,
de->de_pri, de->de_retention, de->de_removal,
buf);
if (de2)
if (de2) {
dvr_entry_change_parent_child(de, de2, NULL, 1);
} else {
/* we have already queued similar recordings, mark as resolved */
de->de_dont_rerecord = 1;
dvr_entry_save(de);
}

return 0;
}
Expand Down

0 comments on commit e67669f

Please sign in to comment.