Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvr autorec: handle filter rules also for series autorecs
  • Loading branch information
perexg committed Jan 16, 2015
1 parent fc57f52 commit a65f617
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/dvr/dvr_autorec.c
Expand Up @@ -88,12 +88,12 @@ autorec_cmp(dvr_autorec_entry_t *dae, epg_broadcast_t *e)
// if configured
if(dae->dae_serieslink) {
if (!e->serieslink || dae->dae_serieslink != e->serieslink) return 0;
return 1;
} else {
if(dae->dae_season)
if (!e->episode->season || dae->dae_season != e->episode->season) return 0;
if(dae->dae_brand)
if (!e->episode->brand || dae->dae_brand != e->episode->brand) return 0;
}
if(dae->dae_season)
if (!e->episode->season || dae->dae_season != e->episode->season) return 0;
if(dae->dae_brand)
if (!e->episode->brand || dae->dae_brand != e->episode->brand) return 0;
if(dae->dae_title != NULL && dae->dae_title[0] != '\0') {
lang_str_ele_t *ls;
if(!e->episode->title) return 0;
Expand Down

0 comments on commit a65f617

Please sign in to comment.