Project

General

Profile

Bug #1702

Automatic Recorder Only Picks Up One Occurrence of a Programme

Added by Prof Yaffle over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2013-04-19
Due date:
% Done:

0%

Estimated time:
Found in version:
3.5.97~g4670400
Affected Versions:

Description

I suspect that this is related to an issue that Adam bludgeoned a workaround for, in which you couldn't manually add two recordings of the same programme.

Here's the precis: I'm recording Suits on Dave (UK) each week for my wife. She really, really won't be happy if I miss it - so I record a couple of different broadcasts, just to be sure (I'm still getting over past problems with dodgy tuners :) ).

I have an autorec rule like this: Enabled, "Suits", on Dave, on Thursdays.

That creates an autorec file like this:

hts@Server:~/.hts/tvheadend/autorec$ more 1
{
        "id": "1",
        "enabled": 1,
        "creator": "xbmc",
        "comment": "Created from EPG query",
        "channel": "Dave",
        "contenttype": 0,
        "title": "Suits",
        "approx_time": 0,
        "weekdays": "4",
        "pri": "normal" 
}

All good - except it only picks up the 21:00 transmission. There's another one at 23:40 which it doesn't match.

I can add the second instance manually, so it's not the end of the world, but something's not working correctly. Series link isn't enabled yet it appears that it's suppressing the second broadcast because I already have that episode (perhaps).

EPG grabbers enabled are Open TV: Sky UK, UK: Freeview, UK: Freesat and EIT: DVB Grabber, if that's relevant.

OS is Ubuntu Precise with an updated kernel:

Linux Server 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

... although it happens on my other boxes as well.

Tuners are varied - it happens on my DVB-T2 and -T tuners on different systems.

History

#1

Updated by Prof Yaffle over 11 years ago

Edit:

FIW, tuners are:

  • a DiBcom 7000PC Win-Nova-T DVB-T USB stick and
  • a Sony CXD2820R PCTV 290e DVB-T2 USB stick
#2

Updated by Adam Sutton over 11 years ago

  • Status changed from New to Accepted

Weird! I can actually repeat this, but only for Dave, not Dave HD!

What the heck is going on there! I'll take a look.

Adam

#3

Updated by Adam Sutton over 11 years ago

  • Status changed from Accepted to Rejected

Hmmm, well ok, no idea why it records both on HD (dodgy EPG data maybe).

But this is actually correct behaviour, autorec will not record duplicates of the same show and this is a repeat (I've checked the sky TV guide to be sure). The dup detection in this case is being done based on the broadcaster ID (I don't do pseudo dup detection anymore).

I completely missed that point in your initial report.

The only way to stop this at the moment would be to override the dup detection in code (when I finally get around to redoing the DVR stuff I'll make sure this is configurable).

Edit src/dvr/dvr_db.c dvr_entry_create_by_autorec(epg_broadcast_t *e, dvr_autorec_entry_t *dae)
and remove the line:

if (_dvr_duplicate_event(e)) return;

Adam

#4

Updated by Prof Yaffle over 11 years ago

All-righty - I can live with that if it's functionality as specified - thanks for the quick response. Yes, it's definitely a repeat, that's the intention

Looks like there's a problem on Dave HD, though, then :-)

Cheers, Adam. Thanks for all the continued work on tvheadend.

Also available in: Atom PDF