Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: htsp client gets informed twice on autorec add
  • Loading branch information
Glenn-1990 authored and perexg committed Nov 5, 2015
1 parent c05eda1 commit c2c80b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dvr/dvr_autorec.c
Expand Up @@ -400,6 +400,7 @@ dvr_autorec_entry_class_save(idnode_t *self)
dvr_autorec_entry_t *dae = (dvr_autorec_entry_t *)self;
dvr_autorec_save(dae);
dvr_autorec_changed(dae, 1);
htsp_autorec_entry_update(dae);
}

static void
Expand Down Expand Up @@ -1247,8 +1248,6 @@ dvr_autorec_changed(dvr_autorec_entry_t *dae, int purge)
}

free(disabled);

htsp_autorec_entry_update(dae);
}


Expand Down

0 comments on commit c2c80b7

Please sign in to comment.