Permalink
Browse files

Minor bug fix - see https://forum.team-mediaportal.com/threads/tv-ser…

  • Loading branch information...
owlsroost committed Jan 3, 2019
1 parent 957dea0 commit 3f1152cf1b48ad40499dc767cb24a9c75db94794
Showing with 2 additions and 2 deletions.
  1. +2 −2 TvEngine3/TVLibrary/Plugins/PowerScheduler/Handlers/XmlTvImportWakeupHandler.cs
@@ -88,12 +88,12 @@ public DateTime GetNextWakeupTime(DateTime earliestWakeupTime)

if ((now < remoteScheduleTime) && (remoteScheduleTime > DateTime.MinValue))
{
remoteScheduleTime.AddDays(1);
remoteScheduleTime = remoteScheduleTime.AddDays(1);
}

Log.Debug(this._handlerName + ".GetNextWakeupTime {0}", remoteScheduleTime);

remoteScheduleTime.AddMinutes(-1); // resume 60sec before
remoteScheduleTime = remoteScheduleTime.AddMinutes(-1); // resume 60sec before

return remoteScheduleTime;
}

0 comments on commit 3f1152c

Please sign in to comment.