Bug #3362
DVR AutoRec Entries don't always record at specified time/day or may set up multiple recordings for the same program
0%
Description
This is another problem I've had for a few weeks now but never reported it before because I was running an older version (3.9 branch). A few days ago I did a complete reinstallation using Ubuntu Server 14.04 and HTS Tvheadend 4.0.7 (most current stable version) and find this problem still persists, in fact if anything it is worse in the new version. The issue is that if a station has multiple showings of the same program, Kodi will either want to record the wrong one (usually a later showing than the one you specified) or it will set up multiple recordings for the same show. In all cases these are NOT within the specified time.
For example I have one program set to record this way, only from one single channel:
Maximal Duration: Any
Minimal Duration: Any
Week Days: Tue
Start After: 19:45
Start Before: 21:15
Priority: Normal
DVR Configuration: (Default Profile)
Now my understanding is it should try to record that program ONLY if it starts on Tuesday between 19:45 and 21:15, and not at any other times. The program usually starts at 20:00 (8 PM) but there is a repeat showing at 23:00 (11 PM, outside the specified starting time range). Occasionally the program is delayed to show at 21:00 and then again at 00:00 (which is a different DAY) and TVHeadEnd will still sometimes pick the latter showing. Yet what frequently happens is the timer will set itself to record only the second showing at 23:00 OR sometimes it will even set itself to record both showings. This seems to be happening with increased frequency. I have looked at the guide data and the only differences between the two showings are the starting and ending times (which are correct) so I don't understand why this happens. There is a different program that has multiple showing throughout the week on the same channel, and I've seen TVHeadEnd set itself to record EVERY showing of that program, including ones on completely different days than the one specified, not just different times. I've tried changing the various settings and nothing I have found will make it automatically set the timer correctly, but I can set a manual timer for that show with no problem.
If a station only shows a program once a week then TVHeadEnd always records it at the correct time. It is only where the station has multiple showings on the same day or on other days during the week that TVHeadEnd seems to get confused. What I really don't understand is why it would record a program that's completely outside of the specified starting time range or that is not on the specified day, but this definitely appears to be a bug in the DVR AutroRec feature. Note this is not always repeatable; some weeks it is fine and records the correct showing and ONLY that showing, other weeks it does this, but it's definitely happening a lot more frequently since I upgraded TVHeadEnd to the current stable version.
History
Updated by Mark Clarkstone about 9 years ago
- Status changed from New to Need feedback
I've just done some test entries.
BBC News on Wednesday at 1.30am-6am I've set start after: 00:00 and start before 06.00 and it finds the correct programme.
Doctors on Wed,Thurs,Friday at 1.45pm-2.15pm I've set start after as 12.50pm and start before 3pm and it finds all programmes starting at 13.45 and nothing more..
And lastly BBC News any day any time after (start 6am but before 12am and it finds all programmes correctly.
Could you provide screenshots of the entry and the created entries?
Updated by Jaroslav Kysela about 9 years ago
Note that I fixed some mistakes regarding DVB EID (event id) checks in the development TVH tree (4.1/4.2) which may affect the DVR behaviour based on EPG updates (wrong detection of moved events etc.). There are no functional changes for 4.0. Please, retest with the latest 4.1 development code (if you like) or wait few weeks for the first 4.2 release.
Updated by Mark Clarkstone about 9 years ago
Jaroslav Kysela wrote:
Note that I fixed some mistakes regarding DVB EID (event id) checks in the development TVH tree (4.1/4.2) which may affect the DVR behaviour based on EPG updates (wrong detection of moved events etc.). There are no functional changes for 4.0. Please, retest with the latest 4.1 development code (if you like) or wait few weeks for the first 4.2 release.
Ah this would explain why it's working fine for me (I'm always using git master).
Updated by Bengt Madeberg about 9 years ago
Maybe the same issue
http://tvheadend.org/issues/3254
I guess the fixes are done after that version.
Updated by K Shea about 9 years ago
Given the above information I will wait for 4.2 and until then just check the problematic ones ahead of time and set a manual recording if necessary. Thanks much.