Converted jobs to dynamic

This commit is contained in:
Mark McDowall
2012-09-10 12:04:17 -07:00
parent 93402f4932
commit a4dde81ceb
42 changed files with 166 additions and 170 deletions

View File

@@ -36,14 +36,14 @@ namespace NzbDrone.Core.Jobs
get { return TimeSpan.FromTicks(0); }
}
public void Start(ProgressNotification notification, int targetId, int secondaryTargetId)
public void Start(ProgressNotification notification, dynamic options)
{
var missingEpisodes = GetMissingForEnabledSeries();
Logger.Debug("Processing missing episodes from the past week, count: {0}", missingEpisodes.Count);
foreach (var episode in missingEpisodes)
{
_episodeSearchJob.Start(notification, episode.EpisodeId, 0);
_episodeSearchJob.Start(notification, new { EpisodeId = episode.EpisodeId });
}
}