2016-03-23, 00:29
Is the daylight saving day on 21 march for your time zone ? It could explain the issue. But I don't know how kodi handles dates and duration of recording.
I checked the time handling in the addon itself for the daylight saving in my zone: 27th March, and the result is right as below:
<StartTs>2016-03-27T00:59:00Z</StartTs>
<EndTs>2016-03-27T02:02:00Z</EndTs>
duration: 3780
local start time: 2016-03-27T01:59:00 , local end time: 2016-03-27T04:02:00
For the addon side the duration is okay, even on daylight saving change. So probably the issue is how kodi handles local time. I haven't many time at the moment to have a look in kodi. So to have a chance to fix quickly this issue you should open a track ticket.
Edit: Next week I could have more time to have a look in kodi code about handling of time.
I checked the time handling in the addon itself for the daylight saving in my zone: 27th March, and the result is right as below:
<StartTs>2016-03-27T00:59:00Z</StartTs>
<EndTs>2016-03-27T02:02:00Z</EndTs>
duration: 3780
local start time: 2016-03-27T01:59:00 , local end time: 2016-03-27T04:02:00
For the addon side the duration is okay, even on daylight saving change. So probably the issue is how kodi handles local time. I haven't many time at the moment to have a look in kodi. So to have a chance to fix quickly this issue you should open a track ticket.
Edit: Next week I could have more time to have a look in kodi code about handling of time.