2014-09-13, 10:13 PM
Sub, I am trying to extend the end time of a recording dynamically but something is going wrong, any ideas?
Martin
Code:
5:58 PM
LivePvrData.Data.Net.Responses.StatusResponse [Title=College Football, Status=14:05 2nd Qtr, IsValid=True, IsActive=True, IsComplete=False, IsError=False, ]
STATUS_IN_PROGRESS
13/09/2014 6:00:00 PM
(here my code says that the game is still on so don't end at 6)
schd.EndTime = schd.EndTime.AddMinutes(2);
schd.Save();
5:59 PM
LivePvrData.Data.Net.Responses.StatusResponse [Title=College Football, Status=14:05 2nd Qtr, IsValid=True, IsActive=True, IsComplete=False, IsError=False, ]
STATUS_IN_PROGRESS
13/09/2014 6:02:00 PM
(good Console.WriteLine(schd.EndTime.ToLocalTime()) shows the new end time)
6:00 PM
LivePvrData.Data.Net.Responses.StatusResponse [Title=College Football, Status=14:05 2nd Qtr, IsValid=True, IsActive=True, IsComplete=False, IsError=False, ]
STATUS_COMPLETED
13/09/2014 6:01:00 PM
6:01 PM
(but it still end at 6:01 with my one minute of padding)
Martin