Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: autorec - add another missing changed/completed calls
  • Loading branch information
perexg committed Mar 6, 2016
1 parent dfbd632 commit 3bce782
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/dvr/dvr_autorec.c
Expand Up @@ -310,8 +310,11 @@ dvr_autorec_create_htsp(htsmsg_t *conf)
dae = dvr_autorec_create(NULL, conf);
htsmsg_destroy(conf);

if (dae)
if (dae) {
dvr_autorec_changed(dae, 0);
dvr_autorec_completed(dae, 0);
idnode_changed(&dae->dae_id);
}

return dae;
}
Expand Down Expand Up @@ -353,6 +356,10 @@ dvr_autorec_add_series_link(const char *dvr_config_name,
htsmsg_add_str(conf, "comment", comment ?: "");
dae = dvr_autorec_create(NULL, conf);
htsmsg_destroy(conf);
if (dae) {
dvr_autorec_changed(dae, 0);
dvr_autorec_completed(dae, 0);
}
return dae;
}

Expand Down

0 comments on commit 3bce782

Please sign in to comment.