Project

General

Profile

Bug #4640 » 4640-extra-debug.patch

Em Smith, 2017-10-03 02:06

View differences:

src/dvr/dvr_db.c
1529 1529
     NOTE: Semantic duplicate detection is deferred to the start time of recording and then done using _dvr_duplicate_event by dvr_timer_start_recording. */
1530 1530
  LIST_FOREACH(de, &dvrentries, de_global_link) {
1531 1531
    if (de->de_bcast == e || (de->de_bcast && de->de_bcast->episode == e->episode))
1532
      if (strcmp(dae->dae_owner ?: "", de->de_owner ?: "") == 0)
1532
      if (strcmp(dae->dae_owner ?: "", de->de_owner ?: "") == 0) {
1533
        char estartbuf[64], destartbuf[64];
1534
        tvhinfo(LS_DVR, "Autorecord \"%s\": Not scheduling \"%s\" on channel \"%s\" because dup on \"%s\" start: %"PRId64 " and de start: %"PRId64 " (e: %s de: %s)",
1535
            dae->dae_name?:"", lang_str_get(e->episode->title, NULL), channel_get_name(e->channel, channel_blank_name), channel_get_name(de->de_channel, channel_blank_name), (int64_t)e->start, (int64_t)de->de_start, gmtime2local(e->start, estartbuf, sizeof estartbuf), gmtime2local(de->de_start, destartbuf, sizeof destartbuf));
1533 1536
        return;
1537
      }
1534 1538
  }
1535 1539

  
1536 1540
  /* Handle max schedules limit for autorrecord */
(2-2/5)