Hi
I think i found a bug in the XmlTvImportWakeupHandler.cs.
GetNextWakeupTime has a bug, that prevents the WakeupHandler to set the right date.
What we want is to add a day to remoteScheduleTime if we are past the time of Scheduletime. Instead we try to add a day if we are not..
and the code to add the day does nothing.
With this code I can now get my xml imported at 3am.
Regards
SuneDane
I think i found a bug in the XmlTvImportWakeupHandler.cs.
GetNextWakeupTime has a bug, that prevents the WakeupHandler to set the right date.
Code:
if ((now < remoteScheduleTime) && (remoteScheduleTime > DateTime.MinValue))
{
remoteScheduleTime.AddDays(1);
}
What we want is to add a day to remoteScheduleTime if we are past the time of Scheduletime. Instead we try to add a day if we are not..
and the code to add the day does nothing.
Code:
if ((now > remoteScheduleTime) && (remoteScheduleTime > DateTime.MinValue))
{
remoteScheduleTime = remoteScheduleTime.AddDays(1);
}
With this code I can now get my xml imported at 3am.
Regards
SuneDane
Denmark