automatic recordings after EPG update
I have only one rule in automatic recorder - .* ... that means, I am recording everything. Yes I am crazy But this works fine.
The problem is that some channels update EPG data frequently, shifting the start of many programs by 2 minutes or 5 minutes or so. And automatic recorder records them all - that means, if a program was scheduled in EPG to start on 14:50, and then rescheduled by EPG to start on 14:55, it records it twice - one recording starts at 14:50 and the other starts at 14:55. Sometimes when rescheduling happens several times, it records one program 4 times or more, and I can find recordings in files ending with -1.ts, -2.ts, -3.ts, etc.
Is this an issue in tvheadend? I would expect it to delete rescheduled recordings before it sets new ones, if they overlap. Can I set any setting in tvheadend to skip overlapped recordings of the same name? Is this a bug?
Updated by Tomas Matejicek over 7 years ago
One more addition: this seems to be similar like Bug #179
which was fixed by adding dvr_entry_find_by_event_fuzzy() - this function should say if the new EPG info is within plus/minus 10 minutes range of any existing entry and only update the existing one instead of adding new.
One example recording is following:
firstly added to scheduler:
Secondly added to scheduler as:
So it is in the range plus/minus 600 seconds, and should be UPDATED instead of duplicitly ADDED ... strange
Updated by Tomas Matejicek almost 7 years ago
I'm here again to report the problem still exists.
If tvheadend has some recording scheduled, and then the program is rescheduled in EPG (just say 2 minutes later), it stores it as ANOTHER recording (this is wrong). Even if the program ID is the same! For example:
old recording has:
newly scheduled recording has:
And the program is recorded twice. This is wrong.
I noticed that in /home/hts/.hts/tvheadend/dvr/log/* the files for both recordings are identical, with the exception of the value of "broadcast". I'm not sure what this is, however I believe there is a bug in tvheadend, all my recordings are recorded twice since our EPG suffers frequent reschedules.
Is there any chance to get this fixed?