Skip to content

Commit

Permalink
DVR: Do not create new autorecs for disabled channels, fixes #3111
Browse files Browse the repository at this point in the history
  • Loading branch information
perexg committed Sep 25, 2015
1 parent a43541c commit d97d5f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dvr/dvr_autorec.c
Expand Up @@ -1134,6 +1134,8 @@ dvr_autorec_check_event(epg_broadcast_t *e)
{
dvr_autorec_entry_t *dae;

if (e->channel && !e->channel->ch_enabled)
return;
TAILQ_FOREACH(dae, &autorec_entries, dae_link)
if(autorec_cmp(dae, e))
dvr_entry_create_by_autorec(e, dae);
Expand Down

0 comments on commit d97d5f1

Please sign in to comment.