New: Automatic search for missing episodes if RSS Sync hasn't been run recently

This commit is contained in:
Mark McDowall 2014-04-12 13:49:41 -07:00
parent 0f75a9008a
commit 192e79d2ff
6 changed files with 54 additions and 9 deletions

View file

@ -49,8 +49,15 @@ namespace NzbDrone.Core.Messaging.Commands
}
public void PublishCommand(string commandTypeName)
{
PublishCommand(commandTypeName, null);
}
public void PublishCommand(string commandTypeName, DateTime? lastExecutionTime)
{
dynamic command = GetCommand(commandTypeName);
command.LastExecutionTime = lastExecutionTime;
PublishCommand(command);
}