Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: add user check when the autorec entry is created
  • Loading branch information
perexg committed May 19, 2016
1 parent 4de83ec commit c514879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dvr/dvr_db.c
Expand Up @@ -1259,7 +1259,8 @@ dvr_entry_create_by_autorec(int enabled, epg_broadcast_t *e, dvr_autorec_entry_t
NOTE: Semantic duplicate detection is deferred to the start time of recording and then done using _dvr_duplicate_event by dvr_timer_start_recording. */
LIST_FOREACH(de, &dvrentries, de_global_link) {
if (de->de_bcast == e || (de->de_bcast && de->de_bcast->episode == e->episode))
return;
if (strcmp(dae->dae_owner ?: "", de->de_owner ?: "") == 0)
return;
}

/* Handle max schedules limit for autorrecord */
Expand Down

0 comments on commit c514879

Please sign in to comment.