Bug #3362
openDVR 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.